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

--trust is too high privilege for a machine charm #21

Closed
nobuto-m opened this issue Oct 26, 2023 · 1 comment · Fixed by #39
Closed

--trust is too high privilege for a machine charm #21

nobuto-m opened this issue Oct 26, 2023 · 1 comment · Fixed by #39

Comments

@nobuto-m
Copy link

Bug Description

The document suggests to add --trust when deploying the charm.

The Grafana agent may be deployed using the juju command line:
```bash
juju deploy grafana-agent --trust
```

I don't think that's a necessary privilege since grafana agent doesn't have to access to credentials of substrates. e.g. MAAS credentials.

If it's really necessary, we should add some clarifications around it.

To Reproduce

N/A - as a documentation issue

Environment

With MAAS provider in mind.

Relevant log output

N/A

Additional context

No response

@simskij
Copy link
Member

simskij commented Oct 27, 2023

Yes, trust is not needed for the machine subordinate. Docs need to be updated accordingly.

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

Successfully merging a pull request may close this issue.

2 participants