aboutsummaryrefslogtreecommitdiffstats
path: root/deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml
diff options
context:
space:
mode:
authorPramod <pramod.raghavendra.jayathirth@intel.com>2019-10-23 16:14:19 -0700
committerPramod <pramod.raghavendra.jayathirth@intel.com>2019-10-25 13:57:45 -0700
commitccbd9d767ad08455382e2cec91e0bfc4ed7ea942 (patch)
treece30f65b5cbf585f25cca57b9888e2378a8eb542 /deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml
parenteaa37b56ecb872c85e1ac1f7c5ca8398ae340f23 (diff)
Upgrade istio-operator
Issue-ID: AAF-1023 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I863a06ee8f504febb822d02c054860065ad888b9
Diffstat (limited to 'deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml')
-rw-r--r--deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml b/deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml
index 04ffc835..bc49dcfd 100644
--- a/deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml
+++ b/deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml
@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: "{{ include "istio-operator.fullname" . }}-operator"
+ namespace: {{ .Release.Namespace }}
{{- if and .Values.prometheusMetrics.enabled (not .Values.prometheusMetrics.authProxy.enabled) }}
annotations:
prometheus.io/scrape: "true"
@@ -26,8 +27,12 @@ spec:
app.kubernetes.io/component: operator
ports:
- name: https
+ protocol: TCP
port: 443
+ targetPort: 443
{{- if and .Values.prometheusMetrics.enabled (not .Values.prometheusMetrics.authProxy.enabled) }}
- name: metrics
+ protocol: TCP
port: 8080
+ targetPort: 8080
{{- end }}