14 lines
754 B
YAML
14 lines
754 B
YAML
- set_fact:
|
|
local_ingress_nginx_combined_values: "{{ local_ingress_nginx_default_values | combine(local_ingress_nginx_values, recursive=true) }}"
|
|
|
|
- name: Deploy local Nginx Ingress
|
|
community.kubernetes.helm:
|
|
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') }}"
|
|
chart_ref: "{{ local_ingress_nginx_chart | default('ingress-nginx/ingress-nginx') }}"
|
|
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)
|