Fix volumemounts indent issue
Using {{- if for the volume mounts caused them to be added inline with the previous line. Removing the - from the if expression makes them be properly aligned on the next line Change-Id: Ia5e28366fb1f2ae7420b7f5217c10cbb94bc48ab
This commit is contained in:
parent
94ac3569f5
commit
715f4bcfff
@ -130,7 +130,7 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- name: pod-shared
|
- name: pod-shared
|
||||||
mountPath: /tmp/pod-shared
|
mountPath: /tmp/pod-shared
|
||||||
{{- if $mounts_ironic_api.volumeMounts }}{{ toYaml $mounts_ironic_api.volumeMounts | indent 12 }}{{ end }}
|
{{ if $mounts_ironic_api.volumeMounts }}{{ toYaml $mounts_ironic_api.volumeMounts | indent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: ironic-bin
|
- name: ironic-bin
|
||||||
configMap:
|
configMap:
|
||||||
@ -142,5 +142,5 @@ spec:
|
|||||||
defaultMode: 0444
|
defaultMode: 0444
|
||||||
- name: pod-shared
|
- name: pod-shared
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- if $mounts_ironic_api.volumes }}{{ toYaml $mounts_ironic_api.volumes | indent 8 }}{{ end }}
|
{{ if $mounts_ironic_api.volumes }}{{ toYaml $mounts_ironic_api.volumes | indent 8 }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -216,7 +216,7 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- name: pod-data
|
- name: pod-data
|
||||||
mountPath: /var/lib/openstack-helm
|
mountPath: /var/lib/openstack-helm
|
||||||
{{- if $mounts_ironic_conductor.volumeMounts }}{{ toYaml $mounts_ironic_conductor.volumeMounts | indent 12 }}{{ end }}
|
{{ if $mounts_ironic_conductor.volumeMounts }}{{ toYaml $mounts_ironic_conductor.volumeMounts | indent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: pod-shared
|
- name: pod-shared
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
@ -244,5 +244,5 @@ spec:
|
|||||||
path: /sys
|
path: /sys
|
||||||
- name: pod-data
|
- name: pod-data
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- if $mounts_ironic_conductor.volumes }}{{ toYaml $mounts_ironic_conductor.volumes | indent 8 }}{{ end }}
|
{{ if $mounts_ironic_conductor.volumes }}{{ toYaml $mounts_ironic_conductor.volumes | indent 8 }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -108,7 +108,7 @@ spec:
|
|||||||
mountPath: /etc/apache2/conf-enabled/wsgi-nova-placement.conf
|
mountPath: /etc/apache2/conf-enabled/wsgi-nova-placement.conf
|
||||||
subPath: wsgi-nova-placement.conf
|
subPath: wsgi-nova-placement.conf
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- if $mounts_nova_placement.volumeMounts }}{{ toYaml $mounts_nova_placement.volumeMounts | indent 12 }}{{ end }}
|
{{ if $mounts_nova_placement.volumeMounts }}{{ toYaml $mounts_nova_placement.volumeMounts | indent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: wsgi-nova
|
- name: wsgi-nova
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
@ -120,5 +120,5 @@ spec:
|
|||||||
secret:
|
secret:
|
||||||
secretName: nova-etc
|
secretName: nova-etc
|
||||||
defaultMode: 0444
|
defaultMode: 0444
|
||||||
{{- if $mounts_nova_placement.volumes }}{{ toYaml $mounts_nova_placement.volumes | indent 8 }}{{ end }}
|
{{ if $mounts_nova_placement.volumes }}{{ toYaml $mounts_nova_placement.volumes | indent 8 }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -93,7 +93,7 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- name: varlibironic
|
- name: varlibironic
|
||||||
mountPath: /var/lib/ironic
|
mountPath: /var/lib/ironic
|
||||||
{{- if $mounts_nova_compute_ironic.volumeMounts }}{{ toYaml $mounts_nova_compute_ironic.volumeMounts | indent 12 }}{{ end }}
|
{{ if $mounts_nova_compute_ironic.volumeMounts }}{{ toYaml $mounts_nova_compute_ironic.volumeMounts | indent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: nova-bin
|
- name: nova-bin
|
||||||
configMap:
|
configMap:
|
||||||
@ -106,5 +106,5 @@ spec:
|
|||||||
- name: varlibironic
|
- name: varlibironic
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/ironic
|
path: /var/lib/ironic
|
||||||
{{- if $mounts_nova_compute_ironic.volumes }}{{ toYaml $mounts_nova_compute_ironic.volumes | indent 8 }}{{ end }}
|
{{ if $mounts_nova_compute_ironic.volumes }}{{ toYaml $mounts_nova_compute_ironic.volumes | indent 8 }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -57,12 +57,12 @@ spec:
|
|||||||
mountPath: /tmp/bootstrap.sh
|
mountPath: /tmp/bootstrap.sh
|
||||||
subPath: bootstrap.sh
|
subPath: bootstrap.sh
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- if $mounts_rally_bootstrap.volumeMounts }}{{ toYaml $mounts_rally_bootstrap.volumeMounts | indent 12 }}{{ end }}
|
{{ if $mounts_rally_bootstrap.volumeMounts }}{{ toYaml $mounts_rally_bootstrap.volumeMounts | indent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: rally-bin
|
- name: rally-bin
|
||||||
configMap:
|
configMap:
|
||||||
name: rally-bin
|
name: rally-bin
|
||||||
defaultMode: 0555
|
defaultMode: 0555
|
||||||
{{- if $mounts_rally_bootstrap.volumes }}{{ toYaml $mounts_rally_bootstrap.volumes | indent 8 }}{{ end }}
|
{{ if $mounts_rally_bootstrap.volumes }}{{ toYaml $mounts_rally_bootstrap.volumes | indent 8 }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user