From f167ca155b65a9348fd32368419ace9b70426ddc Mon Sep 17 00:00:00 2001 From: LordMathis Date: Tue, 24 Dec 2024 14:46:46 +0100 Subject: [PATCH] Add traefik crds --- infrastructure/controllers/traefik/crds.yaml | 16 ++++++++++++++++ .../controllers/traefik/kustomization.yaml | 1 + 2 files changed, 17 insertions(+) create mode 100644 infrastructure/controllers/traefik/crds.yaml 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