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-876): Update tenant job name to support kustomize 4.5.7 #376

Closed riragh closed 1 year ago

riragh commented 1 year ago

Changes:

Kustomize v4.5.7+ does not support the generateNames field. So the new requirement is to add unique identifiers to the tenant job names to avoid failures later in the process.

Tests:

Verified following scenarios, see details in internal ticket: Scenario Description Order Cadence Verification
1 Kustomize v4.5.7. Multi-tenant enabled deployment. Onboard tenants - offboard tenants - re-onboard 2 tenants Fast 2020 - Release Test-Ready Provider deployment was successful, tenants were correctly onboarded. Viya4 deployment stabilized and was accessible. Offboard and re-onboard of 2 tenants was successful.
2 Kustomize v3.7.0. Multi-tenant enabled deployment. Onboard tenants - offboard tenants Stable 2023.01 Provider deployment was successful, tenants were correctly onboarded using kustomize v3.7.0. Viya4 deployment stabilized and was accessible. Offboard tenants was successful.