File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,17 @@ jobs:
6060 curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
6161 mv kustomize /usr/local/bin
6262
63+ - name : Package Helm chart with crds folder in template
64+ run : |
65+ helm package dist/chart --version ${{ steps.chart_version.outputs.version }}-crds
66+
6367 - name : Prepare CRDs folder
6468 run : |
6569 mkdir -p dist/chart/crds
6670 kustomize build config/default | yq ea 'select(.kind == "CustomResourceDefinition")' > dist/chart/crds/crds.yaml
6771 rm -rf dist/chart/templates/crd
6872
69- - name : Package Helm chart
73+ - name : Package Helm chart with removed crds folder from template folder
7074 run : |
7175 helm package dist/chart --version ${{ steps.chart_version.outputs.version }}
7276
7680
7781 - name : Push Helm chart to GHCR
7882 run : |
79- helm push metal-operator-${{ steps.chart_version.outputs.version }}.tgz oci://ghcr.io/${{ github.repository_owner }}/charts
83+ helm push metal-operator-${{ steps.chart_version.outputs.version }}.tgz oci://ghcr.io/${{ github.repository_owner }}/charts
84+ helm push metal-operator-${{ steps.chart_version.outputs.version }}-crds.tgz oci://ghcr.io/${{ github.repository_owner }}/charts
You can’t perform that action at this time.
0 commit comments