From 2afedbf9e6638c467809be863354fc2dbe51a877 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 9 May 2022 15:23:29 +0200 Subject: [PATCH] Add traefik yaml --- clank/platform/sources/kustomization.yaml | 1 + clank/platform/sources/traefik.yaml | 7 +++++++ clank/platform/traefik/kustomization.yaml | 1 + clank/platform/traefik/release.yaml | 18 ++++++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 clank/platform/sources/traefik.yaml create mode 100644 clank/platform/traefik/release.yaml diff --git a/clank/platform/sources/kustomization.yaml b/clank/platform/sources/kustomization.yaml index 2aec0cb..7aab6d1 100644 --- a/clank/platform/sources/kustomization.yaml +++ b/clank/platform/sources/kustomization.yaml @@ -3,3 +3,4 @@ kind: Kustomization namespace: flux-system resources: - emberstack.yaml + - traefik.yaml diff --git a/clank/platform/sources/traefik.yaml b/clank/platform/sources/traefik.yaml new file mode 100644 index 0000000..19cd489 --- /dev/null +++ b/clank/platform/sources/traefik.yaml @@ -0,0 +1,7 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: traefik +spec: + interval: 30m + url: https://helm.traefik.io/traefik diff --git a/clank/platform/traefik/kustomization.yaml b/clank/platform/traefik/kustomization.yaml index 229b38e..90a2dc9 100644 --- a/clank/platform/traefik/kustomization.yaml +++ b/clank/platform/traefik/kustomization.yaml @@ -1,5 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - release.yaml # - helm-chart-config.traefik.yaml - ingress.yaml diff --git a/clank/platform/traefik/release.yaml b/clank/platform/traefik/release.yaml new file mode 100644 index 0000000..21f45fe --- /dev/null +++ b/clank/platform/traefik/release.yaml @@ -0,0 +1,18 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: traefik +spec: + releaseName: traefik + chart: + spec: + chart: traefik + sourceRef: + kind: HelmRepository + name: traefik + namespace: flux-system + version: "10.19.5" + interval: 1h0m0s + install: + remediation: + retries: 3