Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add revision history limit value to all deployments #5228

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
8293c19
feat: add revisionHistoryLimit to prometheus-blackbox-exporter
CarstenSon Jan 21, 2025
b37092e
feat: add revisionHistoryLimit to prometheus-blackbox-exporter
CarstenSon Jan 21, 2025
a01c1f2
feat: add revisionHistoryLimit to prometheus-cloudwatch-exporter
CarstenSon Jan 21, 2025
4ca0edc
feat: add revisionHistoryLimit to prometheus-consul-exporter
CarstenSon Jan 21, 2025
11d5d2c
feat: add revisionHistoryLimit to prometheus-yet-another-cloudwatch-e…
CarstenSon Jan 21, 2025
f4d579a
feat: add revisionHistoryLimit to prometheus-couchdb-exporter
CarstenSon Jan 21, 2025
4dd681f
feat: add revisionHistoryLimit to prometheus-blackbox-exporter
CarstenSon Jan 21, 2025
f1c9693
feat: add revisionHistoryLimit to prometheus-cloudwatch-exporter
CarstenSon Jan 21, 2025
decea4c
feat: add revisionHistoryLimit to prometheus-druid-exporter
CarstenSon Jan 21, 2025
5f90f39
feat: add revisionHistoryLimit to prometheus-fastly-exporter
CarstenSon Jan 21, 2025
3cefbff
feat: add revisionHistoryLimit to prometheus-ipmi-exporter
CarstenSon Jan 21, 2025
dbecb59
feat: add revisionHistoryLimit to prometheus-json-exporter
CarstenSon Jan 21, 2025
2e9f7c8
feat: add revisionHistoryLimit to prometheus-kafka-exporter
CarstenSon Jan 21, 2025
7e66df7
feat: add revisionHistoryLimit to prometheus-memcached-exporter
CarstenSon Jan 21, 2025
4a756e8
feat: add revisionHistoryLimit to prometheus-modbus-exporter
CarstenSon Jan 21, 2025
d2eefc9
feat: add revisionHistoryLimit to prometheus-mongodb-exporter
CarstenSon Jan 21, 2025
99ef72e
feat: add revisionHistoryLimit to prometheus-mysql-exporter
CarstenSon Jan 21, 2025
c7e8757
feat: add revisionHistoryLimit to prometheus-nats-exporter
CarstenSon Jan 21, 2025
733a01f
feat: add revisionHistoryLimit to prometheus-nginx-exporter
CarstenSon Jan 21, 2025
2172757
feat: add revisionHistoryLimit to prometheus-opencost-exporter
CarstenSon Jan 21, 2025
9d7e1d7
feat: add revisionHistoryLimit to prometheus-pgbouncer-exporter
CarstenSon Jan 21, 2025
09bd6ca
feat: add revisionHistoryLimit to prometheus-pingdom-exporter
CarstenSon Jan 21, 2025
efadff2
feat: add revisionHistoryLimit to prometheus-pingmesh-exporter
CarstenSon Jan 21, 2025
5c36ebb
feat: add revisionHistoryLimit to prometheus-postgres-exporter
CarstenSon Jan 21, 2025
698b219
feat: add revisionHistoryLimit to prometheus-pushgateway
CarstenSon Jan 21, 2025
9968e03
feat: add revisionHistoryLimit to prometheus-rabbitmq-exporter
CarstenSon Jan 21, 2025
29c6ebf
feat: add revisionHistoryLimit to prometheus-redis-exporter
CarstenSon Jan 21, 2025
172d5b5
feat: add revisionHistoryLimit to prometheus-snmp-exporter
CarstenSon Jan 21, 2025
bc63b48
feat: add revisionHistoryLimit to prometheus-sql-exporter
CarstenSon Jan 21, 2025
70e3622
feat: add revisionHistoryLimit to prometheus-stackdriver-exporter
CarstenSon Jan 21, 2025
fcb562c
feat: add revisionHistoryLimit to prometheus-blackbox-exporter
CarstenSon Jan 21, 2025
b417c35
feat: add revisionHistoryLimit to prometheus-blackbox-exporter
CarstenSon Jan 21, 2025
7da855e
feat: add revisionHistoryLimit to prometheus-cloudwatch-exporter
CarstenSon Jan 21, 2025
c2e8a21
feat: add revisionHistoryLimit to prometheus-consul-exporter
CarstenSon Jan 21, 2025
bcf65b2
feat: add revisionHistoryLimit to prometheus-yet-another-cloudwatch-e…
CarstenSon Jan 21, 2025
99d48a4
feat: add revisionHistoryLimit to prometheus-couchdb-exporter
CarstenSon Jan 21, 2025
0193505
feat: add revisionHistoryLimit to prometheus-blackbox-exporter
CarstenSon Jan 21, 2025
ec60008
feat: add revisionHistoryLimit to prometheus-cloudwatch-exporter
CarstenSon Jan 21, 2025
0cea89d
feat: add revisionHistoryLimit to prometheus-druid-exporter
CarstenSon Jan 21, 2025
e328bd2
feat: add revisionHistoryLimit to prometheus-fastly-exporter
CarstenSon Jan 21, 2025
d627596
feat: add revisionHistoryLimit to prometheus-ipmi-exporter
CarstenSon Jan 21, 2025
27d9543
feat: add revisionHistoryLimit to prometheus-json-exporter
CarstenSon Jan 21, 2025
846f4ce
feat: add revisionHistoryLimit to prometheus-kafka-exporter
CarstenSon Jan 21, 2025
2c4c5b4
feat: add revisionHistoryLimit to prometheus-memcached-exporter
CarstenSon Jan 21, 2025
9664429
feat: add revisionHistoryLimit to prometheus-modbus-exporter
CarstenSon Jan 21, 2025
c367154
feat: add revisionHistoryLimit to prometheus-mongodb-exporter
CarstenSon Jan 21, 2025
2056d33
feat: add revisionHistoryLimit to prometheus-mysql-exporter
CarstenSon Jan 21, 2025
7236fd4
feat: add revisionHistoryLimit to prometheus-nats-exporter
CarstenSon Jan 21, 2025
9d4f9ed
feat: add revisionHistoryLimit to prometheus-nginx-exporter
CarstenSon Jan 21, 2025
4b6fb90
feat: add revisionHistoryLimit to prometheus-opencost-exporter
CarstenSon Jan 21, 2025
ae5969b
feat: add revisionHistoryLimit to prometheus-pgbouncer-exporter
CarstenSon Jan 21, 2025
abb7cd9
feat: add revisionHistoryLimit to prometheus-pingdom-exporter
CarstenSon Jan 21, 2025
c2560f0
feat: add revisionHistoryLimit to prometheus-pingmesh-exporter
CarstenSon Jan 21, 2025
898821b
feat: add revisionHistoryLimit to prometheus-postgres-exporter
CarstenSon Jan 21, 2025
44aa39a
feat: add revisionHistoryLimit to prometheus-pushgateway
CarstenSon Jan 21, 2025
c27df1d
feat: add revisionHistoryLimit to prometheus-rabbitmq-exporter
CarstenSon Jan 21, 2025
0d273a2
feat: add revisionHistoryLimit to prometheus-redis-exporter
CarstenSon Jan 21, 2025
9951468
feat: add revisionHistoryLimit to prometheus-snmp-exporter
CarstenSon Jan 21, 2025
6e12ae1
feat: add revisionHistoryLimit to prometheus-sql-exporter
CarstenSon Jan 21, 2025
f9e483b
feat: add revisionHistoryLimit to prometheus-stackdriver-exporter
CarstenSon Jan 21, 2025
7fb9bf1
Merge remote-tracking branch 'origin/add-revisionHistoryLimit-value-f…
CarstenSon Jan 21, 2025
b26050b
feat: add revisionHistoryLimit to prometheus-blackbox-exporter
CarstenSon Jan 21, 2025
f56b71b
feat: add revisionHistoryLimit to prometheus-stackdriver-exporter
CarstenSon Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicas }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-blackbox-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-blackbox-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ resources: {}
# requests:
# memory: 50Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

