Skip to content

Commit

Permalink
Add created by label to created resources
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobebway committed Nov 22, 2023
1 parent 8ff1ccf commit a1461ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/eventing/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func WithLabels(publisherName string, backendType v1alpha1.BackendType) DeployOp
label.KeyName: publisherName,
label.KeyInstance: label.ValueEventing,
label.KeyDashboard: label.ValueEventing,
label.KeyCreatedBy: label.ValueEventingManager,
}
return func(d *appsv1.Deployment) {
d.Spec.Selector = metav1.SetAsLabelSelector(labels)
Expand Down

0 comments on commit a1461ed

Please sign in to comment.