diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index efdda9e9..f7b20cc2 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 10.4.2 +version: 10.4.3 apiVersion: v2 appVersion: 7.15.1 home: https://oauth2-proxy.github.io/oauth2-proxy/ @@ -31,7 +31,7 @@ kubeVersion: ">=1.16.0-0" annotations: artifacthub.io/changes: | - kind: changed - description: Bump OAuth2 Proxy image to v7.15.1 + description: feat: support templating in extraInitContainers links: - name: GitHub PR - url: https://github.com/oauth2-proxy/manifests/pull/403 + url: https://github.com/oauth2-proxy/manifests/pull/399 diff --git a/helm/oauth2-proxy/templates/deployment.yaml b/helm/oauth2-proxy/templates/deployment.yaml index 4ce265cd..d9b7bbef 100644 --- a/helm/oauth2-proxy/templates/deployment.yaml +++ b/helm/oauth2-proxy/templates/deployment.yaml @@ -69,7 +69,7 @@ spec: {{- if or (and $redisEnabled .Values.initContainers.waitForRedis.enabled) .Values.extraInitContainers }} initContainers: {{- if .Values.extraInitContainers }} - {{- toYaml .Values.extraInitContainers | nindent 6 }} + {{- tpl (toYaml .Values.extraInitContainers) . | nindent 6 }} {{- end }} {{- if and $redisEnabled .Values.initContainers.waitForRedis.enabled }} - name: wait-for-redis