Skip to content

fix: create cluster error in cluster node#3081

Merged
kubesphere-prow[bot] merged 2 commits intokubesphere:mainfrom
redscholar:create_cluster_error
Apr 22, 2026
Merged

fix: create cluster error in cluster node#3081
kubesphere-prow[bot] merged 2 commits intokubesphere:mainfrom
redscholar:create_cluster_error

Conversation

@redscholar
Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?

none

Additional documentation, usage docs, etc.:


@kubesphere-prow kubesphere-prow Bot added release-note-none kind/bug Categorizes issue or PR as related to a bug. labels Apr 22, 2026
@kubesphere-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: redscholar

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

The pull request process is described here

Details 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

@kubesphere-prow kubesphere-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 22, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces conditional execution for the image registry push role and adjusts YAML formatting in the download defaults. In the Go modules for copying and templating, it attempts to use unique temporary file paths by appending random strings. However, the use of filepath.Join with potentially absolute destination paths under /tmp is flawed, as it may bypass the /tmp directory entirely; the reviewer suggests using flat, unique filenames directly within /tmp to ensure reliability.

Comment thread pkg/modules/copy/copy.go Outdated
Comment thread pkg/modules/copy/copy.go Outdated
Comment thread pkg/modules/copy/copy.go Outdated
Comment thread pkg/modules/copy/copy.go Outdated
Comment thread pkg/modules/template/template.go Outdated
Comment thread pkg/modules/template/template.go Outdated
Comment thread pkg/modules/template/template.go Outdated
@kubesphere-prow
Copy link
Copy Markdown

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

Details

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.

@sonarqubecloud
Copy link
Copy Markdown

@redscholar redscholar added the lgtm Indicates that a PR is ready to be merged. label Apr 22, 2026
@kubesphere-prow kubesphere-prow Bot merged commit 891451c into kubesphere:main Apr 22, 2026
7 checks passed
@redscholar redscholar deleted the create_cluster_error branch April 22, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note-none size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant