Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 37899f3714d6550aeb2b92868852e58336c47520
https://github.com/tribe29/checkmk/commit/37899f3714d6550aeb2b92868852e5833…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M cmk/base/plugins/agent_based/kube_replicas.py
M cmk/base/plugins/agent_based/utils/k8s.py
A cmk/base/plugins/agent_based/utils/kube_deployment_spec.py
M cmk/special_agents/utils_kubernetes/schemata/api.py
M cmk/special_agents/utils_kubernetes/transform.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_replicas.py
A tests/unit/cmk/base/plugins/agent_based/utils/test_kube_deployment_spec.py
Log Message:
-----------
kube_replicas: refactor strategy of DeploymentSpec
* refactor Deployment strategy to remove optional field
* move display of strategy into seperate function for reuse in inventory_kube_deployment
Change-Id: I95a6862554ddcbb36591775298a0d38464c4f139