fix: final fixes for 1.21
This commit is contained in:
parent
c584600630
commit
58522147de
@ -11,7 +11,7 @@ export WORKDIR=/tmp/kubezero
|
|||||||
export HOSTFS=/host
|
export HOSTFS=/host
|
||||||
export VERSION=v1.21
|
export VERSION=v1.21
|
||||||
export NETWORK_VERSION=0.1.7
|
export NETWORK_VERSION=0.1.7
|
||||||
export ADDONS_VERSION=0.4.2
|
export ADDONS_VERSION=0.4.3
|
||||||
|
|
||||||
export KUBECONFIG="${HOSTFS}/root/.kube/config"
|
export KUBECONFIG="${HOSTFS}/root/.kube/config"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ YAML=$1
|
|||||||
# Convert keys
|
# Convert keys
|
||||||
yq eval -i '
|
yq eval -i '
|
||||||
.spec.source.repoURL="https://cdn.zero-downtime.net/charts" |
|
.spec.source.repoURL="https://cdn.zero-downtime.net/charts" |
|
||||||
.spec.source.targetRevision="1.21.9-1" |
|
.spec.source.targetRevision="1.21.9-3" |
|
||||||
del(.spec.source.helm.parameters)' $YAML
|
del(.spec.source.helm.parameters)' $YAML
|
||||||
|
|
||||||
# Extract values
|
# Extract values
|
||||||
|
@ -8,7 +8,6 @@ VERSION="v1.21.9"
|
|||||||
unset AWS_DEFAULT_PROFILE
|
unset AWS_DEFAULT_PROFILE
|
||||||
|
|
||||||
nodes=$(kubectl get nodes -l node-role.kubernetes.io/control-plane -o json | jq .items[].metadata.name -r)
|
nodes=$(kubectl get nodes -l node-role.kubernetes.io/control-plane -o json | jq .items[].metadata.name -r)
|
||||||
|
|
||||||
for node in $nodes; do
|
for node in $nodes; do
|
||||||
echo "Deploying node upgrade job on $node..."
|
echo "Deploying node upgrade job on $node..."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user