2021-01-09 17:54:42 +00:00
|
|
|
- set_fact:
|
|
|
|
external_dns_combined_values: "{{ external_dns_default_values | combine(external_dns_values, recursive=true) }}"
|
|
|
|
|
|
|
|
- name: Deploy external DNS
|
2022-07-12 13:48:14 +00:00
|
|
|
kubernetes.core.helm:
|
2021-01-09 17:54:42 +00:00
|
|
|
create_namespace: true
|
|
|
|
release_namespace: "{{ external_dns_namespace | default(dns_namespace) | default(namespace) }}"
|
|
|
|
release_name: "{{ external_dns_name | default(namespace + '-external-dns') }}"
|
2022-08-29 00:02:13 +00:00
|
|
|
chart_ref: "{{ external_dns_chart | default('ghp/external-dns') }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
chart_version: "{{ external_dns_version | default(omit) }}"
|
|
|
|
release_values: "{{ external_dns_combined_values | from_yaml }}"
|
|
|
|
wait: true
|