Skip to content

Commit

Permalink
Remove restart policy
Browse files Browse the repository at this point in the history
1. It is part of the pod and not the container
2. Deployment can only use `restartPolicy: Always` kubernetes/kubernetes#24725

Helm silently ignores the property, but if I do `helm template` and then do `kubectl apply` I can see the issue.
  • Loading branch information
alex-slynko authored and kiranjain2 committed May 10, 2019
1 parent 1234c8d commit 0df9e03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion helm/eirini/templates/bits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ spec:
- name: bits
image: flintstonecf/bits-service:latest
imagePullPolicy: Always
restartPolicy: OnFailure
ports:
- containerPort: 4443
volumeMounts:
Expand Down

0 comments on commit 0df9e03

Please sign in to comment.