-
Notifications
You must be signed in to change notification settings - Fork 29
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
Creating users fail #5
Comments
I'm actively working on this role and Harbor can be a bit fiddly, specially because it sets its own Nginx inside and then you have sort of "duplicated" configuration of sorts sometimes. Do you have it behind a proxy? If you do, you need to comment a line inside
There'll be several instance of this line, you need to comment them all. This is what solved for me when I couldn't login. I'm adding somethings to the playbook to do this automatically. If this doesn't work, you'll need to paste here the contents of |
you might also want to check the |
I've just pushed new changes and they are fully working with my setup from beginning-to-end. My setup, for your information, is that I run Harbor behind a NGINX proxy. Nginx has the HTTPS termination and |
Thanks for the changes! This wasn't what caused the error it seems. I am checking this further today. I do not use a reverse proxy in this setup |
The issue is that
It is probably due to
I will check further |
Basically adminserver doesn't start and it is due to |
This is what I found:
Does that aligns with your PR #9? |
You have defaults on |
After the merge, this works but if we have multiple users only one gets created |
Humm, that's funny, all my users get created. Can you share your structure for creating the users? I'm sharing mine but not sure it's useful. I build it from another list, a master list of users. harbor_users: "{{ harbor_users|default([]) + [ {'username': item.username, 'email': item.username ~ '@mycmopany.com', 'realname': item.name | default(item.username), 'has_admin_role': item.admin | default(false)} ] }}" |
from the playbook
Variable in another file |
I updated to the latest version.
Getting to the end of the corridor!
Creating users fail with the message below. Would you have any idea why?
In addition:
Here is my playbook:
The text was updated successfully, but these errors were encountered: