-
-
Notifications
You must be signed in to change notification settings - Fork 43
Add global configmap #431
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 global configmap #431
Conversation
5ba3796
to
99d9f57
Compare
|
||
logger.V(10).Info("reconcile Service", "Service", klog.KObj(service)) | ||
|
||
cm := &corev1.ConfigMap{} |
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 a question here 🤔 : Do we need to get cm obj every time we reconcile? Or can we use event triggering? Because I understand that cm will not be modified in most cases, it seems meaningless to get it every time in Reconcile. But this is not a blocking item but more of an optimization item. If it is due to the code width problem, I can submit a PR to optimize this part in the near future.
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.
Anyway, it's not a big problem. We can optimize this later.
42d466c
to
5cacbdf
Compare
/lgtm |
Signed-off-by: kerthcet <[email protected]>
Signed-off-by: kerthcet <[email protected]>
573646b
to
0777ce2
Compare
Signed-off-by: kerthcet <[email protected]>
/lgtm |
cc @carlory |
What this PR does / why we need it
Which issue(s) this PR fixes
part of #350
Special notes for your reviewer
Does this PR introduce a user-facing change?