Skip to content

Commit

Permalink
NODE-5692 Add annotation to always trigger redeployments when wallarm…
Browse files Browse the repository at this point in the history
… is switched off/on
  • Loading branch information
nedvna committed Oct 25, 2024
1 parent f211fd5 commit a5dd7ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/ingress-nginx/templates/controller-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
{{- if or .Values.controller.podAnnotations (and .Values.controller.wallarm.enabled (not .Values.controller.wallarm.existingSecret.enabled)) }}
annotations:
{{- if .Values.controller.wallarm.enabled }}
wallarm-enabled: "true"
checksum/cron: {{ .Values.controller.wallarm.cron | toJson | sha256sum }}
{{- if not .Values.controller.wallarm.existingSecret.enabled }}
checksum/token: {{ .Values.controller.wallarm.token | sha256sum }}
Expand Down
1 change: 1 addition & 0 deletions charts/ingress-nginx/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ spec:
{{- if or .Values.controller.podAnnotations (and .Values.controller.wallarm.enabled (not .Values.controller.wallarm.existingSecret.enabled)) }}
annotations:
{{- if .Values.controller.wallarm.enabled }}
wallarm-enabled: "true"
checksum/cron: {{ .Values.controller.wallarm.cron | toJson | sha256sum }}
{{- if not .Values.controller.wallarm.existingSecret.enabled }}
checksum/token: {{ .Values.controller.wallarm.token | sha256sum }}
Expand Down

0 comments on commit a5dd7ac

Please sign in to comment.