Update curator for es v8
This PS is to update es curator for elasticsearch v8. Curator 5.x is not compatible with es v8. Changes are needed for config.yml: https://github.com/elastic/curator#new-client-configuration No changes are required for the actions file. Change-Id: I6968e22c7ae5f630e1342f47feee0c2c494b767f
This commit is contained in:
parent
426c71f753
commit
7167b9bf31
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v8.9.0
|
appVersion: v8.9.0
|
||||||
description: OpenStack-Helm ElasticSearch
|
description: OpenStack-Helm ElasticSearch
|
||||||
name: elasticsearch
|
name: elasticsearch
|
||||||
version: 0.2.29
|
version: 0.2.30
|
||||||
home: https://www.elastic.co/
|
home: https://www.elastic.co/
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/elastic/elasticsearch
|
- https://github.com/elastic/elasticsearch
|
||||||
|
@ -58,11 +58,21 @@ spec:
|
|||||||
command:
|
command:
|
||||||
- /tmp/curator.sh
|
- /tmp/curator.sh
|
||||||
env:
|
env:
|
||||||
- name: ELASTICSEARCH_HOST
|
- name: ELASTICSEARCH_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ $esUserSecret }}
|
name: {{ $esUserSecret }}
|
||||||
key: ELASTICSEARCH_URI
|
key: ELASTICSEARCH_USERNAME
|
||||||
|
- name: ELASTICSEARCH_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ $esUserSecret }}
|
||||||
|
key: ELASTICSEARCH_PASSWORD
|
||||||
|
- name: ELASTICSEARCH_URL
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ $esUserSecret }}
|
||||||
|
key: ELASTICSEARCH_URL
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp
|
||||||
|
@ -21,6 +21,7 @@ limitations under the License.
|
|||||||
{{- $elasticsearch_host := tuple "elasticsearch" "internal" "http" $envAll | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" }}
|
{{- $elasticsearch_host := tuple "elasticsearch" "internal" "http" $envAll | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" }}
|
||||||
{{- $elasticsearch_scheme := tuple "elasticsearch" "internal" "api" $envAll | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" }}
|
{{- $elasticsearch_scheme := tuple "elasticsearch" "internal" "api" $envAll | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" }}
|
||||||
{{- $elasticsearch_uri := printf "%s://%s:%s@%s" $elasticsearch_scheme $elasticsearch_user $elasticsearch_password $elasticsearch_host }}
|
{{- $elasticsearch_uri := printf "%s://%s:%s@%s" $elasticsearch_scheme $elasticsearch_user $elasticsearch_password $elasticsearch_host }}
|
||||||
|
{{- $elasticsearch_url := printf "%s://%s" $elasticsearch_scheme $elasticsearch_host }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
@ -33,6 +34,7 @@ data:
|
|||||||
ELASTICSEARCH_LOGGING_USERNAME: {{ .Values.endpoints.elasticsearch.auth.logging.username | b64enc }}
|
ELASTICSEARCH_LOGGING_USERNAME: {{ .Values.endpoints.elasticsearch.auth.logging.username | b64enc }}
|
||||||
ELASTICSEARCH_LOGGING_PASSWORD: {{ .Values.endpoints.elasticsearch.auth.logging.password | b64enc }}
|
ELASTICSEARCH_LOGGING_PASSWORD: {{ .Values.endpoints.elasticsearch.auth.logging.password | b64enc }}
|
||||||
ELASTICSEARCH_URI: {{ $elasticsearch_uri | b64enc }}
|
ELASTICSEARCH_URI: {{ $elasticsearch_uri | b64enc }}
|
||||||
|
ELASTICSEARCH_URL: {{ $elasticsearch_url | b64enc }}
|
||||||
BIND_DN: {{ .Values.endpoints.ldap.auth.admin.bind | b64enc }}
|
BIND_DN: {{ .Values.endpoints.ldap.auth.admin.bind | b64enc }}
|
||||||
BIND_PASSWORD: {{ .Values.endpoints.ldap.auth.admin.password | b64enc }}
|
BIND_PASSWORD: {{ .Values.endpoints.ldap.auth.admin.password | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -20,7 +20,7 @@ images:
|
|||||||
apache_proxy: docker.io/library/httpd:2.4
|
apache_proxy: docker.io/library/httpd:2.4
|
||||||
memory_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
|
memory_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
|
||||||
elasticsearch: docker.io/openstackhelm/elasticsearch-s3:latest-8_9_0
|
elasticsearch: docker.io/openstackhelm/elasticsearch-s3:latest-8_9_0
|
||||||
curator: docker.io/bobrik/curator:5.8.1
|
curator: docker.io/untergeek/curator:8.0.8
|
||||||
ceph_key_placement: docker.io/openstackhelm/ceph-config-helper:ubuntu_focal_18.2.0-1-20231013
|
ceph_key_placement: docker.io/openstackhelm/ceph-config-helper:ubuntu_focal_18.2.0-1-20231013
|
||||||
s3_bucket: docker.io/openstackhelm/ceph-daemon:ubuntu_focal_18.2.0-1-20231013
|
s3_bucket: docker.io/openstackhelm/ceph-daemon:ubuntu_focal_18.2.0-1-20231013
|
||||||
s3_user: docker.io/openstackhelm/ceph-config-helper:ubuntu_focal_18.2.0-1-20231013
|
s3_user: docker.io/openstackhelm/ceph-config-helper:ubuntu_focal_18.2.0-1-20231013
|
||||||
@ -595,7 +595,7 @@ conf:
|
|||||||
ceph:
|
ceph:
|
||||||
admin_keyring: null
|
admin_keyring: null
|
||||||
curator:
|
curator:
|
||||||
executable: /usr/bin/curator
|
executable: /curator/curator
|
||||||
action_file: {}
|
action_file: {}
|
||||||
# Remember, leave a key empty if there is no value. None will be a string,
|
# Remember, leave a key empty if there is no value. None will be a string,
|
||||||
# not a Python "NoneType"
|
# not a Python "NoneType"
|
||||||
@ -694,12 +694,14 @@ conf:
|
|||||||
config:
|
config:
|
||||||
# Remember, leave a key empty if there is no value. None will be a string,
|
# Remember, leave a key empty if there is no value. None will be a string,
|
||||||
# not a Python "NoneType"
|
# not a Python "NoneType"
|
||||||
client:
|
elasticsearch:
|
||||||
hosts:
|
client:
|
||||||
- ${ELASTICSEARCH_HOST}
|
hosts: ${ELASTICSEARCH_URL}
|
||||||
use_ssl: False
|
request_timeout: 60
|
||||||
ssl_no_validate: False
|
other_settings:
|
||||||
timeout: 60
|
username: ${ELASTICSEARCH_USERNAME}
|
||||||
|
password: ${ELASTICSEARCH_PASSWORD}
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
loglevel: INFO
|
loglevel: INFO
|
||||||
logformat: logstash
|
logformat: logstash
|
||||||
|
@ -39,4 +39,5 @@ elasticsearch:
|
|||||||
- 0.2.27 Update Rook to 1.12.5 and Ceph to 18.2.0
|
- 0.2.27 Update Rook to 1.12.5 and Ceph to 18.2.0
|
||||||
- 0.2.28 Utilize bucket claim CRD when using with Rook
|
- 0.2.28 Utilize bucket claim CRD when using with Rook
|
||||||
- 0.2.29 Make es curator path configurable
|
- 0.2.29 Make es curator path configurable
|
||||||
|
- 0.2.30 Update curator for es v8
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user