使用 helm 构建后端使用的 chart (二)

把 hdyl-jdk11 模板上传到 harbor

根据上一节,创建了通用模板 hdyl-jdk11,https://www.cnblogs.com/klvchen/articles/18574338

添加 helm repo

harbor 要开启 helm charts 功能,具体可参考:https://www.cnblogs.com/klvchen/articles/16981646.html

在 harbor 上创建一个【helm】项目,在 PC 上打开【命令提示符】

helm repo add --username=xxxxxx --password=xxxxxx devharbor https://devharbor.junengcloud.com/chartrepo/helm

helm repo ls

推送 hdyl-jdk11 到 harbor

# 在【命令提示符】输入
f:
cd F:\helm-template
helm-cm-push hdyl-jdk11 devharbor

检查

posted @ 2024-11-28 18:07  klvchen  阅读(19)  评论(0)    收藏  举报