diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml index 14c37e54..2f33800b 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml @@ -107,11 +107,11 @@ spec: key: {{ $key | snakecase | upper }} {{- end }} # inject from secret created by FreeleapsSecret object - {{- range .Values.secrets.data }} + {{- range .Values.authentication.secrets.data }} - name: {{ .key | snakecase | upper }} valueFrom: secretKeyRef: - name: {{ .Values.secrets.target.name }} + name: {{ .Values.authentication.secrets.target.name }} key: {{ .key }} {{- end }} {{- if .Values.logIngest.enabled }} diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/freeleapssecret.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/freeleapssecret.yaml index 7de96369..0b6aacc0 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/freeleapssecret.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/freeleapssecret.yaml @@ -5,14 +5,14 @@ metadata: namespace: {{ .Release.Namespace }} spec: secretStoreRef: - kind: {{ .Values.secrets.secretStoreRef.kind }} - name: {{ .Values.secrets.secretStoreRef.name }} + kind: {{ .Values.authentication.secrets.secretStoreRef.kind }} + name: {{ .Values.authentication.secrets.secretStoreRef.name }} target: - name: {{ .Values.secrets.target.name }} - creationPolicy: {{ .Values.secrets.target.creationPolicy }} - refreshInterval: {{ .Values.secrets.refreshInterval }} + name: {{ .Values.authentication.secrets.target.name }} + creationPolicy: {{ .Values.authentication.secrets.target.creationPolicy }} + refreshInterval: {{ .Values.authentication.secrets.refreshInterval }} data: -{{- range .Values.secrets.data }} +{{- range .Values.authentication.secrets.data }} - key: {{ .key }} remoteRef: key: {{ .remoteRef.key }}