Skip to content

fix(sandbox): add CNP ingress restriction and --allowed-hosts to run …

282893f
Select commit
Loading
Failed to load commit list.
Merged

fix(sandbox): configure gVisor host network mode for Cilium eBPF comp #495

fix(sandbox): add CNP ingress restriction and --allowed-hosts to run …
282893f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 6, 2026 in 13s

Annotations

Check failure on line 77 in pkg/sandboxcli/commands.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "allowed-hosts" 4 times.

See more on https://sonarcloud.io/project/issues?id=xiaods_k8e&issues=AZ6ax2V6AQ80L8fB6pQm&open=AZ6ax2V6AQ80L8fB6pQm&pullRequest=495