Update Helm chart and Dockerfile

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly
2019-04-29 17:55:26 +01:00
parent 2764e68e07
commit 3935fd70e7
9 changed files with 155 additions and 55 deletions

View File

@@ -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 }}