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