github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-application-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  ---
     4  apiVersion: v1
     5  kind: Service
     6  metadata:
     7    name: {{ .Values.name }}
     8    namespace: {{ .Values.namespace }}
     9    labels:
    10      app: {{ .Values.name }}
    11  spec:
    12    ports:
    13      - name: https-webhook
    14        port: 443
    15        targetPort: 9443
    16      - name: http-metric
    17        protocol: TCP
    18        port: 9100
    19        targetPort: 9100
    20    selector:
    21      app: {{ .Values.name }}
    22  ---
    23  apiVersion: v1
    24  kind: Service
    25  metadata:
    26    name: {{ .Values.name }}-webhook
    27    namespace: {{ .Values.namespace }}
    28    labels:
    29      app: {{ .Values.name }}-webhook
    30  spec:
    31    ports:
    32      - name: https-webhook
    33        port: 443
    34        targetPort: 9443
    35      - name: http-metric
    36        protocol: TCP
    37        port: 9100
    38        targetPort: 9100
    39    selector:
    40      app: {{ .Values.name }}-webhook