-
Notifications
You must be signed in to change notification settings - Fork 622
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
Add DO NOT EDIT
warn to bootstrap sync manifests
#2050
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe provide a hint and link people to the customize documentation?
const GenWarning = "# This manifest was generated by flux bootstrap. DO NOT EDIT." | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const GenWarning = "# This manifest was generated by flux bootstrap. DO NOT EDIT." | |
const GenWarning = `# This manifest was generated by flux bootstrap. DO NOT EDIT. | |
# For modifications to the Flux configuration, see the "customize Flux manifests" documentation. | |
# Ref: https://fluxcd.io/docs/installation/#customize-flux-manifests | |
` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about Terraform? this comment ends up everywhere manifestgen is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to have a dedicated page for "Customize Flux manifests" where we address both the CLI and TF bootstrap options. After that we could update this comment and add the link to that page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should record this in a follow-up issue.
const GenWarning = "# This manifest was generated by flux bootstrap. DO NOT EDIT." | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should record this in a follow-up issue.
Signed-off-by: Stefan Prodan <[email protected]>
b02b0d3
to
04faba9
Compare
Fix: #2049