Jeet created ZEPPELIN-5901:
------------------------------
Summary: Pod launch fails when user name has special char.
Key: ZEPPELIN-5901
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5901
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-interpreter
Affects Versions: 0.10.1
Reporter: Jeet
Fix For: 0.10.2
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.
{code:java}
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 ...
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)