Unverified Commit db980fd0 authored by jimbob687's avatar jimbob687 Committed by GitHub

The formatting isn't templating correctly, resources will end up on the same line (#181)

``` resources: limits: cpu: 750m memory: 600Mi requests: cpu: 500m memory: 600Mi ``` corrects it to: ``` resources: limits: cpu: 750m memory: 600Mi requests: cpu: 500m memory: 600Mi ``` Assuming your values file is set to: ``` bootstrap: auth: # A secret with keys "username" and "password" is required secretName: mysecret ddldml: configMap: my-ddl-dml-config resources: requests: memory: "600Mi" cpu: "500m" limits: memory: "600Mi" cpu: "750m" ```
parent 41043b5c
......@@ -101,7 +101,7 @@ spec:
- -path
- /ddldml/ddl
resources:
{{ toYaml .Values.bootstrap.ddldml.resources | indent 10 }}
{{- toYaml .Values.bootstrap.ddldml.resources | nindent 10 }}
{{ end }}
{{- if .Values.bootstrap.ddldml.configMap }}
- name: dml
......@@ -138,7 +138,7 @@ spec:
- -path
- /ddldml/dml
resources:
{{ toYaml .Values.bootstrap.ddldml.resources | indent 10 }}
{{- toYaml .Values.bootstrap.ddldml.resources | nindent 10 }}
{{ end }}
containers:
- name: success
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment