Upgrade Patch Version of the Release
Patch upgrades from 23.3
For smaller patch upgrades, you can just update the operator and server versions.
- For operator upgrades use the following: Check the current operator version:
kubectl get -n digitalai deployment xlr-operator-controller-manager \
-o jsonpath="{.spec.template.spec.containers[1].image}"
Do the upgrade:
kubectl patch -n digitalai deployment xlr-operator-controller-manager \
--type='json' --patch '[{"op": "replace", "path": "/spec/template/spec/containers/1/image", "value": "xebialabs/release-operator:23.3.1"}]'
Change will automatically restart the operator pods. And after that update all other resources in case they are changed.
- For Release server upgrade use the following:
kubectl patch -n digitalai digitalaireleases.xlr.digital.ai dai-xlr \
--type=merge --patch '{"spec": {"image": {"tag": "23.3.1"}}}'
Change will automatically restart the Release pods.