Skip to content

Commit 3c9de10

Browse files
authored
Fix of some minor bugs when using the driver manifest and update helm chart versions (#4)
* Fix manifest creation caused by missing linebreaks * Add empty option to description for metadataSource as possible entry * Bump app version to 3.0.0 of csi driver in helm chart
1 parent 701bc2f commit 3c9de10

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ jobs:
128128
- name: Create manifest
129129
run: |
130130
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,' | sed -e 's/^v//')
131-
echo "---" >> manifest.yaml
131+
printf "---\n" >> manifest.yaml
132132
cat deploy/k8s/rbac.yaml >> manifest.yaml
133-
echo "---" >> manifest.yaml
133+
printf "---\n" >> manifest.yaml
134134
cat deploy/k8s/csidriver.yaml >> manifest.yaml
135-
echo "---" >> manifest.yaml
135+
printf "---\n" >> manifest.yaml
136136
sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/controller-deployment.yaml >> manifest.yaml
137-
echo "---" >> manifest.yaml
137+
printf "---\n" >> manifest.yaml
138138
sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/node-daemonset.yaml >> manifest.yaml
139-
echo "---" >> manifest.yaml
139+
printf "---\n" >> manifest.yaml
140140
cat deploy/k8s/volume-snapshot-class.yaml >> manifest.yaml
141141
142142
- name: Create Release

charts/cloudstack-csi/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: cloudstack-csi
33
description: A Helm chart for CloudStack CSI driver
44
type: application
5-
version: 3.0.0
6-
appVersion: 0.6.1
5+
version: 3.0.1
6+
appVersion: 3.0.0
77
sources:
88
- https://github.com/cloudstack/cloudstack-csi-driver
99
keywords:

charts/cloudstack-csi/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ node:
280280
annotations: {}
281281
automountServiceAccountToken: true
282282
# Metadata source to try to find instance ID.
283-
# Possible values 'cloud-init' & 'ignition'
283+
# Possible values 'cloud-init' & 'ignition' or ''
284284
metadataSource: ignition
285285
# The maximum number of volumes that can be attached to a node
286286
volumeAttachLimit:

0 commit comments

Comments
 (0)