Skip to content

Commit

Permalink
Revise some internal version compatibility info
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmith-sas committed Feb 21, 2024
1 parent 78d7e77 commit 15b5090
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bin/kube-include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ fi

# SAS Viya 4 versions
# supported by SAS Tech Support
# Updated: 19DEC23
# Updated: 21FEB24
# 2022.09 LTS 1.21 1.24
# 2023.03 LTS 1.23 1.25
# 2023.10 LTS 1.25 1.27
# 2023.10 1.25 1.27
# 2023.11 1.25 1.27
# 2023.12 1.25 1.27
# 2024.01 1.25 1.27
# 2024.02 1.26 1.28

if [[ $KUBE_SERVER_VER =~ v1.2[1-9] ]]; then
:
Expand Down
14 changes: 7 additions & 7 deletions bin/openshift-include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ function ocVersionCheck {
### Openshift versions that do not start with a 4 should produce an error.
if (( "$OSHIFT_MAJOR_VERSION" != 4 )); then
log_error "Unsupported OpenShift server version: $OSHIFT_FULL_VERSION"
log_error "Version 4.11+ is required"
log_error "Version 4.12+ is required"
exit 1
### 18OCT23: Openshift 4 versions earlier than 4.11 should produce an error.
elif (( "$OSHIFT_MINOR_VERSION" < 11 )); then
### 21FEB24: Openshift 4 versions earlier than 4.12 should produce an error.
elif (( "$OSHIFT_MINOR_VERSION" < 12 )); then
log_error "Unsupported OpenShift server version: $OSHIFT_FULL_VERSION"
log_error "Version 4.11+ is required"
log_error "Version 4.12+ is required"
exit 1
else
log_debug "OpenShift server version check OK"
Expand All @@ -64,12 +64,12 @@ function ocVersionCheck {
### Openshift versions that do not start with a 4 should produce an error.
if (( "$OC_MAJOR_VERSION" != 4 )); then
log_error "Unsupported OpenShift client version: $OC_FULL_VERSION"
log_error "Version 4.10+ is required"
log_error "Version 4.11+ is required"
exit 1
### Openshift 4 client version must be w/in 1 minor releases of server minimum.
elif (( "$OC_MINOR_VERSION" < 10 )); then
elif (( "$OC_MINOR_VERSION" < 11 )); then
log_error "Unsupported OpenShift client version: $OC_FULL_VERSION"
log_error "Version 4.10+ is required"
log_error "Version 4.11+ is required"
exit 1
else
log_debug "OpenShift client version check OK"
Expand Down

0 comments on commit 15b5090

Please sign in to comment.