mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-29 01:58:34 -04:00
Allow upgrades on azure without Terraform changes on LBs created from within Kubernetes (#3257)
* k8s: use separate lb for K8s services on azure * terraform: introduce local revision variable and data resource * terraform: azure: dont expose full nodeport range * docs: add Azure load balancer migration
This commit is contained in:
parent
2dcea4fa63
commit
2854136192
8 changed files with 75 additions and 13 deletions
|
@ -23,6 +23,13 @@ locals {
|
|||
cidr_vpc_subnet_nodes = "10.42.0.0/22"
|
||||
cidr_vpc_subnet_control_planes = "10.42.1.0/24"
|
||||
cidr_vpc_subnet_worker = "10.42.2.0/24"
|
||||
revision = 1
|
||||
}
|
||||
|
||||
# A way to force replacement of resources if the provider does not want to replace them
|
||||
# see: https://developer.hashicorp.com/terraform/language/resources/terraform-data#example-usage-data-for-replace_triggered_by
|
||||
resource "terraform_data" "replacement" {
|
||||
input = local.revision
|
||||
}
|
||||
|
||||
resource "random_password" "init_secret" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue