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

     1  # Copyright (C) 2020, 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  apiVersion: v1
     4  kind: Service
     5  metadata:
     6    name: {{ .Values.name }}
     7    namespace: {{ .Values.namespace }}
     8    labels:
     9      app: {{ .Values.name }}
    10  spec:
    11    ports:
    12      - name: http-metric
    13        protocol: TCP
    14        port: 9100
    15        targetPort: 9100
    16    selector:
    17      app: {{ .Values.name }}
    18  ---
    19  apiVersion: v1
    20  kind: Service
    21  metadata:
    22    name: {{ .Values.name }}-webhook
    23    namespace: {{ .Values.namespace }}
    24    labels:
    25      app: {{ .Values.name }}-webhook
    26  spec:
    27    ports:
    28      - name: https-webhook
    29        port: 443
    30        targetPort: 9443
    31    selector:
    32      app: {{ .Values.name }}-webhook