github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/cert-manager-webhook-oci/templates/service.yaml (about)

     1  # Portions of the code in this file are derived from https://github.com/cert-manager/webhook-example/blob/master/deploy/example-webhook/templates/service.yaml
     2  # Portions of the code in this file are derived from https://gitlab.com/dn13/cert-manager-webhook-oci/-/blob/1.1.0/deploy/cert-manager-webhook-oci/templates/service.yaml
     3  
     4  apiVersion: v1
     5  kind: Service
     6  metadata:
     7    name: {{ include "cert-manager-webhook-oci.fullname" . }}
     8    labels:
     9      app: {{ include "cert-manager-webhook-oci.name" . }}
    10      chart: {{ include "cert-manager-webhook-oci.chart" . }}
    11      release: {{ .Release.Name }}
    12      heritage: {{ .Release.Service }}
    13  spec:
    14    type: {{ .Values.service.type }}
    15    ports:
    16      - port: {{ .Values.service.port }}
    17        targetPort: https
    18        protocol: TCP
    19        name: https
    20    selector:
    21      app: {{ include "cert-manager-webhook-oci.name" . }}
    22      release: {{ .Release.Name }}