← Back to issue list

Add `config` example to templates

View original Github issue

Metadata

Project
charmcraft
Number
#1384
Type
issue
State
open
Author
mmkay
Labels
Created
2023-11-20 11:36:44+00:00
Updated
2025-08-15 15:18:18+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description Template created by `charmcraft init --profile simple` contains a `config.yaml` file. Other profiles - `kubernetes` and `machine` don't contain this file although it is equally relevant. cc @tmihoc ### To Reproduce Run ``` $ mkdir simple $ charmcraft init --profile simple $ mkdir ../kubernetes $ cd ../kubernetes $ charmcraft init --profile kubernetes $ ls CONTRIBUTING.md README.md metadata.yaml requirements.txt tests LICENSE charmcraft.yaml pyproject.toml src tox.ini $ ls ../simple CONTRIBUTING.md charmcraft.yaml pyproject.toml tests LICENSE config.yaml requirements.txt tox.ini README.md metadata.yaml src ``` ### Environment Multipass vm based on `charm-dev` profile: ``` $ charmcraft version 2.4.1 ``` ### charmcraft.yaml ```shell . ``` ### Relevant log output ```shell No relevant logs ```

Evaluation history

No evaluation history available.