Files
7340eb5414 feat: PreDelete hooks support (Issue #13975) (#22288)
Signed-off-by: Dan Garfield <[email protected]>
Signed-off-by: Pedro Ribeiro <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Andrii Korotkov <[email protected]>
Co-authored-by: Dan Garfield <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrii Korotkov <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
Co-authored-by: pedro-ribeiro-rci <[email protected]>
Co-authored-by: Pedro Ribeiro <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2025-12-05 20:27:03 +00:00

25 lines
493 B
YAML

apiVersion: v1
kind: Pod
metadata:
annotations:
argocd.argoproj.io/hook: PreDelete
labels:
argocd.argoproj.io/hook-type: PreDelete
name: hook
spec:
containers:
- command:
- "sleep"
- "3"
image: quay.io/argoprojlabs/argocd-e2e-container:0.1
imagePullPolicy: IfNotPresent
name: main
restartPolicy: Never
---
# Regular resource to be managed and deleted
apiVersion: v1
kind: ConfigMap
metadata:
name: guestbook-ui
data:
app: "guestbook"