Skip to content

Commit

Permalink
Merge pull request #363 from bodgit/chart-enhancements
Browse files Browse the repository at this point in the history
fix: Add chart parameters for setting revisionHistoryLimit
  • Loading branch information
fjogeleit authored Nov 15, 2023
2 parents 1d13056 + 15472f7 commit 85b9917
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
{{- include "kyvernoplugin.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- if .Values.deploymentStrategy }}
strategy:
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/policy-reporter/charts/kyvernoPlugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ priorityClassName: ""

replicaCount: 1

revisionHistoryLimit: 10

deploymentStrategy: {}
# rollingUpdate:
# maxSurge: 25%
Expand Down
1 change: 1 addition & 0 deletions charts/policy-reporter/charts/ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
{{- include "ui.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- if .Values.deploymentStrategy }}
strategy:
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/policy-reporter/charts/ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ imagePullSecrets: []

replicaCount: 1

revisionHistoryLimit: 10

deploymentStrategy: {}
# rollingUpdate:
# maxSurge: 25%
Expand Down
1 change: 1 addition & 0 deletions charts/policy-reporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- if .Values.deploymentStrategy }}
strategy:
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ priorityClassName: ""

replicaCount: 1

revisionHistoryLimit: 10

deploymentStrategy: {}
# rollingUpdate:
# maxSurge: 25%
Expand Down

0 comments on commit 85b9917

Please sign in to comment.