Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.10.1
Description
K8S labels has specific requirement to name labels which can be found here
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
if Using external auth like Shiro with OIDC or JWT where principal is name / or username or email it can have special chars which then does not allow pod to launch.
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://172.20.0.1/api/v1/namespaces/dbdwf06018702/pods. Message: Pod "jdbc-nrgtbo" is invalid: metadata.labels: Invalid value: "Firstname Lastname": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character ...
Attachments
Issue Links
- links to