From bc945f0f42edf84bb052c85ede12c9221e7676a5 Mon Sep 17 00:00:00 2001 From: Guillaume Samson <samson.gui@free.fr> Date: Fri, 17 Mar 2023 15:41:14 +0000 Subject: [PATCH] Software-stories: declare argocd staging application --- archive-staging-rke2/namespaces.yaml | 5 ++++ .../software-stories.yaml | 25 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 argocd-configuration/applications/archive-staging-rke2/software-stories.yaml diff --git a/archive-staging-rke2/namespaces.yaml b/archive-staging-rke2/namespaces.yaml index da5a7a4..3ef9299 100644 --- a/archive-staging-rke2/namespaces.yaml +++ b/archive-staging-rke2/namespaces.yaml @@ -43,3 +43,8 @@ apiVersion: v1 kind: Namespace metadata: name: elastic-system +--- +apiVersion: v1 +kind: Namespace +metadata: + name: software-stories diff --git a/argocd-configuration/applications/archive-staging-rke2/software-stories.yaml b/argocd-configuration/applications/archive-staging-rke2/software-stories.yaml new file mode 100644 index 0000000..0c6f75e --- /dev/null +++ b/argocd-configuration/applications/archive-staging-rke2/software-stories.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: software-stories-staging-rke2 + namespace: argocd +spec: + project: default + source: + repoURL: 'https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts.git' + path: software-stories + targetRevision: staging + helm: + releaseName: software-stories + parameters: + - name: "host" + # internal hostname used by reverse proxy + value: software-stories.internal.staging.swh.network + destination: + server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-9n5h9nrf + namespace: software-stories + syncPolicy: + automated: + prune: true + selfHeal: true -- GitLab