diff --git a/archive-staging/namespaces.yaml b/archive-staging/namespaces.yaml new file mode 100644 index 0000000..d50776c --- /dev/null +++ b/archive-staging/namespaces.yaml @@ -0,0 +1,13 @@ +--- +# Namespace dedicated to keda +apiVersion: v1 +kind: Namespace +metadata: + name: keda +--- +# Namespace dedicated to the swh services (e.g. loaders, rpc, ...) +apiVersion: v1 +kind: Namespace +metadata: + name: swh + diff --git a/argocd/applications/archive-staging/cluster-application.yaml b/argocd/applications/archive-staging/cluster-application.yaml new file mode 100644 index 0000000..79260f2 --- /dev/null +++ b/argocd/applications/archive-staging/cluster-application.yaml @@ -0,0 +1,23 @@ +# Declare the applications applying the "archive-staging" configuration +# basically apply the content of the "archive-staging" directory on the +# "archive-staging" cluster +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: archive-staging-configuration + namespace: argocd +spec: + project: default + source: + repoURL: https://forge.softwareheritage.org/source/k8s-clusters-config.git + targetRevision: HEAD + path: archive-staging + directory: + recurse: true + destination: + server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-cx2bq + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false