uninstall all

This commit is contained in:
2025-07-27 22:08:58 -05:00
parent e09c33d307
commit 4a2120f830
18 changed files with 14 additions and 303 deletions

View File

@@ -1,29 +1,30 @@
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: external-secrets
name: external-secrets-operator
namespace: openshift-gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- clusters: {} # Automatically use all clusters defined within Argo CD
# - list:
# elements:
# - cluster: dev
# url: https://kubernetes-dev.example.com
# - cluster: prod
# url: https://kubernetes-prod.example.com
- clusters: {} # Variable is .name
template:
metadata:
name: '{{cluster}}-external-secrets'
name: '{{.name}}-external-secrets'
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
project: default
source:
repoURL: 'https://github.com/rblundon/homelab.git'
repoURL: https://github.com/rblundon/homelab.git
targetRevision: HEAD
path: 'cluster/external-secrets/overlays/{{cluster}}'
path: cluster/external-secrets/overlays/{{.name}}
destination:
server: '{{url}}'
namespace: external-secrets
name: '{{.name}}'
namespace: openshift-operators
syncPolicy:
automated:
prune: true
@@ -34,8 +35,3 @@ spec:
managedNamespaceMetadata:
labels:
argocd.argoproj.io/managed-by: openshift-gitops
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/replicas