-
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.
Merge pull request #562 from sighupio/feat/release-v0.31.0
feat: release 0.31.0
- Loading branch information
Showing
29 changed files
with
694 additions
and
32 deletions.
There are no files selected for viewing
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
10 changes: 10 additions & 0 deletions
10
configs/upgrades/ekscluster/1.28.5-1.28.6/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.6-1.29.6/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.5-1.29.6/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.6-1.30.1/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.30.0-1.30.1/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.30.0-1.31.0/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.30.1-1.31.0/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.5-1.28.6/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.6-1.29.6/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.5-1.29.6/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.6-1.30.1/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.30.0-1.30.1/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.30.0-1.31.0/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.30.1-1.31.0/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/onpremises/1.28.5-1.28.6/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/onpremises/1.28.6-1.29.6/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 }} |
20 changes: 20 additions & 0 deletions
20
configs/upgrades/onpremises/1.28.6-1.29.6/pre-kubernetes.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,20 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
{{- if index .spec "kubernetes" }} | ||
|
||
## master upgrades - only one at a time | ||
{{- range $h := .spec.kubernetes.masters.hosts }} | ||
ansible-playbook 55.upgrade-control-plane.yml --limit "{{ $h.name }}" --become | ||
{{- end }} | ||
|
||
{{- if ne .upgrade.skipNodesUpgrade true }} | ||
{{- range $n := .spec.kubernetes.nodes }} | ||
{{- range $h := $n.hosts }} | ||
ansible-playbook 56.upgrade-worker-nodes.yml --limit "{{ $h.name }}" | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/onpremises/1.29.5-1.29.6/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/onpremises/1.29.6-1.30.1/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 }} |
20 changes: 20 additions & 0 deletions
20
configs/upgrades/onpremises/1.29.6-1.30.1/pre-kubernetes.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,20 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
{{- if index .spec "kubernetes" }} | ||
|
||
## master upgrades - only one at a time | ||
{{- range $h := .spec.kubernetes.masters.hosts }} | ||
ansible-playbook 55.upgrade-control-plane.yml --limit "{{ $h.name }}" --become | ||
{{- end }} | ||
|
||
{{- if ne .upgrade.skipNodesUpgrade true }} | ||
{{- range $n := .spec.kubernetes.nodes }} | ||
{{- range $h := $n.hosts }} | ||
ansible-playbook 56.upgrade-worker-nodes.yml --limit "{{ $h.name }}" | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/onpremises/1.30.0-1.30.1/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/onpremises/1.30.0-1.31.0/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 }} |
20 changes: 20 additions & 0 deletions
20
configs/upgrades/onpremises/1.30.0-1.31.0/pre-kubernetes.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,20 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
{{- if index .spec "kubernetes" }} | ||
|
||
## master upgrades - only one at a time | ||
{{- range $h := .spec.kubernetes.masters.hosts }} | ||
ansible-playbook 55.upgrade-control-plane.yml --limit "{{ $h.name }}" --become | ||
{{- end }} | ||
|
||
{{- if ne .upgrade.skipNodesUpgrade true }} | ||
{{- range $n := .spec.kubernetes.nodes }} | ||
{{- range $h := $n.hosts }} | ||
ansible-playbook 56.upgrade-worker-nodes.yml --limit "{{ $h.name }}" | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
configs/upgrades/onpremises/1.30.1-1.31.0/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 }} |
20 changes: 20 additions & 0 deletions
20
configs/upgrades/onpremises/1.30.1-1.31.0/pre-kubernetes.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,20 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
{{- if index .spec "kubernetes" }} | ||
|
||
## master upgrades - only one at a time | ||
{{- range $h := .spec.kubernetes.masters.hosts }} | ||
ansible-playbook 55.upgrade-control-plane.yml --limit "{{ $h.name }}" --become | ||
{{- end }} | ||
|
||
{{- if ne .upgrade.skipNodesUpgrade true }} | ||
{{- range $n := .spec.kubernetes.nodes }} | ||
{{- range $h := $n.hosts }} | ||
ansible-playbook 56.upgrade-worker-nodes.yml --limit "{{ $h.name }}" | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- end }} |
Oops, something went wrong.