adorsys / ops-adorsys-kubernetes-platform

Infrastructure Setup of adorsys Test/Poc projects
Apache License 2.0
2 stars 2 forks source link

Move Cluster default variables into tfvars #48

Open florianbeu opened 1 year ago

florianbeu commented 1 year ago

Currently some of the used variables have defaults set to a certain Cluster.

https://github.com/adorsys/ops-k8s-bootstrap/blob/725e1169feaeada5acda6972f58e844d9d8d493e/nostalgic-poincare-cluster/variables.tf#L5

https://github.com/adorsys/ops-k8s-bootstrap/blob/725e1169feaeada5acda6972f58e844d9d8d493e/nostalgic-poincare-cluster/variables.tf#L12

It should be moved to a tfvars file that every project can use its own cluster settings and does not use the wrong cluster id by default.

To use the tfvars the pipeline needs some adjustment to use the new tfvars file

https://github.com/adorsys/ops-k8s-bootstrap/blob/725e1169feaeada5acda6972f58e844d9d8d493e/.github/workflows/pr.yml#L70

https://github.com/adorsys/ops-k8s-bootstrap/blob/725e1169feaeada5acda6972f58e844d9d8d493e/.github/workflows/apply.yml#L66

https://github.com/adorsys/ops-k8s-bootstrap/blob/725e1169feaeada5acda6972f58e844d9d8d493e/.github/workflows/apply.yml#L59

nce commented 1 year ago

relates to #38