Skip to content

Commit

Permalink
Merge pull request #2 from small-hack/fix-existing-secrets
Browse files Browse the repository at this point in the history
Fix existing secrets
jessebot authored Nov 11, 2024
2 parents 8961d53 + 8f0af87 commit ced8769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/libretranslate/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -116,7 +116,7 @@ spec:
{{- else }}
secretKeyRef:
name: {{ .Values.appSettings.existingSecret }}
key: {{ .Values.appSettings.secretKeys.origin }}
key: {{ .Values.appSettings.secretKeys.apiKeyorigin }}
{{- end }}
{{- end }}
{{- if and .Values.appSettings.requireApiKeySecret .Values.appSettings.existingSecret }}
@@ -129,7 +129,7 @@ spec:
{{- else }}
secretKeyRef:
name: {{ .Values.appSettings.existingSecret }}
key: {{ .Values.appSettings.secretKeys.secret }}
key: {{ .Values.appSettings.secretKeys.apiKeysecret }}
{{- end }}
{{- end }}
{{- if and (.Values.appSettings.suggestions) (ne .Values.appSettings.suggestions "") }}

0 comments on commit ced8769

Please sign in to comment.