Skip to content
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

Helm3 Repositories are Not Added #36

Open
jamey opened this issue Oct 17, 2022 · 2 comments
Open

Helm3 Repositories are Not Added #36

jamey opened this issue Oct 17, 2022 · 2 comments

Comments

@jamey
Copy link

jamey commented Oct 17, 2022

Running a playbook which installs microk8s and addons successfully does not add helm3 repos.

Playbook is below. Result should show two repos when "helm3 repo list" is run, instead I get "Error: no repositories to show". I haven't figured this out yet.


  • hosts: prodk8s
    gather_facts: yes
    become: yes
    roles:
@quintesse
Copy link

quintesse commented May 12, 2023

This is an old issue so I'm sure you figured it out by now, but perhaps this can help others because I had the same problem and it took me a while to figure out what was wrong.

So the issue is that you must set the users: value to a non-empty list of users (see https://github.com/istvano/ansible_role_microk8s/blob/master/defaults/main.yml#L48) . And then the helm repos will be configured for those users and for those users only.

@istvano
Copy link
Owner

istvano commented May 13, 2023

thanks for providing this useful piece of information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants