Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dashboard] Support email in username label #3149

Merged
merged 3 commits into from
Jan 30, 2024

Conversation

rokatyy
Copy link
Contributor

@rokatyy rokatyy commented Jan 29, 2024

When creating a Nuclio function in Iguazio, a function label is created:

iguazio.com/username: <username>

Following the SSO effort, we need to allow usernames that looks like an email, e.g:name@nuclio.com

The issue is that the @ sign is an invalid character in a kubernetes label.
To resolve this issue, in case we encounter an email-like username, we will split it into 2 labels, e.g.:

iguazio.com/username: name
iguazio.com/domain: nuclio.com 

Jira - https://jira.iguazeng.com/browse/NUC-133

pkg/platform/abstract/platform.go Outdated Show resolved Hide resolved
Co-authored-by: TomerShor <90552140+TomerShor@users.noreply.github.com>
@TomerShor TomerShor merged commit dfdd501 into nuclio:development Jan 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants