Aggregate/store workload cluster chart values
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-04 22:44:56 +02:00
parent 86a0b684e2
commit 979ac38794
3 changed files with 26 additions and 8 deletions

View File

@ -5,6 +5,7 @@
vars_files:
- defaults.yml
- metacluster.yml
- workloadcluster.yml
# become: true
roles:
- vapp

View File

@ -13,6 +13,14 @@
loop_control:
label: "{{ item.path | basename }}"
- name: Write chart values to file
ansible.builtin.copy:
dest: /opt/workloadcluster/git-repositories/gitops/values/{{ item.key }}/values.yaml
content: "{{ item.value.chart_values }}"
loop: "{{ lookup('ansible.builtin.dict', downstream_components) }}"
loop_control:
label: "{{ item.key }}"
- name: Initialize/Push git repository
ansible.builtin.shell:
cmd: |