From dc116598fa1d0a1f13456a67db363e30d67a2293 Mon Sep 17 00:00:00 2001 From: marsal wang <707783088@qq.com> Date: Sun, 2 Jan 2022 22:10:00 +0800 Subject: [PATCH] 11 --- torna/templates/deployment.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/torna/templates/deployment.yaml b/torna/templates/deployment.yaml index c300770..8729ba7 100644 --- a/torna/templates/deployment.yaml +++ b/torna/templates/deployment.yaml @@ -47,18 +47,18 @@ spec: - name: TZ value: "Asia/Shanghai" {{- toYaml .Values.extraEnvVars | nindent 12 }} - resources: - {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - name: torna-config mountPath: "/torna/config/application.properties" readOnly: true subPath: "application.properties" - volumes: - - name: torna-config - configMap: - defaultMode: 0600 - name: torna-config + resources: + {{- toYaml .Values.resources | nindent 12 }} + volumes: + - name: torna-config + configMap: + defaultMode: 0600 + name: torna-config {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}