Update traefik deployment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a102ba09a7
commit
382cc69b2c
3 changed files with 31 additions and 1 deletions
|
|
@ -141,6 +141,19 @@
|
|||
when:
|
||||
- traefik_ondemand is defined
|
||||
|
||||
- name: ReInstall traefik-hub certificate if already know
|
||||
kubernetes.core.k8s:
|
||||
state: "present"
|
||||
context: "{{ my_context }}"
|
||||
namespace: '{{ traefik_namespace }}'
|
||||
# merge_type: merge
|
||||
# apply: true
|
||||
resource_definition: "{{ lookup('template', item) | from_yaml_all }}"
|
||||
with_items:
|
||||
- traefik-hub-certificate.yml.j2
|
||||
when:
|
||||
- traefik_hub_tlscrt is defined
|
||||
- traefik_hub_tlskey 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