Closed zfalen-deloitte closed 1 year ago
@zfalen-deloitte this is an EKS bug that provides the wrong information. I'll try to create a workaround, but it isn't enjoyable. 😞
@zfalen-deloitte, could you please test the newer version?
@pierluigilenoci confirmed working with 6.15.1
Resultant error:
Failed to apply default image tag "docker.io/bitnami/kubectl:1.25+": couldn't parse image reference "docker.io/bitnami/kubectl:1.25+": invalid reference format
https://github.com/oauth2-proxy/manifests/blob/0f70377fd2c07bce4588b2deefab71b76cadf83a/helm/oauth2-proxy/templates/deployment.yaml#L63
This line seems to be the culprit. The
Capabilities.KubeVersion.Minor
reference produces1.25+
which results in the invalid image tagdocker.io/bitnami/kubectl:1.25+
Suggest using something like the
regexReplaceAll
function to parse out invalid characters for edge cases like this. https://helm.sh/docs/chart_template_guide/function_list/#regexreplaceall-mustregexreplaceallUsing EKS 1.25. Output of
kubectl version
is as follows