sassoftware / viya4-iac-k8s

This project contains Terraform scripts to provision cloud infrastructure resources, when using vSphere, and Ansible to apply the needed elements of a Kubernetes cluster that are required to deploy SAS Viya platform product offerings.
Apache License 2.0
23 stars 15 forks source link

feat: (IAC-1089) Valid PG Server Name and Update Doc #84

Closed jarpat closed 10 months ago

jarpat commented 11 months ago

Changes

Tests

Scenario Provider K8s Postgres Servers Action Order Cadence Notes
1 vSphere 1.26.7 default & cds-postgres apply, setup, install ** fast:2020 deployment successful, both servers used by Viya deployment
2 vSphere 1.26.7 default apply, setup, install n/a n/a default user scenario still works
3 vSphere 1.26.7 null apply, setup, install n/a n/a no pg server created, validation error was not thrown
4 vSphere 1.26.7 -servername123 plan n/a n/a variable validation error thrown
5 vSphere 1.26.7 servername123- plan n/a n/a variable validation error thrown
6 vSphere 1.26.7 server_name123 plan n/a n/a variable validation error thrown
7 vSphere 1.26.7 server*name123 plan n/a n/a variable validation error thrown
8 vSphere 1.26.7 server-name-123 plan n/a n/a validation error was not thrown
jarpat commented 11 months ago

Adding the test results here since it properly handles larges table in comments.

Tests

Scenario Provider K8s Postgres Servers Action Order Cadence Notes
1 vSphere 1.26.7 default & cds-postgres apply, setup, install ** fast:2020 deployment successful, both servers used by Viya deployment
2 vSphere 1.26.7 default apply, setup, install n/a n/a default user scenario still works
3 vSphere 1.26.7 null apply, setup, install n/a n/a no pg server created, validation error was not thrown
4 vSphere 1.26.7 -servername123 plan n/a n/a variable validation error thrown
5 vSphere 1.26.7 servername123- plan n/a n/a variable validation error thrown
6 vSphere 1.26.7 server_name123 plan n/a n/a variable validation error thrown
7 vSphere 1.26.7 server*name123 plan n/a n/a variable validation error thrown
8 vSphere 1.26.7 server-name-123 plan n/a n/a validation error was not thrown