Skip to content

Commit

Permalink
fix(follow-up): correct existingSecretKey for connectors inbound auth
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid committed Sep 8, 2024
1 parent f9464b8 commit 712ea6a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ include "connectors.authCredentialsSecretName" . }}
key: {{ .Values.global.identity.auth.connectors.existingSecretKey }}
key: {{ .Values.connectors.inbound.auth.existingSecretKey }}
{{- end }}
{{- if .Values.global.identity.auth.enabled }}
{{- if eq .Values.connectors.inbound.mode "oauth" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ include "connectors.authCredentialsSecretName" . }}
key: {{ .Values.global.identity.auth.connectors.existingSecretKey }}
key: {{ .Values.connectors.inbound.auth.existingSecretKey }}
{{- end }}
{{- if .Values.global.identity.auth.enabled }}
{{- if eq .Values.connectors.inbound.mode "oauth" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ include "connectors.authCredentialsSecretName" . }}
key: {{ .Values.global.identity.auth.connectors.existingSecretKey }}
key: {{ .Values.connectors.inbound.auth.existingSecretKey }}
{{- end }}
{{- if .Values.global.identity.auth.enabled }}
{{- if eq .Values.connectors.inbound.mode "oauth" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ metadata:
labels: {{- include "connectors.labels" . | nindent 4 }}
type: Opaque
data:
connectors-secret: {{ include "common.secrets.passwords.manage" (dict "secret" $secretName "key" "connectors-secret" "length" 10 "providedValues" (list "connectors.inbound.auth.existingSecret") "context" $) }}
{{ .Values.connectors.inbound.auth.existingSecretKey }}: {{ include "common.secrets.passwords.manage" (dict "secret" $secretName "key" .Values.connectors.inbound.auth.existingSecretKey "length" 10 "providedValues" (list "connectors.inbound.auth.existingSecret") "context" $) }}
{{- end }}

0 comments on commit 712ea6a

Please sign in to comment.