-
Notifications
You must be signed in to change notification settings - Fork 763
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 io.kompose.service label to every object & use reaper to delete BuildConfig #578
Conversation
bd45726
to
a2ed264
Compare
aedf458
to
9c3aa1a
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.
I thought this was added to all the the controller types that came to function UpdateKubernetesObjects
in k8sutils.go
. Because the function has a line template.ObjectMeta.Labels = transformer.ConfigLabels(name)
If this was not set somewhere this is being replaced it seems.
@surajssd |
@kadel oh yes, thanks for clarifying that one. |
label added to BuildConfig, DaemonSet, ReplicationController, Deployment and Pod
added files required by BuildConfig reaper
I don't see anything wrong with the code, testing it, it works as intended! LGTM! |
io.kompose.service
label to BuildConfig, DaemonSet, ReplicationController and Pod.Now every object created by Kompose should have this label.
Only some of the objects had this label before. This fixes #382