redhat-cop / podpreset-webhook

Implementation of Kubernetes PodPreset as an Admission Webhook.
Apache License 2.0
63 stars 30 forks source link

Using a namespace in ListOptions seems to prevent STS from working #5

Open anhi opened 4 years ago

szelenka commented 4 years ago

The namespace was a little odd .. I managed to get it to work by deploying all the PodPresets into the same namespace as the webhook Pod.

Although that opens up other concerns about using the envFrom, since you can only access configmaps from specific namespaces, it tends to be confusing how to make that work across namespaces. the "env" part works fine though

dpoetzsch commented 2 years ago

I don't think this is needed anymore as it seems to work with the current master (4bf4993919dead0fb98ce9ceff5c88493eb03a63)