diff --git a/archive-production/namespaces.yaml b/archive-production/namespaces.yaml --- a/archive-production/namespaces.yaml +++ b/archive-production/namespaces.yaml @@ -16,3 +16,9 @@ kind: Namespace metadata: name: cassandra +--- +# Namespace dedicated to the swh elastic environment +apiVersion: v1 +kind: Namespace +metadata: + name: swh diff --git a/argocd/applications/archive-production/swh-application.yaml b/argocd/applications/archive-production/swh-application.yaml new file mode 100644 --- /dev/null +++ b/argocd/applications/archive-production/swh-application.yaml @@ -0,0 +1,25 @@ +# Declare the application to deploy the swh services +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: archive-production-swh + namespace: argocd +spec: + project: default + source: + repoURL: 'https://forge.softwareheritage.org/source/swh-charts.git' + path: swh + targetRevision: production + helm: + valueFiles: + - ../values-swh-application-versions.yaml + - values/default.yaml + - values/production.yaml + releaseName: swh + destination: + server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-2mwgb + namespace: swh + syncPolicy: + automated: + prune: true + selfHeal: true