diff --git a/k8s/crds.yaml b/k8s/crds.yaml index 6652cb23e2..d31069e500 100644 --- a/k8s/crds.yaml +++ b/k8s/crds.yaml @@ -1,4 +1,4 @@ -# Generating crds.yaml from github.com/longhorn/longhorn-manager/k8s/pkg/apis and the crds.yaml will be copied to longhorn/longhorn chart/templates and cannot be directly used by kubectl apply. +# Generated crds.yaml from github.com/longhorn/longhorn-manager/k8s/pkg/apis and the crds.yaml will be copied to longhorn/longhorn chart/templates and cannot be directly used by kubectl apply. apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/k8s/generate_code.sh b/k8s/generate_code.sh index 972ec42f7c..0354fab62a 100755 --- a/k8s/generate_code.sh +++ b/k8s/generate_code.sh @@ -71,7 +71,7 @@ fi popd rm -rf ${GOPATH}/src/${LH_MANAGER_DIR}/k8s/crds.yaml -echo "# Generating crds.yaml from ${APIS_DIR} and the crds.yaml will be copied to longhorn/longhorn chart/templates and cannot be directly used by kubectl apply." > ${GOPATH}/src/${LH_MANAGER_DIR}/k8s/crds.yaml +echo "# Generated crds.yaml from ${APIS_DIR} and the crds.yaml will be copied to longhorn/longhorn chart/templates and cannot be directly used by kubectl apply." > ${GOPATH}/src/${LH_MANAGER_DIR}/k8s/crds.yaml kustomize build ${CRDS_DIR} >> ${GOPATH}/src/${LH_MANAGER_DIR}/k8s/crds.yaml rm -r ${CRDS_DIR}