diff --git a/charts/wazuh/Chart.yaml b/charts/wazuh/Chart.yaml index 6d90325..4690fc2 100644 --- a/charts/wazuh/Chart.yaml +++ b/charts/wazuh/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.2 +version: 1.2.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/wazuh/configs/indexer_conf/opensearch.yml b/charts/wazuh/configs/indexer_conf/opensearch.yml index b7334bd..28ca19b 100644 --- a/charts/wazuh/configs/indexer_conf/opensearch.yml +++ b/charts/wazuh/configs/indexer_conf/opensearch.yml @@ -18,7 +18,7 @@ plugins.security.ssl.http.enabled: ${HTTP_SSL_ENABLED} plugins.security.ssl.transport.enforce_hostname_verification: false plugins.security.ssl.transport.resolve_hostname: false plugins.security.authcz.admin_dn: - - CN=admin,O=Company,L=California,C=US + - ${SECURITY_AUTHCZ_ADMIN_DN} plugins.security.check_snapshot_restore_write_privileges: true plugins.security.enable_snapshot_restore_privilege: true plugins.security.nodes_dn: diff --git a/charts/wazuh/templates/indexer/indexer-sts.yaml b/charts/wazuh/templates/indexer/indexer-sts.yaml index 856fa52..f9392a1 100644 --- a/charts/wazuh/templates/indexer/indexer-sts.yaml +++ b/charts/wazuh/templates/indexer/indexer-sts.yaml @@ -75,6 +75,8 @@ spec: fieldPath: metadata.name - name: DISCOVERY_SERVICE value: {{ include "wazuh.fullname" . }}-indexer + - name: SECURITY_AUTHCZ_ADMIN_DN + value: {{ .Values.tls.certManager.commonName }} - name: KUBERNETES_NAMESPACE valueFrom: fieldRef: