'Kubernetes E2E tests to add annotations and labels to created namespaces
Currently I am trying to run Sonobuoy on a Rancher cluster having OPA Gatekeeper enabled with some restrictions regarding the existence of certain labels and annotations for namespaces.
Executing in such environment is not possible, as the namespaces created by e2e tests are not coming with these labels and annotations and I am not aware of any way of adding them.
Is there a way to instruct e2e tests to create namespaces with the labels and annotations I want?
Cluster information:
Kubernetes version: 1.20.8
Bare-metal Rancher cluster
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
