Skip to content

Commit 50e367a

Browse files
committed
Remove unused import, update docs
Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
1 parent f994ffe commit 50e367a

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

Tests/kaas/scs_0210_version_policy/k8s_version_policy.py

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,14 @@
55
K8s Version Policy Checker (scs-v0210-v2)
66
https://github.com/SovereignCloudStack/standards
77
8-
Return code is 0 precisely when it could be verified that the standard is satisfied.
9-
Otherwise the return code is the number of errors that occurred (up to 127 due to OS
10-
restrictions); for further information, see the log messages on various channels:
11-
CRITICAL for problems preventing the test to complete,
12-
ERROR for violations of requirements,
13-
INFO for violations of recommendations,
14-
DEBUG for background information and problems that don't hinder the test.
15-
16-
This script only checks one given cluster, so it doesn't check whether multiple
17-
k8s branches are being offered.
18-
It is determined if the version on the cluster is still inside
19-
the recency window, which is determined by the standard to be 4 months
20-
for minor versions (for the stable cluster) and 1 week for patch versions.
21-
An exception are versions with critical CVEs, which should be replaced on
22-
a shorter notice.
8+
Run testcase version-policy-check and output result to stdout.
9+
Return code will be non-zero precisely when the testcase could not
10+
be run.
2311
2412
(c) Hannes Baum <hannes.baum@cloudandheat.com>, 6/2023
2513
(c) Martin Morgenstern <martin.morgenstern@cloudandheat.com>, 2/2024
2614
(c) Matthias Büchse <matthias.buechse@cloudandheat.com>, 3/2024
15+
(c) Matthias Büchse <matthias.buechse@alasca.cloud>, 6/2026
2716
SPDX-License-Identifier: CC-BY-SA-4.0
2817
"""
2918

@@ -33,7 +22,6 @@
3322
import contextlib
3423
import getopt
3524
import logging
36-
import logging.config
3725
import re
3826
import sys
3927

0 commit comments

Comments
 (0)