Make frontend nginx conf suitable for k8s or local deployment (no need for 'old' deployment bits)

This commit is contained in:
James Wilson
2021-08-14 11:57:52 +01:00
parent 8793d0fd5b
commit 53f7769146
7 changed files with 12 additions and 112 deletions
-9
View File
@@ -54,17 +54,8 @@ spec:
httpGet:
path: /
port: http
volumeMounts:
- name: nginx
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
readOnly: true
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
- name: nginx
configMap:
name: frontend-nginx
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}