-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating roles fails with error message: Could not create role #1059
Comments
This bug is back: roles:
- id: oci-reader
name: oci-reader
privileges:
- nx-repository-view-docker-oci-read
- nx-repository-view-docker-oci-browse
Edit: It was missing the |
@mreiche could you expand on this? |
Creating a role is fine, but updating will lead to the error above: roles:
- id: oci-reader
name: oci-reader To fix it, pass roles:
- id: oci-reader
name: oci-reader
source: default This could probably also fixed by setting a default value before https://github.com/stevehipwell/helm-charts/blob/main/charts/nexus3/scripts/configure.sh#L165C185-L165C201 if [ -z "${source}" ]; then
source="default"
fi |
@mreiche I'll happily take a PR to default the |
Roles are not updated in ConfigJob.
Steps to reproduce:
First run
Config Job
Probaby role created before repository.
Second run
Config Job
Third run
Config Job
The text was updated successfully, but these errors were encountered: