From 4551e12d82362e70cc2dd97dab8fe80eef06ad75 Mon Sep 17 00:00:00 2001 From: Caio Almeida Date: Tue, 29 Jun 2021 10:41:41 -0300 Subject: [PATCH] Uses template function to generate sa name Signed-off-by: Caio Almeida bump chart version --- helm/oauth2-proxy/Chart.yaml | 2 +- helm/oauth2-proxy/templates/serviceaccount.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index b326304d..3f42215b 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 4.0.1 +version: 4.0.2 apiVersion: v2 appVersion: 7.1.3 home: https://oauth2-proxy.github.io/oauth2-proxy/ diff --git a/helm/oauth2-proxy/templates/serviceaccount.yaml b/helm/oauth2-proxy/templates/serviceaccount.yaml index d3afa68b..a534666f 100644 --- a/helm/oauth2-proxy/templates/serviceaccount.yaml +++ b/helm/oauth2-proxy/templates/serviceaccount.yaml @@ -11,5 +11,5 @@ metadata: chart: {{ template "oauth2-proxy.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} - name: {{ template "oauth2-proxy.fullname" . }} + name: {{ template "oauth2-proxy.serviceAccountName" . }} {{- end -}}