-
Notifications
You must be signed in to change notification settings - Fork 532
enhanc: Create cm on cluster action oss #6607
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
base: develop
Are you sure you want to change the base?
Conversation
# Conflicts: # go.mod # go.sum # vendor/github.com/devtron-labs/common-lib/utils/k8s/K8sUtil.go # vendor/modules.txt
# Conflicts: # go.mod # go.sum # vendor/modules.txt
if err != nil { | ||
impl.logger.Errorw("error in creating secret for informers", "secretName", secretName, "err", err) | ||
cmData, labels := helper.CreateClusterModifyEventData(bean.Id, informerBean.ClusterActionAdd) | ||
if err = impl.upsertClusterConfigMap(bean, cmData, labels); err != nil { |
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.
always update label inside upsert
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.
done
|
Description
Fixes #
Checklist:
Does this PR introduce a user-facing change?