Docs for filter of allowed_images are incorrect
There are two places where the parameter allowed_images
is described:
- https://docs.gitlab.com/runner/executors/kubernetes.html#other-configtoml-settings
- https://docs.gitlab.com/runner/executors/kubernetes.html#restricting-docker-images-and-services
If you set the allowed_images = ["*/*:*"]
in the config, images like debian
don't match and the builds fail. So the statement in the first link is wrong. The real all-match-filter should be ["**"]
The second link doesn't explain the use of doublestar
module at all. There should be at least this link, that explains how to use patterns in the doublestar
golang module. (Or you can expand the docs with your own descriptions with examples - that would be the best way IMO)
Edited by Ghost User