Traefik-hub deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2022-06-24 02:25:41 +02:00
parent 7ced7add47
commit e76a31ffeb
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
3 changed files with 54 additions and 6 deletions

View file

@ -102,7 +102,6 @@
kubernetes.core.helm_repository:
name: traefik
repo_url: "https://helm.traefik.io/traefik"
tags: traefik
- name: Deploy latest version of Traefik
kubernetes.core.helm:
context: "{{ my_context }}"
@ -129,4 +128,21 @@
# - traefik-svc.yml.j2
# - traefik-defaultbackend.yml.j2
- name: Defined traefik-hub repository
kubernetes.core.helm_repository:
name: traefik-hub
repo_url: "https://helm.traefik.io/hub"
when:
- traefik_hub_token is defined
- name: Deploy latest version of Traefik-hub
kubernetes.core.helm:
context: "{{ my_context }}"
name: hub-agent
chart_ref: traefik-hub/hub-agent
release_namespace: "{{ traefik_namespace }}"
values:
token: "{{ traefik_hub_token }}"
when:
- traefik_hub_token is defined
tags: traefik