Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

API Token Regex Incorrect #159

Closed
ghost opened this issue Jan 27, 2022 · 1 comment · Fixed by #160
Closed

API Token Regex Incorrect #159

ghost opened this issue Jan 27, 2022 · 1 comment · Fixed by #160

Comments

@ghost
Copy link

ghost commented Jan 27, 2022

Keptn API Tokens can contain + so deploying via helm fails when API tokens contain forbidden chars.

"pattern": "^[A-Za-z0-9-.]{2,63}$"

pchila pushed a commit that referenced this issue Jan 27, 2022
Signed-off-by: Adam Gardner <adam.gardner@dynatrace.com>
@pchila pchila linked a pull request Jan 27, 2022 that will close this issue
@pchila
Copy link
Contributor

pchila commented Jan 27, 2022

Thanks @Dynatrace-Adam-Gardner for the spotting the issue and providing the fix :) PR merged

@pchila pchila closed this as completed Jan 27, 2022
pchila added a commit that referenced this issue Jan 27, 2022
pchila added a commit that referenced this issue Jan 27, 2022
This reverts commit ed463da.

Still not clear how a '+' character got into the keptn api token.
Needs more investigation about the root cause rather than a quick fix.
Reverting the change till we know more.
Reverts #160

Signed-off-by: Paolo Chila <paolo.chila@dynatrace.com>
pchila added a commit that referenced this issue Jan 27, 2022
This reverts commit ed463da.

Still not clear how a '+' character got into the keptn api token.
Needs more investigation about the root cause rather than a quick fix.
Reverting the change till we know more.
Reverts #160

Signed-off-by: Paolo Chila <paolo.chila@dynatrace.com>
pchila added a commit that referenced this issue Jan 27, 2022
This reverts commit ed463da.

Still not clear how a '+' character got into the keptn api token.
Needs more investigation about the root cause rather than a quick fix.
Reverting the change till we know more.
Reverts #160

refs: ed463da
Signed-off-by: Paolo Chila <paolo.chila@dynatrace.com>
pchila added a commit that referenced this issue Jan 27, 2022
This reverts commit ed463da.

Still not clear how a '+' character got into the keptn api token.
Needs more investigation about the root cause rather than a quick fix.
Reverting the change till we know more.
Reverts #160

Signed-off-by: Paolo Chila <paolo.chila@dynatrace.com>
pchila added a commit that referenced this issue Jan 28, 2022
)

This reverts commit ed463da.

Still not clear how a '+' character got into the keptn api token.
Needs more investigation about the root cause rather than a quick fix.
Reverting the change till we know more.
Reverts #160

Signed-off-by: Paolo Chila <paolo.chila@dynatrace.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant