summaryrefslogtreecommitdiffstats
path: root/deploy/example-webhook/templates/deployment.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/deployment.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/deployment.yaml')
-rw-r--r--deploy/example-webhook/templates/deployment.yaml18
1 files changed, 12 insertions, 6 deletions
diff --git a/deploy/example-webhook/templates/deployment.yaml b/deploy/example-webhook/templates/deployment.yaml
index 4ae5220..fc0acbd 100644
--- a/deploy/example-webhook/templates/deployment.yaml
+++ b/deploy/example-webhook/templates/deployment.yaml
@@ -19,22 +19,28 @@ spec:
app: {{ include "example-webhook.name" . }}
release: {{ .Release.Name }}
spec:
+ serviceAccountName: {{ include "example-webhook.fullname" . }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
+ env:
+ - name: GROUP_NAME
+ value: {{ .Values.groupName | quote }}
ports:
- - name: http
- containerPort: 80
+ - name: https
+ containerPort: 443
protocol: TCP
livenessProbe:
httpGet:
- path: /
- port: http
+ scheme: HTTPS
+ path: /healthz
+ port: https
readinessProbe:
httpGet:
- path: /
- port: http
+ scheme: HTTPS
+ path: /healthz
+ port: https
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.nodeSelector }}