From 142e6c893e46ff3b4d425fa910cce0c378577111 Mon Sep 17 00:00:00 2001 From: jessebot Date: Mon, 11 Nov 2024 02:34:18 +0100 Subject: [PATCH 1/2] fix secret key refs for api stuff --- charts/libretranslate/templates/statefulset.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/libretranslate/templates/statefulset.yaml b/charts/libretranslate/templates/statefulset.yaml index 268a902..b044f9d 100644 --- a/charts/libretranslate/templates/statefulset.yaml +++ b/charts/libretranslate/templates/statefulset.yaml @@ -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 "") }} From 8f0af877706af5a4f9d99801a26556974e0018d3 Mon Sep 17 00:00:00 2001 From: jessebot Date: Mon, 11 Nov 2024 02:36:05 +0100 Subject: [PATCH 2/2] bump chart --- charts/libretranslate/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/libretranslate/Chart.yaml b/charts/libretranslate/Chart.yaml index 2c413b6..e1a0d73 100644 --- a/charts/libretranslate/Chart.yaml +++ b/charts/libretranslate/Chart.yaml @@ -6,4 +6,4 @@ sources: - https://github.com/LibreTranslate/LibreTranslate/ - https://github.com/LibreTranslate/helm-chart/ icon: https://libretranslate.com/static/favicon.ico -version: 0.2.0 \ No newline at end of file +version: 0.2.1