Update roles/stolon/tasks/main.yml

This commit is contained in:
2025-11-06 21:49:25 +00:00
parent a794dcd037
commit d47040565a

View File

@ -64,7 +64,7 @@
become: yes
become_user: fenix
shell: |
kubectl run -i -n=postgresql -t stolonctl --image=sorintlab/stolon:master-pg15 --restart=Never --rm -- /usr/local/bin/stolonctl --cluster-name=kube-stolon --store-backend=kubernetes --kube-resource-kind=configmap init
kubectl run -i -n=postgresql -t stolonctl --image=sorintlab/stolon:master-pg10 --restart=Never --rm -- /usr/local/bin/stolonctl --cluster-name=kube-stolon --store-backend=kubernetes --kube-resource-kind=configmap init
when: stolon_cluster_check.rc != 0
environment:
KUBECONFIG: /home/fenix/.kube/config