From acb4190475c6d4c17c2d7edda4b3437f5a9caa66 Mon Sep 17 00:00:00 2001 From: Maxime Lagresle Date: Wed, 17 Nov 2021 03:30:58 -0800 Subject: [PATCH] fix google service-account.json secret generation (#65) * fix google service-account.json secret generation * bump chart version to 5.0.3 * base64 encode the secret value as expected by k8s * bump chart version to 5.0.4 --- helm/oauth2-proxy/Chart.yaml | 2 +- helm/oauth2-proxy/templates/google-secret.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 7de98c56..8954ce85 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 5.0.3 +version: 5.0.4 apiVersion: v2 appVersion: 7.2.0 home: https://oauth2-proxy.github.io/oauth2-proxy/ diff --git a/helm/oauth2-proxy/templates/google-secret.yaml b/helm/oauth2-proxy/templates/google-secret.yaml index 73238e0b..80636c77 100644 --- a/helm/oauth2-proxy/templates/google-secret.yaml +++ b/helm/oauth2-proxy/templates/google-secret.yaml @@ -8,5 +8,5 @@ metadata: name: {{ template "oauth2-proxy.fullname" . }}-google type: Opaque data: - service-account.json: {{ .serviceAccountJson }} + service-account.json: {{ .Values.config.google.serviceAccountJson | b64enc | quote }} {{- end -}}