Skip to content

Commit

Permalink
fix: Allow setting revisionHistoryLimit to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
François Blondel committed Jan 22, 2024
1 parent 0bdde21 commit 928a7df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions helm/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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/
Expand Down Expand Up @@ -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
2 changes: 0 additions & 2 deletions helm/oauth2-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 928a7df

Please sign in to comment.