Cleanup the code to allow unsuppressing the following
pylint checks:
C0207 use-maxsplit-arg
R1730 consider-using-min-builtin
R1731 consider-using-max-builtin
These three types of pylint checks report scenarios where
a standard python command can be used rather than trying
to 'reinvent the wheel'.
There is no functional difference for any of these changes
Test Plan:
PASS: tox
PASS: create / delete a kubernetes upgrade strategy
Story: 2010531
Task: 47617
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ieb638cbcf7280f6fa322a062467dfc098efdec5e