Skip to content

Commit f869c42

Browse files
committed
separate manifest yaml - to ensure crds are installed before installing csi driver
1 parent 57440c3 commit f869c42

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ jobs:
8383
run: |
8484
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,' | sed -e 's/^v//')
8585
echo "---" >> manifest.yaml
86-
cat deploy/k8s/00-snapshot-crds.yaml >> manifest.yaml
87-
echo "---" >> manifest.yaml
8886
cat deploy/k8s/rbac.yaml >> manifest.yaml
8987
echo "---" >> manifest.yaml
9088
cat deploy/k8s/csidriver.yaml >> manifest.yaml
@@ -106,6 +104,16 @@ jobs:
106104
draft: false
107105
prerelease: false
108106

107+
- name: Upload Snapshot CRDs Asset
108+
uses: actions/upload-release-asset@v1
109+
env:
110+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
111+
with:
112+
upload_url: ${{ steps.create_release.outputs.upload_url }}
113+
asset_path: deploy/k8s/00-snapshot-crds.yaml
114+
asset_name: snapshot-crds.yaml
115+
asset_content_type: application/x-yaml
116+
109117
- name: Upload Release Asset
110118
uses: actions/upload-release-asset@v1
111119
env:

deploy/k8s/00-snapshot-crds.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,4 +952,3 @@ status:
952952
plural: ""
953953
conditions: []
954954
storedVersions: []
955-

0 commit comments

Comments
 (0)