Skip to content

Commit

Permalink
Merge pull request #1404 from consideRatio/proxy-upgrade-fix
Browse files Browse the repository at this point in the history
Bugfix for proxy upgrade strategy pr #1401
  • Loading branch information
consideRatio committed Sep 10, 2019
2 parents 3a5b37a + 6b537f4 commit 9c15a42
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions jupyterhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ proxy:
## as it only configured the old proxy pod but not the new before trying
## to reach them.
type: Recreate
## rollingUpdate:
## - WARNING:
## This is required to be set explicitly blank! Without it being
## explicitly blank, k8s will let eventual old values under rollingUpdate
## remain and then the Deployment becomes invalid and a helm upgrade would
## fail with an error like this:
##
## UPGRADE FAILED
## Error: Deployment.apps "proxy" is invalid: spec.strategy.rollingUpdate: Forbidden: may not be specified when strategy `type` is 'Recreate'
## Error: UPGRADE FAILED: Deployment.apps "proxy" is invalid: spec.strategy.rollingUpdate: Forbidden: may not be specified when strategy `type` is 'Recreate'
rollingUpdate:
service:
type: LoadBalancer
labels: {}
Expand Down

0 comments on commit 9c15a42

Please sign in to comment.