From dcde76ac971b3dad8b1a421a35572fe6b7f2c233 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sun, 29 Nov 2026 14:22:09 +0000 Subject: [PATCH] Put a newline before each separator in the release manifest deploy/k8s/rbac.yaml has no newline at its end, so the separator appended after it lands on its last line ("apiGroup: rbac.authorization.k8s.io---") and merges the snapshotter ClusterRoleBinding into the CSIDriver: the v3.0.0 manifest.yaml applies neither. printf "---\n" does not fix that, and fails because printf reads a format starting with "-" as an option. Signed-off-by: Brad House --- .github/workflows/release.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 051302c..1b942cb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -128,15 +128,15 @@ jobs: - name: Create manifest run: | VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,' | sed -e 's/^v//') - printf "---\n" >> manifest.yaml + printf '\n---\n' >> manifest.yaml cat deploy/k8s/rbac.yaml >> manifest.yaml - printf "---\n" >> manifest.yaml + printf '\n---\n' >> manifest.yaml cat deploy/k8s/csidriver.yaml >> manifest.yaml - printf "---\n" >> manifest.yaml + printf '\n---\n' >> manifest.yaml sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/controller-deployment.yaml >> manifest.yaml - printf "---\n" >> manifest.yaml + printf '\n---\n' >> manifest.yaml sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/node-daemonset.yaml >> manifest.yaml - printf "---\n" >> manifest.yaml + printf '\n---\n' >> manifest.yaml cat deploy/k8s/volume-snapshot-class.yaml >> manifest.yaml - name: Create Release