-
Notifications
You must be signed in to change notification settings - Fork 2
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
Check configmap/secret struct for updating #497
Conversation
} | ||
} | ||
|
||
if !reflect.DeepEqual(source, dest) { |
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.
Comparing two values as a struct, not YAML strings would not trigger the constant updates.
Tested in |
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.
Nice, good catch. Is there anywhere else we need this? Like in the values service.
LGTM when tested manually and tests are green.
Values service requires k8sclient, but we don't need that for map comparison. Let's put those changes into each resource. |
Tested in |
* update go mode * compare configmap data structure * fix imports
* update go mode * compare configmap data structure * fix imports
Toward https://github.com/giantswarm/giantswarm/issues/13309
Checklist