In gha-runner-scale-set, some newlines are being unnecessarily added to items in lists. This PR helps cleanup newlines added to template.spec.volumes and template.spec.containers.volumeMounts.
Here is an example using version 0.9.3. Below is the values.yaml file.
template:
spec:
containers:
- name: test
volumeMounts:
- name: test
mountPath: /path
subPath: file
volumes:
- name: test
secret:
secretName: secret
items:
- key: file
path: file
This was the resulting manifest for AutoscalingRunnerSet. There are newlines added in the items for template.spec.volumes and template.spec.containers.volumeMounts. The newlines are removed while maintaining proper indentation with this PR.
In gha-runner-scale-set, some newlines are being unnecessarily added to items in lists. This PR helps cleanup newlines added to
template.spec.volumes
andtemplate.spec.containers.volumeMounts
.Here is an example using version 0.9.3. Below is the
values.yaml
file.This was the resulting manifest for AutoscalingRunnerSet. There are newlines added in the items for
template.spec.volumes
andtemplate.spec.containers.volumeMounts
. The newlines are removed while maintaining proper indentation with this PR.