From 2dea2b3ebf7d3672549163737e5dd9efb0776f38 Mon Sep 17 00:00:00 2001 From: rchirakk Date: Tue, 18 Apr 2017 15:19:42 -0700 Subject: [PATCH] export k8s config in netmaster to connect to api server. --- install/k8s/k8s1.4/contiv.yaml | 5 +++++ install/k8s/k8s1.6/contiv.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/install/k8s/k8s1.4/contiv.yaml b/install/k8s/k8s1.4/contiv.yaml index eb11969..51dd41b 100644 --- a/install/k8s/k8s1.4/contiv.yaml +++ b/install/k8s/k8s1.4/contiv.yaml @@ -180,6 +180,11 @@ spec: configMapKeyRef: name: contiv-config key: cluster_store + - name: CONTIV_CONFIG + valueFrom: + configMapKeyRef: + name: contiv-config + key: config securityContext: privileged: true volumeMounts: diff --git a/install/k8s/k8s1.6/contiv.yaml b/install/k8s/k8s1.6/contiv.yaml index 5c08a2d..4335eaf 100644 --- a/install/k8s/k8s1.6/contiv.yaml +++ b/install/k8s/k8s1.6/contiv.yaml @@ -259,6 +259,11 @@ spec: configMapKeyRef: name: contiv-config key: cluster_store + - name: CONTIV_CONFIG + valueFrom: + configMapKeyRef: + name: contiv-config + key: config securityContext: privileged: true volumeMounts: