1 changed files with 35 additions and 35 deletions
@ -1,37 +1,37 @@ |
|||||
# apiVersion: argoproj.io/v1alpha1 |
apiVersion: argoproj.io/v1alpha1 |
||||
# kind: Workflow |
kind: Workflow |
||||
# metadata: |
metadata: |
||||
# name: "{{ include "helm-socks-frontend.name" . }}-workflow" |
name: {{ include "helm-socks-frontend.name" . }}-workflow |
||||
# annotations: |
annotations: |
||||
# argocd.argoproj.io/hook: PostSync |
argocd.argoproj.io/hook: PostSync |
||||
# argocd.argoproj.io/hook-delete-policy: BeforeHookCreation |
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation |
||||
# spec: |
spec: |
||||
# entrypoint: check-service-up |
entrypoint: check-service-up |
||||
# onExit: exit-handler |
onExit: exit-handler |
||||
# templates: |
templates: |
||||
# - name: check-service-up |
- name: check-service-up |
||||
# container: |
container: |
||||
# image: curlimages/curl |
image: curlimages/curl |
||||
# command: ['curl'] |
command: ['curl'] |
||||
# args: |
args: |
||||
# - '-v' |
- '-v' |
||||
# - '-X' |
- '-X' |
||||
# - 'GET' |
- 'GET' |
||||
# - 'helm-socks-frontend-int.sock-shop-front-end' |
- 'helm-socks-frontend-int.sock-shop-front-end' |
||||
|
|
||||
# - name: exit-handler |
- name: exit-handler |
||||
# steps: |
steps: |
||||
# - - name: notify |
- - name: notify |
||||
# template: send-status-webhook |
template: send-status-webhook |
||||
|
|
||||
# - name: send-status-webhook |
- name: send-status-webhook |
||||
# container: |
container: |
||||
# image: curlimages/curl |
image: curlimages/curl |
||||
# command: ['curl'] |
command: ['curl'] |
||||
# args: |
args: |
||||
# - '-v' |
- '-v' |
||||
# - '-X' |
- '-X' |
||||
# - 'POST' |
- 'POST' |
||||
# - '-d' |
- '-d' |
||||
# - '{"status":"{{ `{{workflow.status}}` }}"}' |
- '{"status":"{{ `{{workflow.status}}` }}"}' |
||||
# - 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb' |
- 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb' |
||||
|
Loading…
Reference in new issue