Skip to content

Commit

Permalink
improved warning message for skiiped check
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavcracker committed Jan 31, 2025
1 parent a7f6424 commit 773b3ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kubemarine/procedures/check_paas.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,9 @@ def kubelet_config(cluster: KubernetesCluster) -> None:
cluster.log.debug(msg)
cluster.log.debug(diff + '\n')
else:
cluster.log.debug("Checking kubelet-config ConfigMap consistency with services.kubeadm_kubelet "\
"section in skipped as kubernetes version is >= v1.32.0")
raise TestWarn("Skipping kubelet-config ConfigMap consistency check",
hint="Kubernetes version is >= v1.32.0. The consistency check is no longer performed as the "\
"kubelet configuration is managed differently in newer versions. Verify manually if required.")

if not messages:
tc.success(results='valid')
Expand Down

0 comments on commit 773b3ff

Please sign in to comment.