Skip to content

Commit fe94e7c

Browse files
committed
bugfix: no newline at the end of generated template file
Signed-off-by: Artem Torubarov <torubarov.a.a@gmail.com>
1 parent 7704d84 commit fe94e7c

37 files changed

+42
-36
lines changed

examples/app/templates/batch-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ spec:
2121
| default .Chart.AppVersion }}
2222
name: pi
2323
resources: {}
24-
restartPolicy: Never
24+
restartPolicy: Never

examples/app/templates/cron-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ spec:
2323
name: hello
2424
resources: {}
2525
restartPolicy: OnFailure
26-
schedule: {{ .Values.cronJob.schedule | quote }}
26+
schedule: {{ .Values.cronJob.schedule | quote }}

examples/app/templates/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ spec:
4343
name: varlog
4444
- hostPath:
4545
path: /var/lib/docker/containers
46-
name: varlibdockercontainers
46+
name: varlibdockercontainers

examples/app/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ spec:
109109
secretName: {{ include "app.fullname" . }}-my-secret-ca
110110
- name: sample-pv-storage
111111
persistentVolumeClaim:
112-
claimName: {{ include "app.fullname" . }}-my-sample-pv-claim
112+
claimName: {{ include "app.fullname" . }}-my-sample-pv-claim

examples/app/templates/my-config-props.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ data:
88
my.prop1: {{ .Values.myConfigProps.myProp1 | quote }}
99
my.prop2: {{ .Values.myConfigProps.myProp2 | quote }}
1010
my.prop3: {{ .Values.myConfigProps.myProp3 | quote }}
11-
myval.yaml: {{ .Values.myConfigProps.myvalYaml | toYaml | indent 1 }}
11+
myval.yaml: {{ .Values.myConfigProps.myvalYaml | toYaml | indent 1 }}

examples/app/templates/my-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ data:
99
dummyconfigmapkey: {{ .Values.myConfig.dummyconfigmapkey | quote }}
1010
my_config.properties: |
1111
health.healthProbeBindAddress={{ .Values.myConfig.myConfigProperties.health.healthProbeBindAddress | quote }}
12-
metrics.bindAddress={{ .Values.myConfig.myConfigProperties.metrics.bindAddress | quote }}
12+
metrics.bindAddress={{ .Values.myConfig.myConfigProperties.metrics.bindAddress | quote }}

examples/app/templates/my-sample-pv-claim.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ spec:
1212
storage: {{ .Values.pvc.mySamplePvClaim.storageLimit | quote }}
1313
requests:
1414
storage: {{ .Values.pvc.mySamplePvClaim.storageRequest | quote }}
15-
storageClassName: {{ .Values.pvc.mySamplePvClaim.storageClass | quote }}
15+
storageClassName: {{ .Values.pvc.mySamplePvClaim.storageClass | quote }}

examples/app/templates/my-secret-ca.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
data:
88
ca.crt: {{ required "mySecretCa.caCrt is required" .Values.mySecretCa.caCrt | b64enc
99
| quote }}
10-
type: opaque
10+
type: opaque

examples/app/templates/my-secret-vars.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ data:
1414
stringData:
1515
str: {{ required "mySecretVars.str is required" .Values.mySecretVars.str | quote
1616
}}
17-
type: opaque
17+
type: opaque

examples/app/templates/myapp-ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ spec:
1616
port:
1717
number: 8443
1818
path: /testpath
19-
pathType: Prefix
19+
pathType: Prefix

0 commit comments

Comments
 (0)