1
0
Fork 0

feat: add cherry cluster basic infra

This commit is contained in:
Vojtěch Mareš 2023-09-28 22:02:20 +02:00
parent 6258e7376a
commit c42d335aed
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
3 changed files with 89 additions and 0 deletions

View file

@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cherry-cert-manager
namespace: argocd
spec:
project: infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
server: https://kubernetes.default.svc
namespace: cert-manager
source:
chart: cert-manager
repoURL: https://charts.jetstack.io
targetRevision: 1.13.1
helm:
releaseName: cert-manager
valuesObject:
installCRDs: true

View file

@ -0,0 +1,34 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cherry-cilium
namespace: argocd
spec:
project: infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
server: "https://kubernetes.default.svc"
namespace: kube-system
source:
chart: cilium
repoURL: https://helm.cilium.io/
targetRevision: 1.14.2
helm:
releaseName: cilium
valuesObject:
operator:
replicas: 1
# Needed to run ingress-nginx in hostPort mode
kubeProxyReplacement: true
k8sServiceHost: 172.16.140.1
k8sServicePort: 6443
hubble:
relay:
enabled: true
ui:
enabled: true

View file

@ -0,0 +1,31 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cherry-ingress-nginx
namespace: argocd
spec:
project: infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
server: "https://kubernetes.default.svc"
namespace: ingress-nginx
source:
chart: ingress-nginx
repoURL: https://kubernetes.github.io/ingress-nginx
targetRevision: 4.8.0
helm:
releaseName: ingress-nginx
valuesObject:
# TODO: enable proxy protocol
controller:
kind: DaemonSet
service:
# TODO: use Service .spec.type: NodePort
type: ClusterIP
hostPort:
enabled: true