diff --git a/charts/ingress-nginx/templates/controller-daemonset.yaml b/charts/ingress-nginx/templates/controller-daemonset.yaml index 05928e0ef..3bf6d8089 100644 --- a/charts/ingress-nginx/templates/controller-daemonset.yaml +++ b/charts/ingress-nginx/templates/controller-daemonset.yaml @@ -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 }} diff --git a/charts/ingress-nginx/templates/controller-deployment.yaml b/charts/ingress-nginx/templates/controller-deployment.yaml index ea97facf1..69d17c88f 100644 --- a/charts/ingress-nginx/templates/controller-deployment.yaml +++ b/charts/ingress-nginx/templates/controller-deployment.yaml @@ -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 }}