Add Traefik
This commit is contained in:
parent
756a9b13f3
commit
09f9ccb8e5
8
clusters/my-cluster/traefik/kustomization.yaml
Normal file
8
clusters/my-cluster/traefik/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: traefik
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- repository.yaml
|
||||||
|
- release.yaml
|
5
clusters/my-cluster/traefik/namespace.yaml
Normal file
5
clusters/my-cluster/traefik/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: traefik
|
18
clusters/my-cluster/traefik/release.yaml
Normal file
18
clusters/my-cluster/traefik/release.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: traefik
|
||||||
|
namespace: traefik
|
||||||
|
spec:
|
||||||
|
releaseName: traefik
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: traefik
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: traefik
|
||||||
|
interval: 50m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
9
clusters/my-cluster/traefik/repository.yaml
Normal file
9
clusters/my-cluster/traefik/repository.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: traefik
|
||||||
|
namespace: traefik
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
url: https://traefik.github.io/charts
|
Loading…
Reference in New Issue
Block a user