kubernetes-sigs / hydrophone

Hydrophone is a lightweight Kubernetes conformance tests runner
Apache License 2.0
69 stars 31 forks source link

Add flag to allow re-using of existing namespace #211

Open AverageMarcus opened 3 months ago

AverageMarcus commented 3 months ago

Currently it's not possible to use an existing namespace for hydrophone as it prompts you to run a cleanup if the provided namespace already exists.

It would be nice to have a flag similar to Sonobuoys --skip-preflight=existingnamespace that can instruct Hydrophone to use an existing namespace.

The reason for this is we generally run clusters with strict network policies enforced by default that prevents cross-namespace communication. To still allow the conformance tests to run and be triggered we need to create a CiliumNetworkPolicy within the conformance namespace but cannot do that before running hydrophone currently.

k8s-triage-robot commented 1 week ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

AverageMarcus commented 1 week ago

/remove-lifecycle stale