-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add missing upgrade paths (#547)
- Loading branch information
1 parent
76ccd5a
commit e16e7e4
Showing
10 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
configs/upgrades/ekscluster/1.27.8-1.27.9/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/ekscluster/1.27.9-1.28.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/ekscluster/1.28.3-1.28.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/ekscluster/1.28.4-1.29.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/ekscluster/1.29.3-1.29.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/kfddistribution/1.27.8-1.27.9/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/kfddistribution/1.27.9-1.28.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/kfddistribution/1.28.3-1.28.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/kfddistribution/1.28.4-1.29.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/kfddistribution/1.29.3-1.29.4/pre-distribution.sh.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
kubectlbin="{{ .paths.kubectl }}" | ||
|
||
# Remove some validating webhooks during the upgrade | ||
{{- if eq .spec.distribution.modules.policy.type "gatekeeper" }} | ||
$kubectlbin delete --ignore-not-found=true validatingwebhookconfiguration gatekeeper-validating-webhook-configuration | ||
{{- end }} |