openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rab...@apache.org
Subject [incubator-openwhisk-deploy-kube] branch master updated: plumbing for INVOKER_CONTAINER_DNS (#146)
Date Thu, 11 Jan 2018 19:07:38 GMT
This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new a2fc6ef  plumbing for INVOKER_CONTAINER_DNS (#146)
a2fc6ef is described below

commit a2fc6ef4a6cde94805f78e38028fa2d3b691d9f9
Author: David Grove <dgrove-oss@users.noreply.github.com>
AuthorDate: Thu Jan 11 14:07:37 2018 -0500

    plumbing for INVOKER_CONTAINER_DNS (#146)
    
    Flow the setting of invoker_container_dns from the
    invoker config map to the invoker pod's environment
    to enable setting custom dns servers for an openwhisk
    deployment.
    
    Fixes #86
---
 kubernetes/invoker/invoker.env | 1 +
 kubernetes/invoker/invoker.yml | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/kubernetes/invoker/invoker.env b/kubernetes/invoker/invoker.env
index 0616c19..75285b8 100644
--- a/kubernetes/invoker/invoker.env
+++ b/kubernetes/invoker/invoker.env
@@ -1,6 +1,7 @@
 java_opts=-Xmx2g
 invoker_opts=
 invoker_container_network=bridge
+invoker_container_dns=
 invoker_use_runc=false
 docker_image_prefix=openwhisk
 docker_image_tag=latest
diff --git a/kubernetes/invoker/invoker.yml b/kubernetes/invoker/invoker.yml
index 0672a19..c9739c9 100644
--- a/kubernetes/invoker/invoker.yml
+++ b/kubernetes/invoker/invoker.yml
@@ -89,6 +89,11 @@ spec:
               configMapKeyRef:
                 name: invoker.config
                 key: invoker_container_network
+          - name: "INVOKER_CONTAINER_DNS"
+            valueFrom:
+              configMapKeyRef:
+                name: invoker.config
+                key: invoker_container_dns
           - name: "INVOKER_USE_RUNC"
             valueFrom:
               configMapKeyRef:

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message