Give Argo bootstrap resources a single owner

This commit is contained in:
Erki Aas
2026-09-18 12:35:06 +03:00
parent 3ab70fedae
commit c429f5b6a7
2 changed files with 2 additions and 1 deletions
+36
View File
@@ -0,0 +1,36 @@
# Owned by argocd; keep outside applications/ to avoid duplicate ownership.
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
namespace: argocd
name: k-space.ee
spec:
clusterResourceWhitelist:
- group: '*'
kind: '*'
destinations:
- namespace: '*'
server: '*'
sourceRepos:
- '*'
orphanedResources:
warn: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd-applications
namespace: argocd
spec:
project: k-space.ee
source:
repoURL: 'git@git.k-space.ee:k-space/kube.git'
path: argocd/applications
targetRevision: HEAD
destination:
server: 'https://kubernetes.default.svc'
namespace: argocd
syncPolicy:
automated:
prune: false