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
25 stars 14 forks source link

feat/doc (IAC-1270) the documentation says we don't create PG DB during infra setup but the code creates the SharedServices DB. #76

Open raphaelpoumarede opened 1 year ago

raphaelpoumarede commented 1 year ago

From https://github.com/sassoftware/viya4-iac-k8s/blob/main/docs/CONFIG-VARS.md :

PostgreSQL Servers

_When setting up external database servers, you must provide information about those servers in the postgresservers variable block. Each entry in the variable block represents a single database server.

This code only configures database servers. No databases are created during the infrastructure setup.

However, the task "https://raw.githubusercontent.com/sassoftware/viya4-iac-k8s/main/roles/kubernetes/database/postgres/create_databases/tasks/main.yaml" creates the SharedServices DB when the postgres_server_name is "default".

jarpat commented 9 months ago

We are currently evaluating the action we will take on this

SASCloudLearner commented 4 months ago

Is this issue already taken care of? also we used iac project to deploy infrastrucutre and also external postgres server but we see that when it creates the postgres server, in tfstate file, it creates its own FQDN and we use this FQDN or server name, sas deployment throws error while regsitering the postgres server.