feat(cilium): Installing cilium with ArgoCD

This commit is contained in:
Vegard Hagen
2023-01-22 13:35:31 +01:00
parent a13e7f7df6
commit 2b840e6e8e
5 changed files with 55 additions and 1 deletions
+4 -1
View File
@@ -5,8 +5,9 @@ metadata:
namespace: argocd
spec:
sourceRepos:
- 'https://github.com/vehagn/*'
- 'https://github.com/vehagn/homelab'
- 'https://helm.traefik.io/*'
- 'https://helm.cilium.io/*'
destinations:
- namespace: 'argocd'
server: '*'
@@ -16,6 +17,8 @@ spec:
server: '*'
- namespace: 'traefik-system'
server: '*'
- namespace: 'kube-system'
server: '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'
+22
View File
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cilium
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: infrastructure
source:
plugin:
name: kustomize-build-with-helm
path: infra/cilium
repoURL: https://github.com/vehagn/homelab
targetRevision: HEAD
destination:
namespace: kube-system
name: in-cluster
syncPolicy:
automated:
selfHeal: true
prune: true
+10
View File
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
helmCharts:
- name: cilium
repo: https://helm.cilium.io
version: 1.12.2
releaseName: "cilium"
valuesFile: values.yaml
+19
View File
@@ -0,0 +1,19 @@
cluster:
id: 0
name: kubernetes
encryption:
nodeEncryption: false
kubeProxyReplacement: disabled
operator:
replicas: 1
serviceAccounts:
cilium:
name: cilium
operator:
name: cilium-operator
tunnel: vxlan