summaryrefslogtreecommitdiffstats
path: root/deploy/example-webhook/templates/apiservice.yaml
diff options
context:
space:
mode:
authorJames Munnelly <james@munnelly.eu>2019-04-29 17:55:26 +0100
committerJames Munnelly <james@munnelly.eu>2019-04-29 17:55:46 +0100
commit3935fd70e743931e6322bf088cd3e1c866f2e2cd (patch)
tree5eca322b82b303ab26b9ccb2565b38a46febfb82 /deploy/example-webhook/templates/apiservice.yaml
parent2764e68e074ce4eb7c7ad3d6ee3aaaa59e2fd1de (diff)
downloadcert-manager-webhook-hostinger-3935fd70e743931e6322bf088cd3e1c866f2e2cd.tar.gz
cert-manager-webhook-hostinger-3935fd70e743931e6322bf088cd3e1c866f2e2cd.zip
Update Helm chart and Dockerfile
Signed-off-by: James Munnelly <james@munnelly.eu>
Diffstat (limited to 'deploy/example-webhook/templates/apiservice.yaml')
-rw-r--r--deploy/example-webhook/templates/apiservice.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/deploy/example-webhook/templates/apiservice.yaml b/deploy/example-webhook/templates/apiservice.yaml
new file mode 100644
index 0000000..ddd7c75
--- /dev/null
+++ b/deploy/example-webhook/templates/apiservice.yaml
@@ -0,0 +1,18 @@
+apiVersion: apiregistration.k8s.io/v1beta1
+kind: APIService
+metadata:
+ name: v1alpha1.{{ .Values.groupName }}
+ labels:
+ app: {{ include "example-webhook.name" . }}
+ chart: {{ include "example-webhook.chart" . }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+spec:
+ group: {{ .Values.groupName }}
+ groupPriorityMinimum: 1000
+ versionPriority: 15
+ insecureSkipTLSVerify: true
+ service:
+ name: {{ include "example-webhook.fullname" . }}
+ namespace: {{ .Release.Namespace }}
+ version: v1alpha1