Traefik-hub 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
7ced7add47
commit
e76a31ffeb
3 changed files with 54 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue