Skip to content

Add omitempty to allowed_users runner config spec

Axel von Bertoldi requested to merge avonbertoldi/allowed-users-omitempty into main

Without omitempty we get this warning when we run runner:

There might be a problem with your config based on jsonschema
annotations in common/config.go (experimental feature): jsonschema:
'/runners/0/docker/allowed_users' does not validate with
https://gitlab.com/gitlab-org/gitlab-runner/common/config#/$ref/properties/runners/items/$ref/properties/docker/$ref/properties/allowed_users/type:
expected array, but got null

Merge request reports

Loading