Skip to content

Commit

Permalink
fix generated crd name (#1408)
Browse files Browse the repository at this point in the history
Signed-off-by: huiwq1990 <[email protected]>
  • Loading branch information
huiwq1990 authored Apr 24, 2023
1 parent f3d4501 commit e548a5d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hack/make-rules/kustomize_to_chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ varReference:
EOF

${YURT_ROOT}/bin/kustomize build ${output_crd_dir} -o ${crd_dir}
# TODO currently kustomize may not support custom generate names, find more elegant way generate crds
mv ${crd_dir}/apiextensions.k8s.io_v1_customresourcedefinition_nodepools.apps.openyurt.io.yaml ${crd_dir}/apps.openyurt.io_nodepools.yaml
mv ${crd_dir}/apiextensions.k8s.io_v1_customresourcedefinition_staticpods.apps.openyurt.io.yaml ${crd_dir}/apps.openyurt.io_staticpods.yaml
mv ${crd_dir}/apiextensions.k8s.io_v1_customresourcedefinition_yurtappdaemons.apps.openyurt.io.yaml ${crd_dir}/apps.openyurt.io_yurtappdaemons.yaml
mv ${crd_dir}/apiextensions.k8s.io_v1_customresourcedefinition_yurtappsets.apps.openyurt.io.yaml ${crd_dir}/apps.openyurt.io_yurtappsets.yaml
mv ${crd_dir}/apiextensions.k8s.io_v1_customresourcedefinition_gateways.raven.openyurt.io.yaml ${crd_dir}/raven.openyurt.io_gateways.yaml

# rbac dir
local rbac_kustomization_resources=""
Expand Down

0 comments on commit e548a5d

Please sign in to comment.