cert-manager-webhook-example/charts/cert-manager-webhook-dnsimple/templates/apiservice.yaml
bacht-fidi 65e684870f
fix: 🐛 removed legacy apiversions and set it as static value
Removed go template condition with legacy api version value and set it as a static value
2024-10-17 10:06:43 +02:00

19 lines
676 B
YAML

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