From 3275393a8b58223281206c61e1516e0a995e30dc Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 16 Nov 2021 17:15:36 +0100 Subject: [PATCH] add argocd helm --- k8s/argocd-helm/Chart.yaml | 7 +++++++ k8s/{argocd/base => argocd-helm/templates}/ingress.yaml | 4 ++-- k8s/argocd-helm/values-staging.yaml | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 k8s/argocd-helm/Chart.yaml rename k8s/{argocd/base => argocd-helm/templates}/ingress.yaml (92%) create mode 100644 k8s/argocd-helm/values-staging.yaml diff --git a/k8s/argocd-helm/Chart.yaml b/k8s/argocd-helm/Chart.yaml new file mode 100644 index 0000000..939c9fb --- /dev/null +++ b/k8s/argocd-helm/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +name: argocd +version: '1.0' +dependencies: + - name: argo-cd + version: "2.1.5" + repository: "https://argoproj.github.io/argo-helm" \ No newline at end of file diff --git a/k8s/argocd/base/ingress.yaml b/k8s/argocd-helm/templates/ingress.yaml similarity index 92% rename from k8s/argocd/base/ingress.yaml rename to k8s/argocd-helm/templates/ingress.yaml index 155b471..21f2b81 100644 --- a/k8s/argocd/base/ingress.yaml +++ b/k8s/argocd-helm/templates/ingress.yaml @@ -14,7 +14,7 @@ metadata: nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" spec: rules: - - host: example.com + - host: {{ .Values.hostname}} http: paths: - path: / @@ -26,5 +26,5 @@ spec: name: https tls: - hosts: - - example.com + - {{ .Values.hostname}} secretName: argocd-secret # do not change, this is provided by Argo CD \ No newline at end of file diff --git a/k8s/argocd-helm/values-staging.yaml b/k8s/argocd-helm/values-staging.yaml new file mode 100644 index 0000000..6ab6db0 --- /dev/null +++ b/k8s/argocd-helm/values-staging.yaml @@ -0,0 +1 @@ +hostname: "argocd.staging.video.jamkazam.com" \ No newline at end of file