Closed rrrru closed 1 year ago
the task "Remove KV items from Consul" looks superfluous because next comes the task "Delete Consul content" which deletes all Consul data.
the task "Remove KV items from Consul" looks superfluous because next comes the task "Delete Consul content" which deletes all Consul data.
I know it sounds strange. Yes, but it doesn't work, deleting the directory doesn't delete the data from kv.
Steps to reproduce:
cluster remove_cluster.yml -e remove_consul=true
systemctl start consul
consul kv get -recurse
Feel free to create a PR
Removal of keys from KV via Consul API was an incorrect assumption. The problem is the scope of the server for the job (postgres_cluster) I am using a separate server for Consul (consul_instances)
Update
To:
Related https://github.com/vitabaks/postgresql_cluster/issues/448#issuecomment-1687024565