|
|
@ -24,6 +24,8 @@ |
|
|
|
- { name: rolebinding-ingress-nginx, file: rolebinding-ingress-nginx.yml, type: rolebinding } |
|
|
|
- { name: ingressclass-nginx, file: ingressclass-nginx.yml, type: ingressclass } |
|
|
|
- { name: ds-ingress-nginx-controller, file: ds-ingress-nginx-controller.yml, type: ds } |
|
|
|
ingress_nginx_template_for_service: |
|
|
|
- { name: svc-ingress-nginx, file: svc-ingress-nginx.yml, type: svc } |
|
|
|
ingress_nginx_templates_for_webhook: |
|
|
|
- { name: admission-webhook-configuration, file: admission-webhook-configuration.yml, type: sa } |
|
|
|
- { name: sa-admission-webhook, file: sa-admission-webhook.yml, type: sa } |
|
|
@ -33,6 +35,11 @@ |
|
|
|
- { name: rolebinding-admission-webhook, file: rolebinding-admission-webhook.yml, type: rolebinding } |
|
|
|
- { name: admission-webhook-job, file: admission-webhook-job.yml, type: job } |
|
|
|
|
|
|
|
- name: NGINX Ingress Controller | Append extra templates to NGINX Ingress Template list for service |
|
|
|
set_fact: |
|
|
|
ingress_nginx_templates: "{{ ingress_nginx_templates + ingress_nginx_template_for_service }}" |
|
|
|
when: not ingress_nginx_host_network |
|
|
|
|
|
|
|
- name: NGINX Ingress Controller | Append extra templates to NGINX Ingress Templates list for webhook |
|
|
|
set_fact: |
|
|
|
ingress_nginx_templates: "{{ ingress_nginx_templates + ingress_nginx_templates_for_webhook }}" |
|
|
|