I am able to update from 0.13.0 operator to 0.14.0 and awx from 19.3.0 to 19.4.0
Execute below:
Awx upgrade based on k8 operator:
kubectl delete deployment awx-operator
kubectl delete serviceaccount awx-operator
kubectl delete clusterrolebinding awx-operator
kubectl delete clusterrole awx-operator
unzip -d awx-operator-0.14.0.zip
export NAMESPACE=awx
Please go to the unzipped directory and execute below
make deploy
The operator will be successfully installed however the postgress configuration i.e secret is not available in operator hence it will fail to
update the awx ansible tower.
Follow the below to update ansible tower aka awx
kubectl -n awx edit deployment.apps/awx
Change the image_verison to the latest one. example: 19.4.0
It will automatically pull the image and install it.
Once done, run below i.e. after all the pods and container on running.
kubectl -n awx exec -it pod/podname -c awx-web bash
awx-manage showmigrations | grep -v '[X]' | grep '[ ]' | wc -l
awx-manage showmigrations
awx-manage migrate --noinput
awx-manage changepassword admin
Once above done, then you have successfully updated the awx from 19.x to 19.4.0
Note: THE Postgres is external.
______________________________________________________________