File tree Expand file tree Collapse file tree 5 files changed +10
-0
lines changed
manifest_staging/charts/workload-identity-webhook
third_party/open-policy-agent/gatekeeper/helmify Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ helm upgrade -n azure-workload-identity-system [RELEASE_NAME] azure-workload-ide
5656| mutatingWebhookNamespaceSelector | The namespace selector to further refine which namespaces will be selected by the webhook. | ` {} ` |
5757| podDisruptionBudget.minAvailable | The minimum number of pods that must be available for the webhook to be considered available | ` 1 ` |
5858| podDisruptionBudget.maxUnavailable | The maximum number of pods that may be unavailable for the webhook to be considered available | ` nil ` |
59+ | revisionHistoryLimit | The number of old ReplicaSets to retain for the webhook deployment | ` 10 ` |
5960
6061## Contributing Changes
6162
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ metadata:
99 name : azure-wi-webhook-controller-manager
1010 namespace : ' {{ .Release.Namespace }}'
1111spec :
12+ {{- if .Values.revisionHistoryLimit }}
13+ revisionHistoryLimit : {{ .Values.revisionHistoryLimit }}
14+ {{- end }}
1215 replicas : {{ .Values.replicaCount }}
1316 selector :
1417 matchLabels :
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ metadata:
2929 namespace : azure-workload-identity-system
3030spec :
3131 replicas : HELMSUBST_DEPLOYMENT_REPLICAS
32+ HELMSUBST_DEPLOYMENT_REVISION_HISTORY_LIMIT : " "
3233 selector :
3334 matchLabels :
3435 azure-workload-identity.io/system : " true"
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ var replacements = map[string]string{
55
66 `HELMSUBST_DEPLOYMENT_NODE_SELECTOR: ""` : `{{- toYaml .Values.nodeSelector | nindent 8 }}` ,
77
8+ `HELMSUBST_DEPLOYMENT_REVISION_HISTORY_LIMIT: ""` : `{{- if .Values.revisionHistoryLimit }}
9+ revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
10+ {{- end }}` ,
11+
812 "HELMSUBST_DEPLOYMENT_REPLICAS" : `{{ .Values.replicaCount }}` ,
913
1014 `HELMSUBST_DEPLOYMENT_AFFINITY: ""` : `{{- toYaml .Values.affinity | nindent 8 }}` ,
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ helm upgrade -n azure-workload-identity-system [RELEASE_NAME] azure-workload-ide
5656| mutatingWebhookNamespaceSelector | The namespace selector to further refine which namespaces will be selected by the webhook. | ` {} ` |
5757| podDisruptionBudget.minAvailable | The minimum number of pods that must be available for the webhook to be considered available | ` 1 ` |
5858| podDisruptionBudget.maxUnavailable | The maximum number of pods that may be unavailable for the webhook to be considered available | ` nil ` |
59+ | revisionHistoryLimit | The number of old ReplicaSets to retain for the webhook deployment | ` 10 ` |
5960
6061## Contributing Changes
6162
You can’t perform that action at this time.
0 commit comments