Skip to content

Commit

Permalink
Merge pull request #8 from liyangau/add-staging-cp
Browse files Browse the repository at this point in the history
add cp for staging
  • Loading branch information
liyangau authored Apr 23, 2024
2 parents b9b1deb + 551e49f commit 4ec87bd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/control-planes/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ output "dev" {

output "home_cluster" {
value = konnect_gateway_control_plane.cps["home_cluster"]
}

output "staging" {
value = konnect_gateway_control_plane.cps["staging"]
}
3 changes: 3 additions & 0 deletions modules/control-planes/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ locals {
"dev" = {
type = "CLUSTER_TYPE_CONTROL_PLANE"
},
"staging" = {
type = "CLUSTER_TYPE_CONTROL_PLANE"
},
"home_cluster" = {
type = "CLUSTER_TYPE_K8S_INGRESS_CONTROLLER"
},
Expand Down
3 changes: 3 additions & 0 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ output "gateway_cps_endpoints" {
{
dev = module.control-planes.dev.config
},
{
staging = module.control-planes.staging.config
},
{
home_cluster = module.control-planes.home_cluster.config
}
Expand Down

0 comments on commit 4ec87bd

Please sign in to comment.