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

feat: move shell2http image to kb repository #8539

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stocrkc
Copy link

@stocrkc stocrkc commented Nov 27, 2024

This should help fix #7720

@CLAassistant
Copy link

CLAassistant commented Nov 27, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the size/M Denotes a PR that changes 30-99 lines. label Nov 27, 2024
@stocrkc stocrkc changed the title feature: move shell2http image to kb repository feat: move shell2http image to kb repository Nov 27, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 60.67%. Comparing base (61eb47e) to head (9d41b33).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pkg/controller/instanceset/object_builder.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8539      +/-   ##
==========================================
- Coverage   60.75%   60.67%   -0.08%     
==========================================
  Files         376      376              
  Lines       45506    45506              
==========================================
- Hits        27648    27613      -35     
- Misses      15291    15334      +43     
+ Partials     2567     2559       -8     
Flag Coverage Δ
unittests 60.67% <0.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stocrkc stocrkc marked this pull request as ready for review November 27, 2024 08:53
@stocrkc stocrkc requested a review from a team as a code owner November 27, 2024 08:53
@stocrkc stocrkc marked this pull request as draft November 27, 2024 09:51
@stocrkc stocrkc force-pushed the feature/move-shell2http-image-to-kb branch from 38ba6c7 to 797543a Compare November 28, 2024 08:26
@github-actions github-actions bot added size/XS Denotes a PR that changes 0-9 lines. and removed size/M Denotes a PR that changes 30-99 lines. labels Nov 28, 2024
@stocrkc stocrkc force-pushed the feature/move-shell2http-image-to-kb branch from 797543a to 52dabdb Compare November 28, 2024 08:30
@stocrkc stocrkc force-pushed the feature/move-shell2http-image-to-kb branch from 52dabdb to 9d41b33 Compare November 28, 2024 08:31
@stocrkc stocrkc marked this pull request as ready for review November 28, 2024 08:32
@apecloud-bot apecloud-bot added the approved PR Approved Test label Nov 28, 2024
@@ -254,7 +254,7 @@ func injectCustomRoleProbeContainer(its *workloads.InstanceSet, template *corev1
agentPath := strings.Join([]string{roleAgentVolumeMountPath, roleAgentName}, "/")
initContainer := corev1.Container{
Name: roleAgentInstallerName,
Image: shell2httpImage,
Image: strings.Join([]string{viper.GetString(constant.KBImageRegistry), shell2httpImage}, "/"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should change shell2httpImage to "apecloud/shell2http:1.16.0"? Because the original repository "msoap" is not under our control. @free6om

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not like that, the whole path is like "docker.io/msoap/shell2http:1.16.0" or "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/msoap/shell2http:1.16.0".

@zjx20
Copy link
Contributor

zjx20 commented Nov 29, 2024

Seems #8018 can cover this use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved PR Approved Test size/XS Denotes a PR that changes 0-9 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] move the base image of custom role probe to the KubeBlocks repository
5 participants