Add ondemand plugin
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Adrien Reslinger 2022-07-16 23:31:42 +02:00
parent e76a31ffeb
commit ba1319aeef
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
4 changed files with 108 additions and 1 deletions

View file

@ -128,6 +128,19 @@
# - traefik-svc.yml.j2
# - traefik-defaultbackend.yml.j2
- name: Install traefik plugin's
k8s:
state: "present"
context: "{{ my_context }}"
namespace: '{{ traefik_namespace }}'
# merge_type: merge
apply: yes
resource_definition: "{{ lookup('template', item) | from_yaml_all }}"
with_items:
- traefik-ondemand-plugin.yml.j2
when:
- traefik_ondemand is defined
- name: Defined traefik-hub repository
kubernetes.core.helm_repository:
name: traefik-hub