Skip to content

Commit

Permalink
fix google service-account.json secret generation (#65)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
maxlaverse authored Nov 17, 2021
1 parent 61716bd commit acb4190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/templates/google-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

0 comments on commit acb4190

Please sign in to comment.