2026-09-16 20:12:36 +02:00

26 lines
620 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: tenants
namespace: argocd
spec:
# Ensure only pull from here
sourceRepos:
- https://git.bouvais.lu/adrien/ctie-exercice
# So this namespace can only affect other tenant and minio (not kube-system or argocd)
destinations:
- server: https://kubernetes.default.svc
namespace: 'tenant-*'
- server: https://kubernetes.default.svc
namespace: 'minio'
# This is necessary to create namespace
clusterResourceWhitelist:
- group: ''
kind: Namespace
namespaceResourceWhitelist:
- group: '*'
kind: '*'