Skip to content

Commit f71678e

Browse files
Merge pull request #137 from pierluigilenoci/revisionHistoryLimit
Added revisionHistoryLimit to the chart
2 parents 46c56e2 + 02e0b6c commit f71678e

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 6.10.0
2+
version: 6.10.1
33
apiVersion: v2
44
appVersion: 7.4.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -31,5 +31,4 @@ maintainers:
3131
3232
- name: pierluigilenoci
3333
34-
engine: gotpl
3534
kubeVersion: ">=1.9.0-0"

helm/oauth2-proxy/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ Parameter | Description | Default
158158
`readinessProbe.successThreshold` | number of successes | 1
159159
`replicaCount` | desired number of pods | `1`
160160
`resources` | pod resource requests & limits | `{}`
161+
`revisionHistoryLimit` | maximum number of revisions maintained | 10
161162
`service.portNumber` | port number for the service | `80`
162163
`service.appProtocol` | application protocol on the port of the service | `http`
163164
`service.type` | type of service | `ClusterIP`
@@ -193,7 +194,7 @@ Parameter | Description | Default
193194
`metrics.service.appProtocol` | application protocol of the metrics port in the service | `http`
194195
`metrics.servicemonitor.enabled` | Enable Prometheus Operator ServiceMonitor | `false`
195196
`metrics.servicemonitor.namespace` | Define the namespace where to deploy the ServiceMonitor resource | `""`
196-
`metrics.servicemonitor.prometheusInstance` | Prometheus Instance definition | `default`
197+
`metrics.servicemonitor.prometheusInstance` | Prometheus Instance definition | `default`
197198
`metrics.servicemonitor.interval` | Prometheus scrape interval | `60s`
198199
`metrics.servicemonitor.scrapeTimeout` | Prometheus scrape timeout | `30s`
199200
`metrics.servicemonitor.labels` | Add custom labels to the ServiceMonitor resource| `{}`

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ metadata:
1111
name: {{ template "oauth2-proxy.fullname" . }}
1212
spec:
1313
replicas: {{ .Values.replicaCount }}
14+
{{- if .Values.revisionHistoryLimit }}
15+
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
16+
{{- end }}
1417
selector:
1518
matchLabels:
1619
{{- include "oauth2-proxy.selectorLabels" . | indent 6 }}

helm/oauth2-proxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ deploymentAnnotations: {}
234234
podAnnotations: {}
235235
podLabels: {}
236236
replicaCount: 1
237+
revisionHistoryLimit: 10
237238

238239
## PodDisruptionBudget settings
239240
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/

0 commit comments

Comments
 (0)