28 lines
686 B
YAML
28 lines
686 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: atlantis-resources
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- list:
|
|
elements:
|
|
- cluster: https://kubernetes.default.svc
|
|
env: prod
|
|
- cluster: https://staging-vcluster.staging-vcluster:443
|
|
env: staging
|
|
template:
|
|
metadata:
|
|
name: '{{ env }}-atlantis-resources'
|
|
spec:
|
|
project: atlantis
|
|
syncPolicy:
|
|
automated: {}
|
|
destination:
|
|
server: '{{ cluster }}'
|
|
namespace: atlantis
|
|
sources:
|
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
|
targetRevision: dev
|
|
path: 'resources/atlantis/manifests/{{ env }}'
|