-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 a feature flag for formatting assets #2968
Add a feature flag for formatting assets #2968
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.
Code looks good, I understand the tweak. Release notes which are super important are a bit confusing ;(
docs/releases/1.7-NOTES.md
Outdated
|
||
* Manifests are rewritten by default, which includes a normalization phase. | ||
This can make it hard to understand the actual changes (as opposed to just the formatting changes). | ||
A feature flag has been added, `export KOPS_FEATURE_FLAGS="-RewriteManifests"` which can be 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.
Not sure what the purpose of this it actually is. To the uninitiated it looks like you are running an update on a cluster twice. Can we add more context or pull?
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.
You should try kops update
on an existing cluster, with master
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 have and that is what you need to mention ;) Because of change x we did, when running on an existing cluster, you will get y behavior.
7298ebc
to
1cd8b49
Compare
Now with enhanced release notes |
Your merge with builder.go did not go ok - pkg/assets/builder.go:22: imported and not used: "k8s.io/kops/vendor/github.com/golang/glog" |
Can I have "LGTM subject to passing tests" please? Don't want to lose another day.... |
Image rewriting involves a yaml format of the manifests, which makes for a large and hard to read diff. Add a feature flag to disable it, along with a workaround to the release notes.
1cd8b49
to
8b717cf
Compare
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.
Thanks
/assign |
Self merge if you are impatient ;) |
Image rewriting involves a yaml format of the manifests, which makes for
a large and hard to read diff. Add a feature flag to disable it, along
with a workaround to the release notes.