From 1a3111d6ab2a1adad0c8eb5b7b20e18ebdc7f0a3 Mon Sep 17 00:00:00 2001 From: Leon Liu Date: Sun, 10 Nov 2024 00:03:02 +0900 Subject: [PATCH] nginx-ingress + cert-manager --- apps/templates/cert-manager.yaml | 20 ++++++++++++++++++++ apps/templates/ingress-nginx.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 apps/templates/cert-manager.yaml create mode 100644 apps/templates/ingress-nginx.yaml diff --git a/apps/templates/cert-manager.yaml b/apps/templates/cert-manager.yaml new file mode 100644 index 0000000..c93bd56 --- /dev/null +++ b/apps/templates/cert-manager.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cert-manager + namespace: argocd +spec: + destination: + namespace: cert-manager + server: {{ .Values.spec.destination.server }} + project: default + source: + chart: cert-manager + repoURL: https://charts.jetstack.io + targetRevision: 1.*.* + helm: + valuesObject: + crds: + enabled: true + syncPolicy: + automated: {} \ No newline at end of file diff --git a/apps/templates/ingress-nginx.yaml b/apps/templates/ingress-nginx.yaml new file mode 100644 index 0000000..37b13ee --- /dev/null +++ b/apps/templates/ingress-nginx.yaml @@ -0,0 +1,25 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ingress-nginx + namespace: argocd +spec: + destination: + namespace: ingress-nginx + server: {{ .Values.spec.destination.server }} + project: default + source: + chart: ingress-nginx + repoURL: https://kubernetes.github.io/ingress-nginx + targetRevision: 4.*.* + helm: + valuesObject: + controller: + hostNetwork: true + service: + enabled: false + kind: DaemonSet + tcp: + 22: "gitea/gitea-ssh:22" + syncPolicy: + automated: {} \ No newline at end of file