Create infra and add traefik
This commit is contained in:
0
clusters/talos/apps.yaml
Normal file
0
clusters/talos/apps.yaml
Normal file
15
clusters/talos/infrastructure.yaml
Normal file
15
clusters/talos/infrastructure.yaml
Normal 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
|
||||
4
infrastructure/ingress-namespace.yaml
Normal file
4
infrastructure/ingress-namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: ingress
|
||||
6
infrastructure/kustomization.yaml
Normal file
6
infrastructure/kustomization.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ingress-namespace.yaml
|
||||
- ./cilium
|
||||
- ./traefik
|
||||
6
infrastructure/traefik/kustomization.yaml
Normal file
6
infrastructure/traefik/kustomization.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: ingress
|
||||
resources:
|
||||
- traefik-repository.yaml
|
||||
- traefik-helm-release.yaml
|
||||
18
infrastructure/traefik/traefik-helm-release.yaml
Normal file
18
infrastructure/traefik/traefik-helm-release.yaml
Normal 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
|
||||
8
infrastructure/traefik/traefik-repository.yaml
Normal file
8
infrastructure/traefik/traefik-repository.yaml
Normal 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
|
||||
0
infrastructure/traefik/values.yaml
Normal file
0
infrastructure/traefik/values.yaml
Normal file
Reference in New Issue
Block a user