diff --git a/infrastructure/addons/traefik/helmrelease-traefik.yaml b/infrastructure/addons/traefik/helmrelease-traefik.yaml index b2425de..2b5f2d7 100644 --- a/infrastructure/addons/traefik/helmrelease-traefik.yaml +++ b/infrastructure/addons/traefik/helmrelease-traefik.yaml @@ -9,10 +9,10 @@ spec: chart: spec: chart: traefik - version: "39.0.201" + version: "39.0.0" sourceRef: kind: HelmRepository - name: rancher-stable + name: traefik namespace: flux-system install: createNamespace: true diff --git a/infrastructure/addons/traefik/helmrepository-traefik.yaml b/infrastructure/addons/traefik/helmrepository-traefik.yaml new file mode 100644 index 0000000..47493da --- /dev/null +++ b/infrastructure/addons/traefik/helmrepository-traefik.yaml @@ -0,0 +1,9 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: traefik + namespace: flux-system +spec: + interval: 10m + url: https://traefik.github.io/charts + provider: generic \ No newline at end of file diff --git a/infrastructure/addons/traefik/kustomization.yaml b/infrastructure/addons/traefik/kustomization.yaml index a722fae..87fe043 100644 --- a/infrastructure/addons/traefik/kustomization.yaml +++ b/infrastructure/addons/traefik/kustomization.yaml @@ -1,4 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - helmrepository-traefik.yaml - helmrelease-traefik.yaml \ No newline at end of file