Skip to content

Commit fd776f9

Browse files
authored
[wazuh](indexer.sts): fix security authcz admin_dn (#76)
1 parent d539d64 commit fd776f9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

charts/wazuh/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.2.2
18+
version: 1.2.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/wazuh/configs/indexer_conf/opensearch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins.security.ssl.http.enabled: ${HTTP_SSL_ENABLED}
1818
plugins.security.ssl.transport.enforce_hostname_verification: false
1919
plugins.security.ssl.transport.resolve_hostname: false
2020
plugins.security.authcz.admin_dn:
21-
- CN=admin,O=Company,L=California,C=US
21+
- ${SECURITY_AUTHCZ_ADMIN_DN}
2222
plugins.security.check_snapshot_restore_write_privileges: true
2323
plugins.security.enable_snapshot_restore_privilege: true
2424
plugins.security.nodes_dn:

charts/wazuh/templates/indexer/indexer-sts.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ spec:
7575
fieldPath: metadata.name
7676
- name: DISCOVERY_SERVICE
7777
value: {{ include "wazuh.fullname" . }}-indexer
78+
- name: SECURITY_AUTHCZ_ADMIN_DN
79+
value: {{ .Values.tls.certManager.commonName }}
7880
- name: KUBERNETES_NAMESPACE
7981
valueFrom:
8082
fieldRef:

0 commit comments

Comments
 (0)