diff --git a/archive-staging-rke2/namespaces.yaml b/archive-staging-rke2/namespaces.yaml index c7ebc51d52af2fa86c972b0f4c1973b2ce86b0ff..375c760aca47b278a1e26b3d5a85cf7259500804 100644 --- a/archive-staging-rke2/namespaces.yaml +++ b/archive-staging-rke2/namespaces.yaml @@ -11,6 +11,12 @@ kind: Namespace metadata: name: swh --- +# Namespace dedicated to the swh using cassandra as backend +apiVersion: v1 +kind: Namespace +metadata: + name: swh-cassandra +--- # Namespace dedicated to cluster monitoring services apiVersion: v1 kind: Namespace diff --git a/argocd-configuration/applications/archive-staging-rke2/swh-cassandra-application.yaml b/argocd-configuration/applications/archive-staging-rke2/swh-cassandra-application.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ef0e7bcad528cc4f712deb30267142d2e2600969 --- /dev/null +++ b/argocd-configuration/applications/archive-staging-rke2/swh-cassandra-application.yaml @@ -0,0 +1,25 @@ +# Declare the application to deploy the swh services +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: archive-staging-rke2-swh-cassandra + namespace: swh-cassandra +spec: + project: default + source: + repoURL: 'https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts.git' + path: swh + targetRevision: staging + helm: + valueFiles: + - ../values-swh-application-versions.yaml + - values/default.yaml + - values/staging-cassandra.yaml + releaseName: swh-cassandra + destination: + server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-9n5h9nrf + namespace: swh-cassandra + syncPolicy: + automated: + prune: true + selfHeal: true