From 8147abb3ffbe41eb4dfcbcd00bada58e015c7477 Mon Sep 17 00:00:00 2001 From: Max Harley Date: Tue, 19 Mar 2024 18:59:15 -0400 Subject: [PATCH] Update kebab case elasticsearch_username secret --- helm/monitoring/templates/fluentd.resources.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helm/monitoring/templates/fluentd.resources.yaml b/helm/monitoring/templates/fluentd.resources.yaml index e9116bb..0b3fd23 100644 --- a/helm/monitoring/templates/fluentd.resources.yaml +++ b/helm/monitoring/templates/fluentd.resources.yaml @@ -85,7 +85,7 @@ spec: valueFrom: secretKeyRef: name: fluentd-creds - key: elasticsearch_username + key: elasticsearch-username - name: FLUENT_ELASTICSEARCH_PASSWORD valueFrom: secretKeyRef: @@ -112,7 +112,7 @@ spec: valueFrom: secretKeyRef: name: fluentd-creds - key: elasticsearch_username + key: elasticsearch-username - name: FLUENT_ELASTICSEARCH_PASSWORD valueFrom: secretKeyRef: @@ -144,7 +144,7 @@ data: {{- $existingSecret := (lookup "v1" "Secret" .Release.Namespace "elasticsearch-users") | default dict }} {{- $existingSecretData := (get $existingSecret "data") | default dict }} {{- $username := (get $existingSecretData "username") }} - elasticsearch_username: {{ $username | quote }} + elasticsearch-username: {{ $username | quote }} {{- $password := (get $existingSecretData "password") }} - elasticsearch_password: {{ $password | quote }} \ No newline at end of file + elasticsearch-password: {{ $password | quote }} \ No newline at end of file