Skip to content

Commit

Permalink
Improve to update to specific Calico version
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouska committed Jul 31, 2024
1 parent 8fbfa26 commit 773d97f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ This is automated using [Github Action](https://github.com/buvis/clusters/blob/m

When Calico releases a new version of `tigera-operator`:

1. Determine latest **minor** (like v3.28 and not v3.28.0) version `<VERSION_TAG>`: [Calico Releases | GitHub](https://github.com/projectcalico/calico/releases)
1. Determine latest version `<VERSION_TAG>`: [Calico Releases | GitHub](https://github.com/projectcalico/calico/releases)
2. Set temporary variable to use in following commands: `CALICO_VERSION=<VERSION_TAG>`
3. Get the updated manifest: `curl https://raw.githubusercontent.com/projectcalico/calico/release-$CALICO_VERSION/manifests/tigera-operator.yaml -O`
3. Get the updated manifest: `curl https://raw.githubusercontent.com/projectcalico/calico/$CALICO_VERSION/manifests/tigera-operator.yaml -O`
4. Initiate the upgrade: `kubectl apply -f tigera-operator.yaml`
5. Remove the manifest: `rm tigera-operator.yaml`
6. Update Talos installation patch: `vim infrastructure/talos/patch-all.yaml` and update `<VERSION_TAG>` in `/cluster/network/cni/custom/urls`
Expand Down

0 comments on commit 773d97f

Please sign in to comment.