Skip to content
Snippets Groups Projects
Verified Commit 9589c02b authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Add cluster-components applicationset

Refs. swh/infra/sysadm-environment#4525
parent f5d5d93b
No related branches found
No related tags found
No related merge requests found
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cluster-components
namespace: argocd
spec:
generators:
- list:
elements:
- cluster: admin
branch: staging-configure-alerting
url: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-q2wd4
# - cluster: archive-staging-rke2
# branch: staging
# url: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-9n5h9nrf
# - cluster: archive-production-rke2
# branch: production
# url: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-75xcg59s
# - cluster: gitlab-staging
# branch: production
# url: https://euwest-gitlab-staging-89229db0.dd8c7b66-1c78-4e28-9fe3-6f454883861d.privatelink.westeurope.azmk8s.io:443
# - cluster: gitlab-production
# branch: production
# url: https://euwest-gitlab-production-0a7cd3d5.26178444-6cf1-498d-88b1-e8182a1b74c6.privatelink.westeurope.azmk8s.io:443
# - cluster: rancher
# branch: production
# url: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/local
template:
metadata:
name: '{{cluster}}-cluster-components'
namespace: argocd
spec:
revisionHistoryLimit: 2
project: default
source:
repoURL: 'https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts.git'
path: cluster-components
targetRevision: '{{branch}}'
helm:
valueFiles:
- 'values/{{cluster}}.yaml'
releaseName: '{{cluster}}-cluster-components'
destination:
# always apply the configuration on the argocd cluster
server: {{url}}
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment