Update K8s tutorial to start with charmcraft init
Best to wait until after Charmcraft 4.0 has been released
In https://github.com/canonical/charmcraft/pull/2242 we're refreshing the kubernetes profile of charmcraft init - this should become available in Charmcraft 4.0. The K8s tutorial in Ops would require less manual work if we start from the new profile instead of an empty charm.
I'm planning to do this work afer a few more profile changes:
-
[x] Switch the
kubernetesandmachineprofiles to use the uv plugin https://github.com/canonical/charmcraft/pull/2312 -
[x] Switch to our new standard for tox envs https://github.com/canonical/charmcraft/pull/2405
-
[x] Switch the profiles to use Jubilant for integration tests https://github.com/canonical/charmcraft/pull/2430
-
[ ] Switch the profiles to use
charmcraft testfor running tests (I'm not so sure about this one)