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

Concourse Helm Chart - Specify custom Worker Secrets name #345

Open
jgifford25 opened this issue Sep 25, 2023 · 0 comments
Open

Concourse Helm Chart - Specify custom Worker Secrets name #345

jgifford25 opened this issue Sep 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jgifford25
Copy link

jgifford25 commented Sep 25, 2023

Is your feature request related to a problem? Please describe.

When deploying two implementations of the Helm Chart in the same namespace, unable to share a single worker secret between the two deployments.

Describe the solution you'd like

In worker-deployment.yaml and worker-statefulset.yaml, the worker secrets are configured as a named volume as such:

secretName: {{ template "concourse.worker.fullname" . }}

Unfortunately, the above uses a helm template function and the secret name is autogenerated by that function is not configurable nor overridable through the values.yaml or as overrides in the helm chart execution. And if you do override the name to match, name conflicts with the deployment of the Helm chart will ensue.

In our case, we're deploying two (2) groups of workers that are configured very differently (i.e. Windows vs. Unix), and since we already have our worker-secrets configured AND stored outside of the first helm chart, it would be advantageous to share the same secret instead of duplicating it for the second Helm Chart installation. Even another user who has two deployments of Concourse workers via Helm might want to share the secret configuration auto-generated by the first Helm Chart with the second Helm Chart deployment.

The solution would be to allow a custom value to override the secret name created by the helm chart template function.

Describe alternatives you've considered

No response

Additional context

No response

@jgifford25 jgifford25 added the enhancement New feature or request label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant