38 lines
1023 B
YAML
38 lines
1023 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: sorcerer
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- list:
|
|
elements:
|
|
- cluster: https://kubernetes.default.svc
|
|
env: prod
|
|
hostname: sorcerer.srv.oceanbox.io
|
|
- cluster: https://staging-vcluster.staging-vcluster:443
|
|
env: staging
|
|
hostname: sorcerer.beta.oceanbox.io
|
|
template:
|
|
metadata:
|
|
name: '{{ env }}-sorcerer'
|
|
spec:
|
|
project: atlantis
|
|
destination:
|
|
namespace: atlantis
|
|
server: '{{ cluster }}'
|
|
sources:
|
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
|
targetRevision: HEAD
|
|
path: charts/sorcerer
|
|
plugin:
|
|
name: kustomize-helm-with-rewrite
|
|
parameters:
|
|
- name: env
|
|
string: '{{ env }}'
|
|
- name: hostname
|
|
string: '{{ hostname }}'
|
|
# - repoURL: https://gitlab.com/oceanbox/manifests.git
|
|
# targetRevision: HEAD
|
|
# path: charts/sorcerer/manifests
|