commit | 2e1285bba8596f5e3a7a1d79ea79219fc9721030 | [log] [tgz] |
---|---|---|
author | rui hu <hu.rui2@zte.com.cn> | Sat Aug 04 02:06:04 2018 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Sat Aug 04 02:06:04 2018 +0000 |
tree | 23763005ca0164e496464421bef717508e73fd46 | |
parent | 08d21a6ca52580338c7d1eda328870e831c8d61c [diff] | |
parent | 408a87d4f67b554bf18cd05ca816ae486567a651 [diff] |
Merge "Enable sidecar for kube2msb"
diff --git a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml b/kubernetes/msb/charts/kube2msb/templates/deployment.yaml index 4313871..c9911eb 100644 --- a/kubernetes/msb/charts/kube2msb/templates/deployment.yaml +++ b/kubernetes/msb/charts/kube2msb/templates/deployment.yaml
@@ -15,6 +15,8 @@ labels: app: {{ include "common.name" . }} release: {{ .Release.Name }} + annotations: + sidecar.istio.io/inject: "{{.Values.istioSidecar}}" spec: initContainers: - command:
diff --git a/kubernetes/msb/charts/kube2msb/values.yaml b/kubernetes/msb/charts/kube2msb/values.yaml index d4ec088..9ef85e5 100644 --- a/kubernetes/msb/charts/kube2msb/values.yaml +++ b/kubernetes/msb/charts/kube2msb/values.yaml
@@ -13,7 +13,7 @@ repository: nexus3.onap.org:10001 image: onap/oom/kube2msb:1.1.0 pullPolicy: Always -istioSidecar: false +istioSidecar: true # application configuration config:
diff --git a/kubernetes/msb/charts/msb-consul/values.yaml b/kubernetes/msb/charts/msb-consul/values.yaml index 80b86bf..b87cf85 100644 --- a/kubernetes/msb/charts/msb-consul/values.yaml +++ b/kubernetes/msb/charts/msb-consul/values.yaml
@@ -11,7 +11,7 @@ dockerHubRepository: registry.hub.docker.com image: library/consul:0.9.3 pullPolicy: Always -istioSidecar: false +istioSidecar: true # application configuration config: {}