-
Notifications
You must be signed in to change notification settings - Fork 236
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
fix: Make ResourceID field "mutable" #3434
fix: Make ResourceID field "mutable" #3434
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.
Could you also remove the Immutable.
from the field description?
I think it is sort of "correct" to include the immutable in the field description. The only valid change is from empty string -> actual resource id. Otherwise it is immutable. |
Though, maybe since it is removed from the template, we should remove from existing also. Will do. |
I think "Immutable" is a very specific concept. Something like |
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.
/lgtm
/approve
Thanks!
0dd9f8d
to
e8f4023
Compare
/lgtm |
e8f4023
to
e8131e0
Compare
In practice, due to in-controller enforcement, the only valid change is to set from empty string -> actual resource ID.
e8131e0
to
9553959
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maqiuyujoyce, yuwenma The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Agreed it will be helpful to add some comment to help users understand the validation behavior. Just added (for template and all resources) |
/lgtm |
680a127
into
GoogleCloudPlatform:master
In practice, due to in-controller enforcement, the only valid change is to set from empty string -> actual resource ID.