This is an automated email from the ASF dual-hosted git repository.
chetanm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 84e53da Add a label to pods created to run user actions (#4826)
84e53da is described below
commit 84e53daa3b9e7ecb65b106ef432f4ead8f2cb9f2
Author: David Grove <[email protected]>
AuthorDate: Fri Feb 14 00:17:46 2020 -0500
Add a label to pods created to run user actions (#4826)
Adds `user-action-pod` label to mark action pods exlicitly
---
.../apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala | 1 +
1 file changed, 1 insertion(+)
diff --git
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
index ca7627a..ec115e1 100644
---
a/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
+++
b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala
@@ -56,6 +56,7 @@ class WhiskPodBuilder(client: NamespacedKubernetesClient,
.editOrNewMetadata()
.withName(name)
.addToLabels("name", name)
+ .addToLabels("user-action-pod", "true")
.addToLabels(labels.asJava)
.endMetadata()