added secret

This commit is contained in:
Mukul Sharma
2026-08-31 09:02:30 +05:30
parent 675dfe4595
commit 4719d0305f
3 changed files with 89 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# Bootstrap Application, applied once by hand (like app-of-projects.yaml
# and incubator/*.yaml) — ArgoCD can't sync its own entry points. Syncs
# everything under secretstores/ so SecretStore/ClusterSecretStore objects
# are GitOps-managed instead of a manual one-off kubectl apply. Mirrors
# app-of-projects.yaml exactly, kept as a separate Application (not folded
# into that one) since these are External Secrets Operator resources, not
# ArgoCD ones — different concern, same pattern.
#
# Uses the built-in "default" project — no chicken-and-egg problem, same
# reasoning as app-of-projects.yaml.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-of-secretstores
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: 'http://gitea.192.168.1.7.nip.io/mukul/devops-infra-argo-config.git'
targetRevision: main
path: secretstores
directory:
recurse: true
destination:
name: in-cluster
namespace: argocd
syncPolicy:
automated:
prune: true