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