From ba6d0ee4ceff198aa010dcaf6945deb5e10fe28c Mon Sep 17 00:00:00 2001 From: Pierluigi Lenoci Date: Fri, 31 May 2024 12:56:37 +0200 Subject: [PATCH] fixed chart inconsistencies --- helm/oauth2-proxy/Chart.yaml | 8 ++++---- helm/oauth2-proxy/templates/deployment.yaml | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 6b601e2..a1d69b6 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 7.7.0 +version: 7.7.1 apiVersion: v2 appVersion: 7.6.0 home: https://oauth2-proxy.github.io/oauth2-proxy/ @@ -34,8 +34,8 @@ maintainers: kubeVersion: ">=1.9.0-0" annotations: artifacthub.io/changes: | - - kind: added - description: option to configure traffic policy for the service + - kind: fixed + description: fixed chart inconsistencies links: - name: Github PR - url: https://github.com/oauth2-proxy/manifests/pull/190 + url: https://github.com/oauth2-proxy/manifests/pull/212 diff --git a/helm/oauth2-proxy/templates/deployment.yaml b/helm/oauth2-proxy/templates/deployment.yaml index af1f30e..962b259 100644 --- a/helm/oauth2-proxy/templates/deployment.yaml +++ b/helm/oauth2-proxy/templates/deployment.yaml @@ -25,7 +25,9 @@ spec: template: metadata: annotations: + {{- if .Values.config.configFile }} checksum/config: {{ tpl .Values.config.configFile $ | sha256sum }} + {{- end }} {{- if .Values.alphaConfig.enabled }} checksum/alpha-config: {{ include "oauth2-proxy.alpha-config" . | sha256sum }} {{- end }} @@ -66,7 +68,7 @@ spec: - name: wait-for-redis image: "{{ .Values.initContainers.waitForRedis.image.repository }}:{{ .Values.initContainers.waitForRedis.image.tag }}" imagePullPolicy: {{ .Values.initContainers.waitForRedis.image.pullPolicy }} - command: ["/bin/sh", "-c", "/scripts/check-redis.sh"] + command: ["/bin/sh", "-c", "/scripts/check-redis.sh"] env: - name: TOTAL_RETRY_TIME value: "{{ .Values.initContainers.waitForRedis.timeout }}"