Skip to content

secure container e2e case & guide doc#249

Open
fengcone wants to merge 2 commits intoalibaba:mainfrom
fengcone:feature/public-secure-container
Open

secure container e2e case & guide doc#249
fengcone wants to merge 2 commits intoalibaba:mainfrom
fengcone:feature/public-secure-container

Conversation

@fengcone
Copy link
Collaborator

Summary

  • What is changing and why?

Testing

  • Not run (explain why)
  • Unit tests
  • Integration tests
  • e2e / manual verification

Breaking Changes

  • None
  • Yes (describe impact and migration path)

Checklist

  • Linked Issue or clearly described motivation
  • Added/updated docs (if needed)
  • Added/updated tests (if needed)
  • Security impact considered
  • Backward compatibility considered

@fengcone
Copy link
Collaborator Author

fengcone commented Feb 26, 2026

see issue #174

Copy link
Collaborator

Choose a reason for hiding this comment

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

Binary files cannot be properly diffed or reviewed, may be remove binaries and add download script in Makefile is a better choice

// runKubectl executes a kubectl command from the project root directory
func runKubectl(args ...string) (string, error) {
cmd := exec.Command("kubectl", args...)
cmd.Dir = "../../.." // 从 test/e2e_runtime/gvisor 回到项目根目录
Copy link
Collaborator

Choose a reason for hiding this comment

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

Keep the english comment style.
Navigate from test/e2e_runtime/gvisor to project root

makeArgs = append(makeArgs, fmt.Sprintf("DOCKER_BUILD_ARGS=%s", dockerBuildArgs))
}
cmd := exec.Command("make", makeArgs...)
cmd.Dir = "../../.." // 从 test/e2e_runtime/gvisor 回到项目根目录
Copy link
Collaborator

Choose a reason for hiding this comment

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

Comment is in Chinese issue.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Unused Template File?
And same issue about /pool-runtimeclass.yaml?


// RenderTemplate renders a YAML template file with given data
// templateFile is relative to e2e_runtime/ directory (e.g. "gvisor/testdata/pool.yaml")
func RenderTemplate(templateFile string, data map[string]interface{}) (string, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

RenderTemplate function is defined but never used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants