aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2018-07-31 06:49:03 +0000
committerHuabing Zhao <zhaohuabing@gmail.com>2018-07-31 06:49:08 +0000
commitc171ac2408cfac0171f36f9415cc16dc03bb95f1 (patch)
treee8368db4046e3f86e50a4bcfe729fc3f334a59be /kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver
parentc4bc1140b18057c2e5e83b6241258d9a39105982 (diff)
Enable istio sidecar injectio for vfc
Issue-ID: VFC-1003 Change-Id: I965aa3887e26c828b8d671edd6e423c33508af91 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Diffstat (limited to 'kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver')
-rw-r--r--kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/templates/deployment.yaml2
-rw-r--r--kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/values.yaml3
2 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/templates/deployment.yaml
index ba33ec587d..0bb774abd7 100644
--- a/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/templates/deployment.yaml
+++ b/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/templates/deployment.yaml
@@ -29,6 +29,8 @@ spec:
labels:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
+ annotations:
+ sidecar.istio.io/inject: "{{.Values.istioSidecar}}"
spec:
initContainers:
#Example init container for dependency checking
diff --git a/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/values.yaml b/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/values.yaml
index 479f67c754..7019ecf1bf 100644
--- a/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/values.yaml
+++ b/kubernetes/vfc/charts/vfc-nokia-v2vnfm-driver/values.yaml
@@ -30,6 +30,9 @@ repository: nexus3.onap.org:10001
image: onap/vfc/nfvo/svnfm/nokiav2:1.1.0
pullPolicy: Always
+#Istio sidecar injection policy
+istioSidecar: true
+
# flag to enable debugging - application support required
debugEnabled: false