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:
spec:
containers:
- name: sleep
image: alpine:latest
command: ["sleep", "10"]
- name: endpoint-consumer
image: curlimages/curl
command:
- "curl"
- "localhost:34567"
restartPolicy: Never
backoffLimit: 0
backoffLimit: 2

Loading…
Cancel
Save