Skip to content

Commit 41c571b

Browse files
committed
remove from values
1 parent 8ae270b commit 41c571b

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

wiz-admission-controller/templates/cronjobmanager.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ spec:
6161
- "/usr/bin/wiz-admission-controller"
6262
- "manager"
6363
# Auto update flags
64-
- "--wiz-force-update-enabled={{ .Values.wizManager.rolloutRestart.wizForceEnabled }}"
65-
- "--periodic-restart-interval={{ .Values.wizManager.rolloutRestart.interval }}"
64+
- "--auto-update-enabled={{ .Values.wizManager.autoRolloutRestart.enabled }}"
6665
- "--release-namespace={{ .Release.Namespace }}"
6766
{{- include "autoUpdate.deployments.arg" . | trim | nindent 16 }}
6867
# Server flags

wiz-admission-controller/values.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -443,16 +443,8 @@ wizManager:
443443
# If empty, a name is generated using the nameOverride
444444
name: ""
445445

446-
# autoUpda
447-
rolloutRestart:
448-
wizForceEnabled: true # Wiz initiated remote updates.
449-
interval: "168h" # 1 week
450-
# how often to trigger rollout restart.
451-
# Set to 0s to disable.
452-
# Uses standard Go `time.ParseDuration` duration string.
453-
# A duration string is a possibly signed sequence of
454-
# decimal numbers, each with optional fraction and a unit suffix,
455-
# Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
446+
autoRolloutRestart:
447+
enabled: true # Should the manager trigger rollout restarts.
456448

457449
# Global values to override chart values.
458450
global:

0 commit comments

Comments
 (0)