canonical / canonical/charm-integration-testing
juju-k8s-crashdump must also collect ConfigMaps
- Dominant language
- Python
- Stars
- 6
- Forks
- 1
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 98
Description
This could be as easy as adding another resource type to collect [here](https://github.com/canonical/juju-k8s-crashdump/blob/0d02b49cd8c7e2dbb580dca20504561745b79e1c/juju_k8s_crashdump/main.py#L136), and will help debug failures stemming from ConfigMaps.
Additionally, it is probably also relevant to also collect the `-config.yaml` output of `juju config -o yaml` for all applications in the model.
Contributor guide
Research direction
Start in juju_k8s_crashdump/main.py around line 136, where the collected resource types are defined. Trace the existing crashdump collection flow and determine how to include ConfigMaps and each application's `juju config -o yaml` output; done means both appear in the generated crashdump.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, python
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100