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

microk8s charm uses deprecated unit-get #58

Open
vernhart opened this issue Mar 9, 2023 · 1 comment
Open

microk8s charm uses deprecated unit-get #58

vernhart opened this issue Mar 9, 2023 · 1 comment

Comments

@vernhart
Copy link

vernhart commented Mar 9, 2023

When trying to figure out how to influence which IP address gets included in the generated kubeconfig file, I realized that the charm action is using "unit-get public-address". Since unit-get is deprecated, should this be modified to use network-get? Either on the cluster interface or a newly defined interface, maybe public?

@vernhart
Copy link
Author

vernhart commented Mar 9, 2023

The blocking issue here is that "unit-get public-address" returns the public ingress address which isn't always available from any of the network-get commands. Some discussion about that can be seen here: https://bugs.launchpad.net/juju/+bug/1924780/comments/13

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

1 participant