Skip to content

Commit

Permalink
fix(instant-chart): restartPolicy shouldn't have default value 'OnFai…
Browse files Browse the repository at this point in the history
…lure'

Error: UPGRADE FAILED: cannot patch 'xxx' with kind Deployment:
Deployment.apps 'xxx' is invalid: spec.template.spec.restartPolicy:
Unsupported value: 'OnFailure': supported values: 'Always'.
  • Loading branch information
kimyvgy committed Nov 24, 2024
1 parent 00fb34e commit 6ce8ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/instant-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords:
- general
- phelab
type: application
version: 0.5.0
version: 0.5.1
dependencies:
- name: common
version: 2.20.5
Expand Down
2 changes: 1 addition & 1 deletion charts/instant-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ initContainers: []

## Pod restart policy
##
restartPolicy: OnFailure
restartPolicy: ""

## A list of volumes to be added to the pod
## E.g.
Expand Down

0 comments on commit 6ce8ea4

Please sign in to comment.