Skip to content

Commit

Permalink
Fix canal chart version update
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtbnfgl committed Feb 9, 2024
1 parent aef92da commit f32278c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/rke2-canal/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ calico:
# Canal node image.
nodeImage:
repository: rancher/hardened-calico
tag: v3.26.3-build20231109
tag: v3.27.0-build20240206
# Flexvol Image.
flexvolImage:
repository: rancher/hardened-calico
Expand Down
2 changes: 1 addition & 1 deletion packages/rke2-canal/package.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url: local
packageVersion: 00
packageVersion: 01
1 change: 1 addition & 0 deletions updatecli/scripts/update-canal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ if [ -n "$CALICO_VERSION" ]; then
echo "Updating flannel image to $CALICO_VERSION"
yq -i ".calico.cniImage.tag = \"$CALICO_VERSION\" |
.calico.flexvolImage.tag = \"$CALICO_VERSION\" |
.calico.nodeImage.tag = \"$CALICO_VERSION\" |
.calico.kubeControllerImage.tag = \"$CALICO_VERSION\"" packages/rke2-canal/charts/values.yaml
app_version=$(echo "$CALICO_VERSION" | grep -Eo 'v[0-9]+.[0-9]+.[0-9+]')
yq -i ".version = \"$CALICO_VERSION\" |
Expand Down

0 comments on commit f32278c

Please sign in to comment.