Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: ce117cfd161aa83718584cbe34f5b05d8d7a3535
https://github.com/tribe29/checkmk/commit/ce117cfd161aa83718584cbe34f5b05d8…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)
Changed paths:
M cmk/special_agents/utils_kubernetes/api_server.py
A tests/unit/cmk/special_agents/agent_kube/test_agent_kube_api_server.py
Log Message:
-----------
agent_kube: new doctests and unit tests for controller to pod mapping
Change-Id: I36a16aa7862d6cf24e2dbdd759da59043495efb0
Commit: 886e738258a6eb260dedcbd7191cb6da51b57960
https://github.com/tribe29/checkmk/commit/886e738258a6eb260dedcbd7191cb6da5…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)
Changed paths:
M cmk/special_agents/utils_kubernetes/api_server.py
M cmk/special_agents/utils_kubernetes/transform_json.py
M tests/unit/cmk/special_agents/agent_kube/test_agent_kube_api_server.py
Log Message:
-----------
agent_kube: refactor controller to pod matching
* simplify looping
* use consistent structure for owner_references
* clarify "result"
Change-Id: I2a80365fceb66ab7582b7df7c0a56a5ebeac223f
Commit: 412dc7f1e9ff198347b95114dc3da06590c83946
https://github.com/tribe29/checkmk/commit/412dc7f1e9ff198347b95114dc3da0659…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)
Changed paths:
M cmk/special_agents/utils_kubernetes/api_server.py
M tests/unit/cmk/special_agents/agent_kube/test_agent_kube_api_server.py
Log Message:
-----------
agent_kube: list all possible top-level controllers
* only top-level controllers are used, e.g.:
** DaemonSets
** StatefulSets
** Deployments
** ...
* only these controllers are added to the mapping
* fix iteration error: owner_references was updated immediately after
the first iteration, discarding all other iterations of the original
owner_references list
** recurse in order to iterate over all possible object owners
Change-Id: I058f5fd8f2ca389ea260ef5cc015282330a770ec
Compare:
https://github.com/tribe29/checkmk/compare/cb099c4f43ba...412dc7f1e9ff