webhook-freedns/deploy/freedns-webhook/templates/apiservice.yaml

20 lines
630 B
YAML
Raw Normal View History

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