We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dacbc09 commit fe23805Copy full SHA for fe23805
.github/workflows/publish-chart.yaml
@@ -43,7 +43,16 @@ jobs:
43
- name: Package CRDs
44
shell: bash
45
run: |
46
- cp -r cmd/k8s-operator/deploy/crds cmd/k8s-operator/deploy/chart
+ cat <<EOF > cmd/k8s-operator/deploy/chart/templates/crds.yaml
47
+ {{- if .Values.installCRDs }}
48
+ EOF
49
+ for file in cmd/k8s-operator/deploy/crds/*.yaml; do
50
+ echo "---" >> cmd/k8s-operator/deploy/chart/templates/crds.yaml
51
+ cat "$file" >> cmd/k8s-operator/deploy/chart/templates/crds.yaml
52
+ done
53
+ cat <<EOF >> cmd/k8s-operator/deploy/chart/templates/crds.yaml
54
+ {{- end }}
55
56
57
- name: Package & Push Helm Charts
58
0 commit comments