switching external secrets to app set

This commit is contained in:
2025-07-27 01:10:47 -05:00
parent e5f84ccbf2
commit e6abae943d
4 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: external-secrets
namespace: openshift-gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
template:
metadata:
name: '{{.cluster}}-external-secrets'
spec:
project: default
source:
repoURL: https://github.com/rblundon/homelab.git
targetRevision: HEAD
path: cluster/external-secrets/overlays/{{.cluster}}
destination:
# server: '{{.url}}'
name: '{{.name}}'
namespace: openshift-operators
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- RespectIgnoreDifferences=true
- CreateNamespace=true
managedNamespaceMetadata:
labels:
argocd.argoproj.io/managed-by: openshift-gitops

View File

@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonAnnotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
resources:
# - github.com/redhat-cop/gitops-catalog/external-secrets-operator/operator/overlays/stable
# - github.com/redhat-cop/gitops-catalog/external-secrets-operator/instance/overlays/default
- ../../base