Closed Waterdrips closed 4 years ago
This is an expected error, there are some GitLab usernames which cannot be supported in a Kubernetes Pod name or Docker image name or tag.
/close
This is an expected error, there are some GitLab usernames which cannot be supported in a Kubernetes Pod name or Docker image name or tag.
ill close then. Thanks
How was the issue discovered? Was it reported by a user?
There is a GitLab documentation page, so it would make sense to add a note there
Gitlab integration is possibly using the
full name
field, which could be causing buildkit to append an invalid value (a space) into the ref field.I think also we are using a mismatch of fullname and username somewhere, as its been reported that:
see this issue for context https://github.com/openfaas/openfaas-cloud/issues/644
Expected Behaviour
A name with whitespace can be handled in the application
Current Behaviour
Buildkit ref has whitespace, which is causing some issues (https://github.com/openfaas/openfaas-cloud/issues/644)
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
FaaS-CLI version ( Full output from:
faas-cli version
):Docker version
docker version
(e.g. Docker 17.0.05 ):Are you using Docker Swarm or Kubernetes (FaaS-netes)?
Operating System and version (e.g. Linux, Windows, MacOS):
Link to your project or a code example to reproduce issue:
Please also follow the troubleshooting guide and paste in any other diagnostic information you have: