Browse Source

presync Resource Hook with curl command

pull/155/head
a3caicedo 3 years ago
parent
commit
1e6b2ae7d2
  1. 10
      pre-post-sync/pre-sync-job.yaml

10
pre-post-sync/pre-sync-job.yaml

@ -9,8 +9,10 @@ spec:
template: template:
spec: spec:
containers: containers:
- name: sleep - name: endpoint-consumer
image: alpine:latest image: curlimages/curl
command: ["sleep", "10"] command:
- "curl"
- "localhost:34567"
restartPolicy: Never restartPolicy: Never
backoffLimit: 0 backoffLimit: 2

Loading…
Cancel
Save