diff --git a/helm-socks-frontend/templates/tests/failure.yaml b/helm-socks-frontend/templates/tests/failure.yaml deleted file mode 100644 index 4689e25..0000000 --- a/helm-socks-frontend/templates/tests/failure.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# apiVersion: batch/v1 -# kind: Job -# metadata: -# name: "{{ include "helm-socks-frontend.name" . }}-credentials-test-failure" -# annotations: -# argocd.argoproj.io/hook: SyncFail -# argocd.argoproj.io/hook-delete-policy: HookSucceeded -# spec: -# template: -# spec: -# containers: -# - name: check-service-up -# image: appropriate/curl -# command: -# - 'curl' -# - '-X' -# - 'POST' -# - '-H "Content-Type: application/json"' -# - '-d "{"status":"failure"}"' -# - 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb' -# restartPolicy: Never - - diff --git a/helm-socks-frontend/templates/tests/workflow.yaml b/helm-socks-frontend/templates/tests/workflow.yaml index 9d70b93..0d1424a 100644 --- a/helm-socks-frontend/templates/tests/workflow.yaml +++ b/helm-socks-frontend/templates/tests/workflow.yaml @@ -4,7 +4,7 @@ metadata: name: "{{ include "helm-socks-frontend.name" . }}-workflow" annotations: argocd.argoproj.io/hook: PostSync - argocd.argoproj.io/hook-delete-policy: HookSucceeded + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation spec: entrypoint: check-service-up onExit: exit-handler