chore: remove lifecycle preStop because sh not exist in scratch (#2042)

master
Kevin Wan 2 years ago committed by GitHub
parent 9148f8df2a
commit 38cd7b7df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,11 +21,7 @@ spec:
- name: {{.Name}}
image: {{.Image}}
{{if .ImagePullPolicy}}imagePullPolicy: {{.ImagePullPolicy}}
{{end}}lifecycle:
preStop:
exec:
command: ["sh","-c","sleep 5"]
ports:
{{end}}ports:
- containerPort: {{.Port}}
readinessProbe:
tcpSocket:

Loading…
Cancel
Save