github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/cert-manager-webhook-oci/templates/apiservice.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/apiservice.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/apiservice.yaml
     3  
     4  apiVersion: apiregistration.k8s.io/v1
     5  kind: APIService
     6  metadata:
     7    name: v1alpha1.{{ .Values.groupName }}
     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    annotations:
    14      cert-manager.io/inject-ca-from: "{{ .Release.Namespace }}/{{ include "cert-manager-webhook-oci.servingCertificate" . }}"
    15  spec:
    16    group: {{ .Values.groupName }}
    17    groupPriorityMinimum: 1000
    18    versionPriority: 15
    19    service:
    20      name: {{ include "cert-manager-webhook-oci.fullname" . }}
    21      namespace: {{ .Release.Namespace }}
    22    version: v1alpha1