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-770) Create new storage class for crunchy v5 PVCs #338

Closed dhoucgitter closed 1 year ago

dhoucgitter commented 1 year ago

Changes

Tests

Development testing to include OOTB 2022.10 executions of DAC to generate site-config/vdm content using DEPLOY:false. Once DEPLOY:true has deployed Viya to the cluster, verify that no updates to v5 crunchy storage class or access mode for either default or cds-postgres instances is allowed along with the output of an ansible message providing that notice to the DAC user. See internal ticket for additional test details including external postgres db, 2022.09 stable order and that the new storage class works properly when "ha" storage_type is configured for each cloud environment.

dhoucgitter commented 1 year ago

Removed collection of v4 PVC attribute info since it will not be used. Update to behavior in roles/vdm/tasks/postgres/postgres-instance.yaml lines 125-129. DAC will exit with "A manual update from crunchy v4 to v5 is required..." if an order with internal v5 crunchy configured is deployed to a cluster where internal v4 crunchy is already present.

dhoucgitter commented 1 year ago

@thpang I've posted updates in response to your review comments, ready for re-review