Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly indent service annotations (#25388)
When then was more than 1 annotation on the service, it would not be properly indented. ``` $ cat test-values.yaml serviceAnnotations: foo: bar bar: baz baz: qux $ helm template fleet . -f test-values.yaml --show-only templates/service.yaml --- # Source: fleet/templates/service.yaml apiVersion: v1 kind: Service metadata: labels: app: fleet chart: fleet heritage: Helm release: fleet annotations: bar: baz baz: qux foo: bar name: fleet-service namespace: fleet spec: selector: app: fleet chart: fleet heritage: Helm release: fleet ports: - name: fleet port: 8080 targetPort: 8080 ``` before: ``` $ git checkout main $ helm template fleet . -f test-values.yaml --show-only templates/service.yaml --- # Source: fleet/templates/service.yaml apiVersion: v1 kind: Service metadata: labels: app: fleet chart: fleet heritage: Helm release: fleet annotations: bar: baz baz: qux foo: bar name: fleet-service namespace: fleet spec: selector: app: fleet chart: fleet heritage: Helm release: fleet ports: - name: fleet port: 8080 targetPort: 8080
- Loading branch information