github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-monitoring-operator/templates/service.yaml (about)

     1  # Copyright (c) 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  apiVersion: v1
     5  kind: Service
     6  metadata:
     7    name: {{ .Values.monitoringOperator.name }}
     8    namespace: {{ .Release.Namespace }}
     9    labels:
    10      k8s-app: {{ .Values.monitoringOperator.name }}
    11      app: {{ .Values.monitoringOperator.name }}
    12  spec:
    13    type: ClusterIP
    14    ports:
    15      - port: {{ .Values.monitoringOperator.metricsPort }}
    16        targetPort: {{ .Values.monitoringOperator.metricsPort }}
    17        name: http-metrics
    18      - port: {{ .Values.monitoringOperator.exporterPort }}
    19        targetPort: {{ .Values.monitoringOperator.exporterPort }}
    20        name: http-prom
    21    selector:
    22      k8s-app: {{ .Values.monitoringOperator.name }}