Fix Argo CD's scylla cluster yml file formatting

This commit is contained in:
2025-08-16 23:26:45 -03:00
parent 455dc27743
commit a67b4f6a3d
8 changed files with 106 additions and 99 deletions
+4 -3
View File
@@ -47,7 +47,7 @@
- name: Find Scylla CSI Driver K8s YAMLs on Remote Host
ansible.builtin.find:
paths: /tmp/k8s/scylla
paths: /tmp/k8s/ansible/scylla
patterns: "05-*.yml"
file_type: file
register: scylla_csi_driver_files
@@ -66,8 +66,8 @@
kubectl -n=local-csi-driver rollout status --timeout=10m daemonset.apps/local-csi-driver
changed_when: false
- name: Label current node as Scylla
loop: groups['all']
- name: Label All Nodes as Scylla
loop: "{{ groups['all'] }}"
kubernetes.core.k8s:
api_version: v1
kind: Node
@@ -76,5 +76,6 @@
metadata:
labels:
scylla.scylladb.com/node-type: scylla
opology.kubernetes.io/zone: "{{ hostvars[item].rack }}"
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present