From 3c6788942afa7e08a5ccf68621dfc5d11b0596f1 Mon Sep 17 00:00:00 2001 From: Alexandru Ciobanu <67386493+aiciobanu@users.noreply.github.com> Date: Tue, 30 Aug 2022 14:39:22 +0300 Subject: [PATCH] renamed htpasswd file and its references from `configmap` to `secret` (#94) * renamed htpasswd file and its references from `configmap` to `secret` * bump up the chart version Co-authored-by: Pierluigi Lenoci --- helm/oauth2-proxy/Chart.yaml | 2 +- helm/oauth2-proxy/templates/deployment.yaml | 2 +- .../{configmap-htpasswd-file.yaml => secret-htpasswd-file.yaml} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename helm/oauth2-proxy/templates/{configmap-htpasswd-file.yaml => secret-htpasswd-file.yaml} (100%) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 16da5ca0..f90dc9dc 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 6.2.4 +version: 6.2.5 apiVersion: v2 appVersion: 7.3.0 home: https://oauth2-proxy.github.io/oauth2-proxy/ diff --git a/helm/oauth2-proxy/templates/deployment.yaml b/helm/oauth2-proxy/templates/deployment.yaml index 0c9ba206..99665811 100644 --- a/helm/oauth2-proxy/templates/deployment.yaml +++ b/helm/oauth2-proxy/templates/deployment.yaml @@ -23,7 +23,7 @@ spec: checksum/google-secret: {{ include (print $.Template.BasePath "/google-secret.yaml") . | sha256sum }} checksum/redis-secret: {{ include (print $.Template.BasePath "/redis-secret.yaml") . | sha256sum }} {{- if .Values.htpasswdFile.enabled }} - checksum/htpasswd: {{ include (print $.Template.BasePath "/configmap-htpasswd-file.yaml") . | sha256sum }} + checksum/htpasswd: {{ include (print $.Template.BasePath "/secret-htpasswd-file.yaml") . | sha256sum }} {{- end }} {{- if .Values.podAnnotations }} {{ toYaml .Values.podAnnotations | indent 8 }} diff --git a/helm/oauth2-proxy/templates/configmap-htpasswd-file.yaml b/helm/oauth2-proxy/templates/secret-htpasswd-file.yaml similarity index 100% rename from helm/oauth2-proxy/templates/configmap-htpasswd-file.yaml rename to helm/oauth2-proxy/templates/secret-htpasswd-file.yaml