← Back to issue list

feat(templates)!: replace simple profile by kubernetes

View original Github issue

Metadata

Project
charmcraft
Number
#2295
Type
pull request
State
merged
Author
dwilding
Labels
Created
Updated
Closed

Current evaluation

Merged breaking changes replacing the simple profile with kubernetes as the default in charmcraft init. The simple profile was removed as kubernetes now covers its use case, and the charm was moved to the Ops repository. Docs updated.

Suggested action:

No scores available.

Issue body

This PR makes **breaking changes** to the `charmcraft init` profiles: - Removes the `simple` profile (a deployable Kubernetes charm for httpbin) - Makes `kubernetes` the default profile These changes also affect [Manage charms](https://canonical-charmcraft--2295.com.readthedocs.build/en/2295/howto/manage-charms/) in the docs: `simple` is no longer mentioned, and we now say that `kubernetes` is the default profile. The httpbin charm still has value as a demo, rather than as a minimal starting point, so I'm adding it to our collection of example charms in the Ops repo. See https://github.com/canonical/operator/pull/1743. --- Follow-up actions after the profile changes are released: https://github.com/canonical/operator/issues/1742

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged breaking changes replacing the simple profile with kubernetes as the default in charmcraft init. The simple profile was removed as kubernetes now covers its use case, and the charm was moved to the Ops repository. Docs updated.
qwen3.6-35b-a3b-mtp-q6 Merged breaking changes to charmcraft init that replace the simple profile with kubernetes as the default. Documentation updated, and the simple profile was relocated to the Ops repository as an example charm.
qwen3.6-35b-a3b-mtp-q6 Merged breaking change replacing the simple profile with kubernetes as the default in charmcraft init. The kubernetes profile now provides adequate scaffolding, making simple redundant. Docs updated and the httpbin demo moved to the canonical/operator repo.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2312 feat(templates): use uv for testing and packing kubernetes and machine charms charmcraft merged Merged. Updated charmcraft init templates for kubernetes and machine profiles to use uv for testing and packing. Replaced requirements.txt with pyproject.toml, added a managed uv.lock template, updated documentation, and bumped the minimum ops version to 3.0.
71%