fixin
This commit is contained in:
parent
68079a4b3d
commit
8df9ac0b63
@ -2,4 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
resources: []
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: metallb-system
|
||||
resources: []
|
||||
# - metal-lb-ip-pool.yaml
|
||||
resources:
|
||||
- metal-lb-ip-pool.yaml
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources: []
|
||||
resources:
|
||||
- ../base/cilium
|
||||
@ -1,4 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base/metal-lb-ip-pool.yaml
|
||||
- ../base/metal-lb
|
||||
57
components/networking/controllers/base/cilium/cilium.yaml
Normal file
57
components/networking/controllers/base/cilium/cilium.yaml
Normal file
@ -0,0 +1,57 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: cilium
|
||||
namespace: kube-system
|
||||
spec:
|
||||
interval: 12h
|
||||
url: https://helm.cilium.io/
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cilium
|
||||
namespace: kube-system
|
||||
spec:
|
||||
serviceAccountName: flux
|
||||
interval: 1h
|
||||
chart:
|
||||
spec:
|
||||
version: 1.18.0
|
||||
chart: cilium
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: cilium
|
||||
interval: 12h
|
||||
values:
|
||||
cgroup:
|
||||
autoMount:
|
||||
enabled: false
|
||||
hostRoot: /sys/fs/cgroup
|
||||
gatewayAPI:
|
||||
enableAlpn: true
|
||||
enableAppProtocol: true
|
||||
enabled: true
|
||||
ipam:
|
||||
mode: kubernetes
|
||||
k8sServiceHost: localhost
|
||||
k8sServicePort: 7445
|
||||
kubeProxyReplacement: true
|
||||
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
|
||||
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
resources:
|
||||
- cilium.yaml
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources: []
|
||||
resources:
|
||||
- ../base/cilium
|
||||
Loading…
Reference in New Issue
Block a user