Open capi-quickstart.yaml and look for the two references to version: v1.21.5, change those to version: v1.22.6
capi-quickstart.yaml
version: v1.21.5
version: v1.22.6
git commit -am "Moving version of cluster to 1.22.6" git push
clusterctl describe cluster capi-quickstart