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

Update controller configuration path #69

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

manadart
Copy link
Member

On K8s, the controller's agent configuration is in /var/lib/juju/agents/controller-n/agent.conf instead of a path with machine-n as on machines.

This means that we can't use agent.conf for controller configuration written by the charm, because it overwrites the agent configuration.

Here we change the name to controller.conf to avoid this situation.

controller.conf.

This is because on K8s, the agent's configuration is in in the
controller-n path instead of machine-n on metal/VMs. We must use a
different file name, or we overwrite the agent configuration.
@manadart manadart merged commit bf628d4 into main Mar 15, 2024
7 of 9 checks passed
@manadart manadart deleted the update-controller-conf-path branch March 15, 2024 12:07
@manadart
Copy link
Member Author

We need to release a beta3 of Juju 4 in order to make the CI jobs pass.

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 this pull request may close these issues.

2 participants