33 lines
865 B
YAML
33 lines
865 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: cerbos
|
|
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 }}-cerbos'
|
|
spec:
|
|
project: aux
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: idp
|
|
sources:
|
|
- repoURL: https://download.cerbos.dev/helm-charts
|
|
targetRevision: 0.33.0
|
|
chart: cerbos
|
|
helm:
|
|
valueFiles:
|
|
- $values/charts/cerbos/values.yaml
|
|
- $values/charts/cerbos/values-{{ env }}.yaml
|
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
|
targetRevision: main
|
|
ref: values
|