Open
Description
Describe the bug
given secret defaultMode=400, then Deserializer result is 0, i think it is wrong
it seems regex
private static final Pattern OCTAL = Pattern.compile("(0[oO]?)([0-7]+)");
is not correct
should be
private static final Pattern OCTAL = Pattern.compile("^(0[oO]?)([0-7]+)$");
Fabric8 Kubernetes Client version
7.1.0
Steps to reproduce
given secret defaultMode=400, then Deserializer result is 0, i think it is wrong
Expected behavior
i think 400 should not match OCTAL regex pattern ,and return 400
Runtime
other (please specify in additional context)
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Fabric8 Kubernetes Client Logs
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels