When using the downward API to expose information to Pods, the information will be the one from the PCluster instead of the KCP one, for example and most important the namespace. This causes problems when relying on that information to make calls to the k8s API.
To Reproduce
Steps to reproduce the behavior:
Create a deployment that uses a volume to pull information from the downward API:
Describe the bug
When using the downward API to expose information to Pods, the information will be the one from the PCluster instead of the KCP one, for example and most important the namespace. This causes problems when relying on that information to make calls to the k8s API.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected value should be the one from the KCP server.