canonical / canonical/charm-integration-testing

juju-k8s-crashdump must also collect ConfigMaps

Open
#341 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.