From 928a7df410ef4043f88444560efab9a3e87357a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Blondel?= Date: Mon, 22 Jan 2024 20:01:53 +0100 Subject: [PATCH] fix: Allow setting revisionHistoryLimit to 0 --- helm/oauth2-proxy/Chart.yaml | 6 +++--- helm/oauth2-proxy/templates/deployment.yaml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 78dc2ec..16a1622 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 6.23.1 +version: 6.23.2 apiVersion: v2 appVersion: 7.5.1 home: https://oauth2-proxy.github.io/oauth2-proxy/ @@ -35,7 +35,7 @@ kubeVersion: ">=1.9.0-0" annotations: artifacthub.io/changes: | - kind: fixed - description: Fix indentation in alpha config + description: Allow setting revisionHistoryLimit to 0 links: - name: Github PR - url: https://github.com/oauth2-proxy/manifests/pull/180 + url: https://github.com/oauth2-proxy/manifests/pull/183 diff --git a/helm/oauth2-proxy/templates/deployment.yaml b/helm/oauth2-proxy/templates/deployment.yaml index a2d8344..9145135 100644 --- a/helm/oauth2-proxy/templates/deployment.yaml +++ b/helm/oauth2-proxy/templates/deployment.yaml @@ -12,9 +12,7 @@ metadata: namespace: {{ template "oauth2-proxy.namespace" $ }} spec: replicas: {{ .Values.replicaCount }} - {{- if .Values.revisionHistoryLimit }} revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} - {{- end }} selector: matchLabels: {{- include "oauth2-proxy.selectorLabels" . | indent 6 }}