Create infra and add traefik

This commit is contained in:
2024-02-10 16:16:16 +00:00
parent 90ee7b1182
commit 629b3c3d35
12 changed files with 57 additions and 0 deletions

0
clusters/talos/apps.yaml Normal file
View File

View File

@@ -0,0 +1,15 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-controllers
namespace: flux-system
spec:
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ../../infrastructure
prune: true
wait: true

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: ingress

View File

@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ingress-namespace.yaml
- ./cilium
- ./traefik

View File

@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ingress
resources:
- traefik-repository.yaml
- traefik-helm-release.yaml

View File

@@ -0,0 +1,18 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: traefik
namespace: ingress
spec:
interval: 5m
chart:
spec:
chart: traefik/traefik
version: 'v26.0.0'
sourceRef:
kind: HelmRepository
name: traefik
namespace: ingress
interval: 15m
valuesFiles:
- values.yaml

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: traefik
namespace: flux-system
spec:
interval: 15m
url: https://traefik.github.io/charts

View File