2021-01-09 17:54:42 +00:00
|
|
|
- set_fact:
|
2024-05-25 15:12:30 +00:00
|
|
|
local_ingress_nginx_combined_values: "{{ local_ingress_nginx_default_values | combine(local_ingress_nginx_values | default({}), recursive=true) }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
|
|
|
|
- name: Deploy local Nginx Ingress
|
2022-07-12 13:48:14 +00:00
|
|
|
kubernetes.core.helm:
|
2021-01-09 17:54:42 +00:00
|
|
|
create_namespace: true
|
|
|
|
release_namespace: "{{ local_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}"
|
|
|
|
release_name: "{{ local_ingress_nginx_name | default(namespace + '-local-ingress-nginx') }}"
|
2023-06-10 03:20:10 +00:00
|
|
|
chart_ref: "{{ local_ingress_nginx_chart_ref }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
chart_version: "{{ local_ingress_nginx_version | default(omit) }}"
|
|
|
|
release_values: "{{ local_ingress_nginx_combined_values | from_yaml }}"
|
|
|
|
wait: true
|
|
|
|
when: local_ingress_nginx_enabled | default(true)
|