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

chart: support configuring worker controller type #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

craigcabrey
Copy link

This is a minimal backwards compatible change to support changing the controller type for workers. It is currently hardcoded as a statefulset, but I wanted to use a deployment instead.

@@ -8,7 +8,7 @@ image:
imagePullPolicy: '{{ .Values.global.plexImage.imagePullPolicy }}'

controller:
type: statefulset
type: '{{ .Values.worker.config.type | default "statefulset" }}'
Copy link
Owner

@pabloromeo pabloromeo Jul 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance you could add this new worker.config.type parameter and its possible values to the chart's README.md (https://github.com/pabloromeo/clusterplex/blob/master/charts/clusterplex/README.md)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, however I used the helm-docs tool which generated a lot more changes than I was expecting. I could put my change in manually if you want.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah, in fact you did the right thing. My instructions were incorrect.
Let me take a look tomorrow to see if the contents still looks correct and we'll merge it in.

@craigcabrey craigcabrey force-pushed the craigcabrey/feat/worker-controller-type branch from 0cf3ba9 to 0456a89 Compare July 25, 2024 05:38
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

Successfully merging this pull request may close these issues.

2 participants