c157774033
- resolve CRD annotation size limit errors by enabling server-side apply - add storage ApplicationSet and project to kustomization files Reviewed-on: #46
32 lines
806 B
YAML
32 lines
806 B
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: storage-apps
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- git:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
revision: HEAD
|
|
directories:
|
|
- path: apps/overlays/*/csi-*
|
|
template:
|
|
metadata:
|
|
name: 'storage-{{path[3]}}' # cluster-app format (e.g., storage-csi-cephfs)
|
|
spec:
|
|
project: storage
|
|
source:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
targetRevision: HEAD
|
|
path: '{{path}}'
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: '{{path[3]}}' # Use directory name as namespace
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- ServerSideApply=true
|