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

Ability to template the secret output #74

Closed
ryanfaircloth opened this issue Feb 6, 2025 · 5 comments
Closed

Ability to template the secret output #74

ryanfaircloth opened this issue Feb 6, 2025 · 5 comments

Comments

@ryanfaircloth
Copy link
Contributor

ryanfaircloth commented Feb 6, 2025

The standardized secret is great for applications where I can adopt the format. I can't do that with all legacy apps. Could we provide a template for the secret so for example an application that will only accept the kafka settings as specific env vars I could template the right key/values to simply replace an existing secret and use the new secret as envfrom:

@ryanfaircloth ryanfaircloth changed the title Ability to specify name and namespace of output secret Ability to template the secret output Feb 6, 2025
@scholzj
Copy link
Member

scholzj commented Feb 6, 2025

When you map Secret to Environment variables, you do not really care about the Secret structure. so I do not think I follow the request.

@ryanfaircloth
Copy link
Contributor Author

Sometimes its a matter where for example for reasons of choices someone else made an existing applications cr asks for a secret with the env variables already properly named in the form of envFrom which doesn't let you map the secrets yourself they have to be pre-mapped. Having the ability to customize the secret as a template provides flexibility to work with existing choices where revisting those choices is for what ever reason off the table

@scholzj
Copy link
Member

scholzj commented Feb 6, 2025

Honestly, it took us 2 and half years to get out the first release and several months to fix and finish the Helm Chart release. And it still does not fulfill the main goal which is the cross-cluster access. So I'm not sure we have the space to onboard issues like this.

@ryanfaircloth
Copy link
Contributor Author

Fair, I suggest putting it in the backlog then. others will ask when it makes sense do it but not before

@katheris
Copy link
Contributor

Triaged on 20.2.2025: The Secret is created with entries that match some popular libraries. We don't intend to add more flexibility unless we get more users requesting this, so closing this issue.

@katheris katheris closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants