FEAT: add finalizers to applications

This commit is contained in:
Sebastian Mark 2022-04-11 22:07:58 +02:00
parent ae6c73a238
commit 2b8efdd3a4
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,7 @@
metadata: { metadata: {
name: $.name, name: $.name,
namespace: "argocd", namespace: "argocd",
finalizers: ["resources-finalizer.argocd.argoproj.io"],
}, },
spec: { spec: {
project: "baseline", project: "baseline",

View file

@ -37,6 +37,8 @@ spec:
- name: baseline - name: baseline
namespace: argocd namespace: argocd
project: baseline project: baseline
finalizers:
- resources-finalizer.argocd.argoproj.io
source: source:
repoURL: 'https://git.smsvc.net/k8s/baseline.git' repoURL: 'https://git.smsvc.net/k8s/baseline.git'
targetRevision: HEAD targetRevision: HEAD