build: remove unneeded empty YAML document from deployment artifacts

The generated files under the deploy/ directory contain an empty YAML
document that may cause confusion for some versions of kubectl. Dropping
the unneeded `---` start of the file for the header should make parsing
of the deployment artifacts a little less error prone.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-10-12 13:36:41 +02:00 committed by mergify[bot]
parent c443320126
commit cff0e04e3c
4 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,3 @@
---
#
# /!\ DO NOT MODIFY THIS FILE
#

View File

@ -1,4 +1,3 @@
---
#
# /!\ DO NOT MODIFY THIS FILE
#

View File

@ -1,4 +1,3 @@
---
#
# /!\ DO NOT MODIFY THIS FILE
#

View File

@ -25,8 +25,7 @@ import (
"github.com/ceph/ceph-csi/api/deploy/ocp"
)
const header = `---
#
const header = `#
# /!\ DO NOT MODIFY THIS FILE
#
# This file has been automatically generated by Ceph-CSI yamlgen.