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:
parent
da3eed5101
commit
acdc632935
3 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
{{- if .Values.nodeFeatureRule.createCRD }}
|
||||
{{ .Files.Get "manifests/nodefeaturerule-crd.yaml" }}
|
||||
{{ .Files.Get "crds/nodefeaturerule-crd.yaml" }}
|
||||
{{- end}}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue