Skip to content
Snippets Groups Projects
Commit 3bfd8299 authored by OZGCloud's avatar OZGCloud
Browse files

ozg-3938 argocd delete annotation

parent 3e452002
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,9 @@ metadata:
namespace: {{ include "app.namespace" . }}
labels:
{{- include "app.defaultLabels" . | indent 4 }}
annotations:
argocd.argoproj.io/hook: Sync
argocd.argoproj.io/hook-delete-policy: HookSucceeded
spec:
template:
metadata:
......
......@@ -79,6 +79,12 @@ tests:
- equal:
path: metadata.labels["ozgcloud-mongodb-client"]
value: "true"
- equal:
path: metadata.annotations["argocd.argoproj.io/hook"]
value: Sync
- equal:
path: metadata.annotations["argocd.argoproj.io/hook-delete-policy"]
value: HookSucceeded
- it: check default template metadata
asserts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment