What happened?
We want our Helm Chart source files to start with SPDX Copyright header files like:
#
# SPDX-FileCopyrightText: 2024 XXX
# SPDX-License-Identifier: EUPL-1.2+
#
apiVersion: v1
kind: ServiceAccount
[..]
However when we add these to our files the azure/k8s-bake@v3 fails to bake the Helm Chart because it incorrectly prepends the first line after the comments with a # like so:
# Source: templates/serviceaccount.yaml
#
# SPDX-FileCopyrightText: 2024 XXX
# SPDX-License-Identifier: EUPL-1.2+
#apiVersion: v1
kind: ServiceAccount
This seems a bug to me because comments in Helm Chart yaml files are quite normal and should be supported I think?
Version
Runner
ubuntu-latest
Relevant log output
---
# Source: zaakafhandelcomponent/templates/serviceaccount.yaml
#
# SPDX-FileCopyrightText: 2022 Atos, 2024 Lifely
# SPDX-License-Identifier: EUPL-1.2+
#apiVersion: v1
kind: ServiceAccount
What happened?
We want our Helm Chart source files to start with SPDX Copyright header files like:
However when we add these to our files the
azure/k8s-bake@v3fails to bake the Helm Chart because it incorrectly prepends the first line after the comments with a#like so:This seems a bug to me because comments in Helm Chart yaml files are quite normal and should be supported I think?
Version
Runner
ubuntu-latest
Relevant log output