sassoftware / viya4-deployment

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 64 forks source link

feat: (IAC-911) Utilize kustomize from within the sas-orchestration image for all tasks #395

Closed jarpat closed 1 year ago

jarpat commented 1 year ago

Changes

To remove the overhead of managing the kustomize version we want to use the kustomize binary that is already included within the sas-orchestration image.

The image that is pulled down (sourced from sas-bases/.orchestration/images.yaml) should always have a version of kustomize packaged with it that is compatible with the cadence that is going to be deployed.

We were already using the image previously for building the CRD, this change moves the image pull a little earlier so we can utilize it to generate the manifest for the DO and use it to generate the MT onboard/offboard manifests.

Tests

Ran through the following scenarios, see internal ticket for details

Scenario Task Provider Order Cadence K8s Version Execution Method Orchestration
1 OOTB + Multi-Tenant Azure * stable:2023.01 v1.23.12 Docker Deployment Operator
2 OOTB + Multi-Tenant GCP * stable:2023.02 v1.24.9-gke.2000 Ansible Deploy Command
3 OOTB Azure * stable:2023.01 v1.23.12 Docker Deploy Command
4 OOTB GCP * fast:2020 v1.24.9-gke.2000 Ansible Deployment Operator