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

enable name overrides #490

Merged
merged 3 commits into from
Feb 12, 2025
Merged

enable name overrides #490

merged 3 commits into from
Feb 12, 2025

Conversation

alexr56k
Copy link
Contributor

Description

This simple change will allow you to assert a new chart name for the helm installation. It does not introduce any regressions with the normal behavior of the chart.

Reasoning

I found a need for this while trying to deploy multiple Buildkite queues with the same parent chart. I essentially made a parent that calls this chart (n) times as a subchart dependency. This allows me to manage multiple queues with wildly different configurations without managing individual charts.

If requested, I'd be happy to provide a readme example for my specific use case.

Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! I think this is overall good.

I think at minimum you will need to define the new nameOverride and fullnameOverride in charts/agent-stack-k8s/values.schema.json, otherwise Helm install may fail to validate values.yaml.

@alexr56k alexr56k requested a review from a team as a code owner February 11, 2025 19:32
@alexr56k
Copy link
Contributor Author

Thanks for the suggestions @DrJosh9000 . I've made the requisite changes to the chart.

Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@DrJosh9000 DrJosh9000 merged commit dd64ba4 into buildkite:main Feb 12, 2025
1 check passed
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.

3 participants