Skip to content

Commit 7dbb14b

Browse files
committed
fix: remove dangling hardcoded values from snapshot webhook previous
tests
1 parent b10b17c commit 7dbb14b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

test/e2e/testruns/snapshot_webhook.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ func enableWebhook(caBundle string) {
140140
"--namespace", "kube-system",
141141
"--set", "snapshotValidationWebhook.enabled=true",
142142
"--set", fmt.Sprintf("snapshotValidationWebhook.caBundle=%s", caBundle),
143-
"--set", "networkPolicy.enabled=true",
144-
"--set", "credentials.secretName=tokensecret",
145-
"--set-string", "controller.zone=de-fra1",
146143
"--wait",
147144
"--timeout", "180s",
148145
)
@@ -161,9 +158,6 @@ func disableWebhook() {
161158
cmd := exec.Command("helm", "upgrade", "--install", "upcloud-csi", "deploy/helm", //nolint:noctx // helm run in test context
162159
"--namespace", "kube-system",
163160
"--set", "snapshotValidationWebhook.enabled=false",
164-
"--set", "networkPolicy.enabled=true",
165-
"--set", "credentials.secretName=tokensecret",
166-
"--set-string", "controller.zone=de-fra1",
167161
"--wait",
168162
"--timeout", "180s",
169163
)

0 commit comments

Comments
 (0)