-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
controller-gen unable to set file headers #464
Comments
I'd agree with this, would love to see this feature. We have a requirement to include license NOTICE headers in even our generated YAML, and this would allow us to perform this without manually injecting it after every run of |
This annoyed me that I'd get git diffs every time I ran controller-gen. Until [this issue](kubernetes-sigs/controller-tools#464) is resolved, we must rely on this hack prepending script.
This annoyed me that I'd get git diffs every time I ran controller-gen. Until [this issue](kubernetes-sigs/controller-tools#464) is resolved, we must rely on this hack prepending script.
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen Should we turn off the robot? |
@justinsb: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This I believe is a feature request. It would be awesome to have controller-gen output file headers when you generate yaml files with the clip. When generating go code you are able to set a header file, but when you generate yaml it seems that does not work.
When providing the following options the yaml files do not contain a header.
Maybe I am missing something.
The text was updated successfully, but these errors were encountered: