Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit committed Jan 23, 2025
1 parent 94edf21 commit b98f34f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/crds.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion k8s/generate_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit b98f34f

Please sign in to comment.