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

Allow patch spec.Project in templatePatch #21933

Open
sergeimonakhov opened this issue Feb 21, 2025 · 0 comments
Open

Allow patch spec.Project in templatePatch #21933

sergeimonakhov opened this issue Feb 21, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sergeimonakhov
Copy link

Summary

Allow patching spec.Project through templatePatch. Currently, this is prohibited, but there are cases when there is no access to either the ApplicationSet or the Application object, and in such cases, it is safe.

Motivation

Dynamically generate the project name using a full-fledged Go-template.

Proposal

Add some kind of unsafe flag or parameter in the config to allow patching.

@sergeimonakhov sergeimonakhov added the enhancement New feature or request label Feb 21, 2025
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