Update kebab case elasticsearch_username secret

This commit is contained in:
Max Harley
2024-03-19 18:59:15 -04:00
parent 8a63212251
commit 8147abb3ff
@@ -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 }}
elasticsearch-password: {{ $password | quote }}