priorityClassName: ""

service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app: {{ template "prometheus-cloudwatch-exporter.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-cloudwatch-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

aws:
role:
# Enables usage of regional STS endpoints rather than global which is default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app: {{ template "prometheus-consul-exporter.name" . }}
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-consul-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ resources: {}
# cpu: 100m
# memory: 128Mi

revisionHistoryLimit: 10

serviceMonitor:
# When set true then use a ServiceMonitor to configure scraping
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app: {{ template "prometheus-couchdb-exporter.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-couchdb-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

nodeSelector: {}

tolerations: []
Expand Down
1 change: 1 addition & 0 deletions charts/prometheus-druid-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
spec:
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "prometheus-druid-exporter.fullname" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-druid-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ logFormat: json

exporterPort: 8080

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

serviceAccount:
create: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
{{- include "prometheus-fastly-exporter.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-fastly-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-fastly-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ resources:
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

serviceMonitor:
# When set true then use a ServiceMonitor to configure scraping
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
{{- include "prometheus-ipmi-exporter.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-ipmi-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-ipmi-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ resources:
cpu: 100m
memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

additionalAnnotations: {}

# container-level security context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-json-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-json-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

environmentVariables: []
# - name: some-secret-variable
# valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app: {{ template "prometheus-kafka-exporter.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-kafka-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

nodeSelector: {}

# Annotations to attach to pod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-memcached-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-memcached-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

autoscaling:
enabled: false
minReplicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
{{- include "prometheus-modbus-exporter.labels" . | nindent 4 }}
spec:
replicas: 1
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-modbus-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-modbus-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

nodeSelector: {}

tolerations: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
{{- toYaml .Values.annotations | nindent 4 }}
spec:
replicas: {{ .Values.replicas }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-mongodb-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-mongodb-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

# Customize securityContext of the pod.
# See https://kubernetes.io/docs/concepts/policy/security-context/ for more.
podSecurityContext: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
{{- include "prometheus-mysql-exporter.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-mysql-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-mysql-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

nodeSelector: {}

tolerations: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
helm.sh/chart: {{ include "prometheus-nats-exporter.chart" . }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "prometheus-nats-exporter.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-nats-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

config:
nats:
# See https://github.com/helm/charts/blob/master/stable/nats/templates/monitoring-svc.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
{{- include "prometheus-nginx-exporter.labels" . | indent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-nginx-exporter.selectorLabels" . | indent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-nginx-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

serviceMonitor:
# When set true then use a ServiceMonitor to configure scraping
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.opencost.exporter.replicas }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels: {{- include "prometheus-opencost-exporter.selectorLabels" . | nindent 6 }}
strategy:
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-opencost-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ priorityClassName: ~
podSecurityContext: {}
# fsGroup: 2000

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

service:
enabled: true
# -- Annotations to add to the service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
app: {{ template "prometheus-pgbouncer-exporter.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-pgbouncer-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

rbac:
# Specifies whether RBAC resources should be created
create: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
{{- include "prometheus-pingdom-exporter.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-pingdom-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-pingdom-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

nodeSelector: {}

tolerations: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
{{- include "prometheus-pingmesh-exporter.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicas }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-pingmesh-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-pingmesh-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ resources: {}
# cpu: 200m
# memory: 256Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

priorityClassName: ""

service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "prometheus-postgres-exporter.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-postgres-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ resources: {}
# cpu: 100m
# memory: 128Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

rbac:
# Specifies whether RBAC resources should be created
create: true
Expand Down
1 change: 1 addition & 0 deletions charts/prometheus-pushgateway/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
namespace: {{ template "prometheus-pushgateway.namespace" . }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- with .Values.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-pushgateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ resources: {}
# cpu: 100m
# memory: 30Mi

## Number of replicasets to retain ##
## default value is 10, 0 will not retain any replicasets and make rollbacks impossible ##
revisionHistoryLimit: 10

# -- Sets web configuration
# To enable basic authentication, provide basicAuthUsers as a map
webConfiguration: {}
Expand Down
Loading