diff options
author | Pramod <pramod.raghavendra.jayathirth@intel.com> | 2019-08-05 15:35:41 -0700 |
---|---|---|
committer | Pramod <pramod.raghavendra.jayathirth@intel.com> | 2019-08-05 15:43:14 -0700 |
commit | b54f9760780c88ecd5bb8ae24766849122f871df (patch) | |
tree | d365c174bc42429bb2426301d74252a801e5f190 /deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml | |
parent | 4fb6acf5a720a0554c08a6f1d3526271b6317cdb (diff) |
Helm chart to deploy Istio-operator
Istio-operator is required to manage the
lifecycle and deployments of Istio
Issue-ID: MULTICLOUD-710
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: Ifd2d05e790148096b5c0b454208e233aa5a299f9
Diffstat (limited to 'deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml')
-rw-r--r-- | deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml | 33 |
1 files changed, 33 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 new file mode 100644 index 00000000..04ffc835 --- /dev/null +++ b/deployments/helm/servicemesh/istio-operator/templates/operator-service.yaml @@ -0,0 +1,33 @@ +apiVersion: v1 +kind: Service +metadata: + name: "{{ include "istio-operator.fullname" . }}-operator" + {{- if and .Values.prometheusMetrics.enabled (not .Values.prometheusMetrics.authProxy.enabled) }} + annotations: + prometheus.io/scrape: "true" + prometheus.io/port: "8080" + prometheus.io/scheme: http + {{- end }} + labels: + control-plane: controller-manager + controller-tools.k8s.io: "1.0" + app.kubernetes.io/name: {{ include "istio-operator.name" . }} + helm.sh/chart: {{ include "istio-operator.chart" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + app.kubernetes.io/version: {{ .Chart.AppVersion }} + app.kubernetes.io/component: operator +spec: + selector: + control-plane: controller-manager + controller-tools.k8s.io: "1.0" + app.kubernetes.io/name: {{ include "istio-operator.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/component: operator + ports: + - name: https + port: 443 + {{- if and .Values.prometheusMetrics.enabled (not .Values.prometheusMetrics.authProxy.enabled) }} + - name: metrics + port: 8080 + {{- end }} |