Open florianbeu opened 2 years 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
relates to #38
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