1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

helm: rename "manifests" subdir to "crds"

Rename the Helm subdir that contains CRD(s) to match the expected chart
directory structure.
This commit is contained in:
Markus Lehtonen 2022-08-19 14:58:01 +03:00
parent da3eed5101
commit acdc632935
3 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,3 @@
{{- if .Values.nodeFeatureRule.createCRD }}
{{ .Files.Get "manifests/nodefeaturerule-crd.yaml" }}
{{ .Files.Get "crds/nodefeaturerule-crd.yaml" }}
{{- end}}

View file

@ -12,7 +12,8 @@ rm -rf vendor/
controller-gen object crd output:crd:stdout paths=./pkg/apis/... > deployment/base/nfd-crds/nodefeaturerule-crd.yaml
cp deployment/base/nfd-crds/nodefeaturerule-crd.yaml deployment/helm/node-feature-discovery/manifests/
mkdir -p deployment/helm/node-feature-discovery/crds
cp deployment/base/nfd-crds/nodefeaturerule-crd.yaml deployment/helm/node-feature-discovery/crds/
rm -rf sigs.k8s.io