[
https://issues.apache.org/jira/browse/YUNIKORN-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hsien-Cheng(Ryan) Huang updated YUNIKORN-2775:
----------------------------------------------
Description:
After the crowdstrike incident, we know regrex is important for the codebase.
After several code change, comment in this line no longer valid:
https://github.com/apache/yunikorn-core/blob/master/pkg/common/configs/configvalidator.go#L75
suggest change from:
// allow upper and lower case, add the @ and . (dot) and officially no length.
To:
// first char: allow an underscore or a letter, middle: allow letters
(uppercase or lowercase), digits, or :, ., _, @, - , allow $ at the end.
was:
After several code change, comment in this line no longer valid:
https://github.com/apache/yunikorn-core/blob/master/pkg/common/configs/configvalidator.go#L75
suggest change from:
// allow upper and lower case, add the @ and . (dot) and officially no length.
To:
// first char: allow an underscore or a letter, middle: allow letters
(uppercase or lowercase), digits, or :, ., _, @, - , allow $ at the end.
> Update inaccurate comment regarding regexp
> ------------------------------------------
>
> Key: YUNIKORN-2775
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2775
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - common
> Reporter: Hsien-Cheng(Ryan) Huang
> Assignee: Hsien-Cheng(Ryan) Huang
> Priority: Trivial
>
> After the crowdstrike incident, we know regrex is important for the codebase.
> After several code change, comment in this line no longer valid:
> https://github.com/apache/yunikorn-core/blob/master/pkg/common/configs/configvalidator.go#L75
> suggest change from:
> // allow upper and lower case, add the @ and . (dot) and officially no length.
> To:
> // first char: allow an underscore or a letter, middle: allow letters
> (uppercase or lowercase), digits, or :, ., _, @, - , allow $ at the end.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]