diff --git a/infrastructure/controllers/traefik/crds.yaml b/infrastructure/controllers/traefik/crds.yaml new file mode 100644 index 0000000..7efd7a1 --- /dev/null +++ b/infrastructure/controllers/traefik/crds.yaml @@ -0,0 +1,16 @@ +# /infrastructure/controllers/traefik/crds.yaml +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: GitRepository +metadata: + name: traefik-crds + namespace: flux-system +spec: + interval: 30m + url: https://github.com/traefik/traefik-helm-chart.git + ref: + tag: v33.2.1 + ignore: | + # exclude all + /* + # path to crds + !/traefik/crds/ \ No newline at end of file diff --git a/infrastructure/controllers/traefik/kustomization.yaml b/infrastructure/controllers/traefik/kustomization.yaml index 88fa3e9..38a1ea6 100644 --- a/infrastructure/controllers/traefik/kustomization.yaml +++ b/infrastructure/controllers/traefik/kustomization.yaml @@ -5,6 +5,7 @@ resources: - namespace.yaml - repository.yaml - release.yaml + - crds.yaml configMapGenerator: - name: traefik-prod-values