Skip to content

Commit

Permalink
add agnosticd_user_data to deployer_values
Browse files Browse the repository at this point in the history
  • Loading branch information
newgoliath committed Jan 13, 2025
1 parent 52014be commit a8811bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ ocp4_workload_gitops_bootstrap_health_ignore: true
ocp4_workload_gitops_bootstrap_application_wait: true
ocp4_workload_gitops_bootstrap_application_health_retries: 90
ocp4_workload_gitops_bootstrap_application_health_ignore: true
ocp4_workload_gitops_bootstrap_userdata_in_helm_values: true
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
domain: "{{ r_ingress.resources[0].status.domain }}"
apiUrl: "{{ r_infra.resources[0].status.apiServerURL }}"

- name: >
Add all existing agnosticd_user_info.data to
_ocp4_workload_gitops_bootstrap_deployer_values
when: ocp4_workload_gitops_bootstrap_userdata_in_helm_values | default(true) | bool
ansible.builtin.set_fact:
_ocp4_workload_gitops_bootstrap_deployer_values: |
{{ _ocp4_workload_gitops_bootstrap_deployer_values | combine( { "agnosticd_user_data": lookup('agnosticd_user_data', '*') }) }}
- name: print _ocp4_workload_gitops_bootstrap_deployer_values
ansible.builtin.debug:
msg: "{{ _ocp4_workload_gitops_bootstrap_deployer_values | to_yaml }}"
Expand Down

0 comments on commit a8811bf

Please sign in to comment.