Khi deploy 1 application trên k8s chắc hẳn anh em devops sẽ phải sài đến helm
Nếu anh em đang băn khoan việc lưu helm package ở đây?
thì chúng ta cùng tim hiểu
Mình lưu một số lệnh với helm package.
helm package ./nimtechnology -d .
helm repo index ./
1) push helm package on github
Đây là 1 repo vị dụ.
https://github.com/mrnim94/kubernetes-manifest
nếu bạn add helm repo trên argocd thì sử dụng link này:
https://raw.githubusercontent.com/mrnim94/kubernetes-manifest/master/
2) push helm package on Bitbucket
Reference links:
https://community.atlassian.com/t5/Bitbucket-questions/Helm-repository/qaq-p/1022537
Repo demo:
https://bitbucket.org/nimtechnology/helm-chart
command:
helm repo add {REPONAME} https://api.bitbucket.org/2.0/repositories/{USER|ORGANISATION}/{REPOSITORY}/src/master/ --username {USER} --password {APP-PASSWORD}
Vậy làm sao để lấy được app password




3) push helm package on Harbor.



và link helm chart sẽ như sau:
https://docker.nimtechnology.com/chartrepo/nim
Nếu bạn muốn chạy command line thì chắc tham khảo cách dưới
https://github.com/goharbor/harbor/issues/14249