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

@@ -1,18 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: cilium
namespace: kube-system
spec:
interval: 5m
chart:
spec:
chart: cilium/cilium
version: '1.14.0'
sourceRef:
kind: HelmRepository
name: cilium
namespace: flux-system
interval: 15m
valuesFiles:
- values.yaml

View File

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

View File

@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- cilium-repository.yaml
- cilium-helm-release.yaml

View File

@@ -1,23 +0,0 @@
k8sServiceHost: "192.168.1.101"
k8sServicePort: "6443"
operator:
replicas: 1
rollOutPods: true
externalIPs:
enabled: true
enableCiliumEndpointSlice: true
kubeProxyReplacement: "disabled"
ipam:
mode: "kubernetes"
securityContext:
capabilities:
ciliumAgent: "{CHOWN,KILL,NET_ADMIN,NET_RAW,IPC_LOCK,SYS_ADMIN,SYS_RESOURCE,DAC_OVERRIDE,FOWNER,SETGID,SETUID}"
cleanCiliumState: "{NET_ADMIN,SYS_ADMIN,SYS_RESOURCE}"
cgroup:
hostRoot: "/sys/fs/cgroup"
autoMount:
enabled: "false"

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