cert-manager-webhook-example/deploy/pdns-webhook/templates/apiservice.yaml
Timothy Dawson 07a65acff0
Added Better Docs and renamed helm folder (#8)
Co-authored-by: Tim Dawson <tidawson@redhat.com>
2021-07-20 02:59:28 +12:00

19 lines
630 B
YAML

apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
name: v1alpha1.{{ .Values.groupName }}
labels:
app: {{ include "example-webhook.name" . }}
chart: {{ include "example-webhook.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
annotations:
cert-manager.io/inject-ca-from: "{{ .Release.Namespace }}/{{ include "example-webhook.servingCertificate" . }}"
spec:
group: {{ .Values.groupName }}
groupPriorityMinimum: 1000
versionPriority: 15
service:
name: {{ include "example-webhook.fullname" . }}
namespace: {{ .Release.Namespace }}
version: v1alpha1