k8s conformance: Sanitize major/minor version str 87/3387/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 24 Apr 2020 14:49:52 +0000 (16:49 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 24 Apr 2020 14:58:27 +0000 (16:58 +0200)
commit528222a0d0fff5208e298548a567f3a63ef4358a
treed63a3fa9d0a25397c8fd8523cc14eef528f66c9c
parentfbde8757f3d54d62cf5ba8adf2789a338540871e
k8s conformance: Sanitize major/minor version str

Since we use `kubectl version` to determine K8s client/server version
strings, the major/minor semver components might include some custom
suffixes, e.g. '1.13+abcdef' would be split into '1' and '13+abcdef'.
Avoid including the custom semver suffixes into the kube-conformance
image tag name by sanitizating the major/minor version strings.

JIRA: VAL-111

Change-Id: Iac4f719e4e982b90b50a23e5bcaeff4bda9fe104
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
tests/k8s/conformance/conformance.robot