Last active
July 1, 2022 23:53
-
-
Save mdrakiburrahman/335d5b12f054a12233ed7a3e6f699095 to your computer and use it in GitHub Desktop.
ArgoCD Hook Health issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
annotations: | |
argocd.argoproj.io/sync-wave: "-1" | |
name: single-job-hook-no | |
--- | |
apiVersion: v1 | |
data: | |
password: aGVsbG8K | |
username: aGVsbG8K | |
kind: Secret | |
metadata: | |
name: regular-secret | |
type: Opaque | |
--- | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: regular-job-no-hook | |
spec: | |
template: | |
spec: | |
containers: | |
- command: | |
- sleep | |
- "10" | |
image: nginxinc/nginx-unprivileged | |
name: job | |
restartPolicy: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
annotations: | |
argocd.argoproj.io/sync-wave: "-1" | |
name: single-job-hook-yes | |
--- | |
apiVersion: v1 | |
data: | |
password: aGVsbG8K | |
username: aGVsbG8K | |
kind: Secret | |
metadata: | |
name: regular-secret | |
type: Opaque | |
--- | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
annotations: | |
argocd.argoproj.io/hook: Sync | |
argocd.argoproj.io/hook-delete-policy: HookSucceeded | |
name: regular-job-no-hook | |
spec: | |
template: | |
spec: | |
containers: | |
- command: | |
- sleep | |
- "10" | |
image: nginxinc/nginx-unprivileged | |
name: job | |
restartPolicy: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment