Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm chart deployment broken apps.DeploymentStrategy #64

Open
rchenzheng opened this issue Jan 28, 2020 · 2 comments
Open

Helm chart deployment broken apps.DeploymentStrategy #64

rchenzheng opened this issue Jan 28, 2020 · 2 comments

Comments

@rchenzheng
Copy link

helm install --name nats-steaming --namespace nats-io -f values.yaml .

Error:

Error: release nats-steaming-operator failed: Deployment.apps "nats-steaming-operator-nats-streaming-operator" is invalid: spec.strategy: Unsupported value: apps.DeploymentStrategy{Type:"OnDelete", RollingUpdate:(*apps.RollingUpdateDeployment)(nil)}: supported values: "Recreate", "RollingUpdate"
@nick-phillips-dev
Copy link

The values.yaml references the StatefulSet docs incorrectly. The operator is deployed as a Deployment which only allows "Recreate" or "RollingUpdate", not "OnDelete"

https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy

@gnarea
Copy link

gnarea commented Jun 25, 2020

For anyone coming across this, one quick workaround could be:

helm install --set updateStrategy=RollingUpdate nats-streaming .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants