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

Add DO NOT EDIT warn to bootstrap sync manifests #2050

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

stefanprodan
Copy link
Member

Fix: #2049

@stefanprodan stefanprodan added area/UX area/bootstrap Bootstrap related issues and pull requests labels Nov 4, 2021
@stefanprodan stefanprodan requested a review from hiddeco November 4, 2021 13:00
Copy link
Member

@hiddeco hiddeco left a 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?

Comment on lines +27 to +28
const GenWarning = "# This manifest was generated by flux bootstrap. DO NOT EDIT."

Copy link
Member

@hiddeco hiddeco Nov 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
`

Copy link
Member Author

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

Copy link
Member Author

@stefanprodan stefanprodan Nov 4, 2021

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.

Copy link
Member

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.

Comment on lines +27 to +28
const GenWarning = "# This manifest was generated by flux bootstrap. DO NOT EDIT."

Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap Bootstrap related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a note to YAML files which should not be changed manually
2 participants