14 lines
787 B
YAML
14 lines
787 B
YAML
- set_fact:
|
|
external_ingress_nginx_combined_values: "{{ external_ingress_nginx_default_values | combine(external_ingress_nginx_values, recursive=true) }}"
|
|
|
|
- name: Deploy external Nginx Ingress
|
|
community.kubernetes.helm:
|
|
create_namespace: true
|
|
release_namespace: "{{ external_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}"
|
|
release_name: "{{ external_ingress_nginx_name | default(namespace + '-external-ingress-nginx') }}"
|
|
chart_ref: "{{ external_ingress_nginx_chart | default('ingress-nginx/ingress-nginx') }}"
|
|
chart_version: "{{ external_ingress_nginx_version | default(omit) }}"
|
|
release_values: "{{ external_ingress_nginx_combined_values | from_yaml }}"
|
|
wait: true
|
|
when: external_ingress_nginx_enabled | default(true)
|