Skip to content

Connectivity test option --namespace-labels is not applied to all spawned namespaces #3173

@BroderPeters

Description

@BroderPeters

Bug report

General Information

  • Cilium CLI version (run cilium version) v0.18.9
  • Orchestration system version in use (e.g. kubectl version, ...) v1.35.0+k3s1
  • Platform / infrastructure information (e.g. AWS / Azure / GCP, image / kernel versions) 6.8.0-90-generic, Ubuntu 24.04.3 LTS
  • Link to relevant artifacts (policies, deployments scripts, ...)
  • Generate and upload a system zip: cilium sysdump

How to reproduce the issue

  1. run cilium connectivity test --namespace-labels "pod-security.kubernetes.io/enforce=privileged"
  2. namespaces cilium-test-ccnp1 and cilium-test-ccnp2 don't have the label set, cilium-test-1 does

Probably related to them not being created using the deployNamespace method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions