Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kk增加自定义harbor版本 #2380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

gjing1st
Copy link

● kk特性:kk不支持自定义harbor版本,manifest中定义的harbor版本无效,每个kk版本使用代码中的默认harbor版本。
● 导致的结果:老版本kk安装2.5.3,在漏洞扫描时出现Harbor 访问控制错误漏洞和弱口令漏洞。新版本kk安装2.10.1版本,该版本不再支持插件形式安装Helm Charts。如果自己项目使用了helm部署,需要使用Harbor中的Helm Charts,而2.10.1将无法使用,只能自己手动修复漏洞或者更改版本。
由于我司业务不同,需要频繁离线部署KubeSphere,每次部署KubeSphere时也需要部署Harbor,每次手动更改harbor,太过麻烦。于是修改KubeKey,使kk安装2.7.4(2.8版本后不再支持helm)版本Harbor。

支持制品配置文件自定义harbor版本,
支持创建仓库时自定义harbor版本。
不配置时走之前逻辑
Copy link

This PR has multiple commits, and the default merge method is: squash.
You can request commits to be merged using the label: tide/merge-method-merge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: gjing1st
Once this PR has been reviewed and has the lgtm label, please assign 24sama for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

Welcome @gjing1st! It looks like this is your first PR to kubesphere/kubekey 🎉

@kubesphere-prow kubesphere-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 30, 2024
Copy link

sonarcloud bot commented Aug 30, 2024

@redscholar
Copy link
Collaborator

新版kk (feature-gitops分支)可以解决你的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/release-note-label-needed size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants