This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71
stars
66
forks
source link
feat: (IAC-1266) (IAC-1186) Update kubectl to 1.27 and add support for ingress-nginx v1.9.X #512
This PR updates the kubectl version to 1.27 and also updates the ingress-nginx version to 1.9.5 which supports the K8 versions: 1.28, 1.27, 1.26, 1.25.
Note: The logic was updated to support the latest version of ingress by default. For any K8s version out of range for the given ingress version would now need to specify INGRESS_NGINX_CHART_VERSION to avoid error.
For example: The latest ingress Helm Chart Version is 4.9.0 which supports K8s range 1.28, 1.27, 1.26, 1.25. For K8s version < 1.25.X, user needs to specify INGRESS_NGINX_CHART_VERSION. Not specifying the INGRESS_NGINX_CHART_VERSION will result in following error:
fatal: [localhost]: FAILED! => {
"changed": false,
"msg": "INGRESS_NGINX_CHART_VERSION isn't set when K8s version is < 1.25."
}
Tests:
Verified following scenarios, please details in internal ticket:
Changes:
This PR updates the kubectl version to
1.27
and also updates the ingress-nginx version to 1.9.5 which supports the K8 versions:1.28, 1.27, 1.26, 1.25
.Note: The logic was updated to support the latest version of ingress by default. For any K8s version out of range for the given ingress version would now need to specify
INGRESS_NGINX_CHART_VERSION
to avoid error.For example: The latest ingress Helm Chart Version is
4.9.0
which supports K8s range1.28, 1.27, 1.26, 1.25
. For K8s version < 1.25.X, user needs to specifyINGRESS_NGINX_CHART_VERSION
. Not specifying theINGRESS_NGINX_CHART_VERSION
will result in following error:Tests:
Verified following scenarios, please details in internal ticket: