nicolaferraro commented on a change in pull request #723: Automatically
configure global build strategy
URL: https://github.com/apache/camel-k/pull/723#discussion_r290797695
##########
File path: pkg/controller/build/schedule_pod.go
##########
@@ -135,6 +156,9 @@ func newBuildPod(build *v1alpha1.Build, operatorImage
string) *corev1.Pod {
ObjectMeta: metav1.ObjectMeta{
Namespace: build.Namespace,
Name: buildPodName(build.Spec.Meta),
+ Labels: map[string]string{
+ "camel.apache.org/build": build.Name,
+ },
},
Spec: corev1.PodSpec{
ServiceAccountName: "camel-k-operator",
Review comment:
I've added a reduced sa for builder.. Tested on minikube.. Now I need to
test it on openshift.. too much manual testing
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services