Add ondemand plugin
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e76a31ffeb
commit
ba1319aeef
4 changed files with 108 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue