Skip to content

Commit

Permalink
added reference for private endpoint subnetworks for gke cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Wadsworth <[email protected]>
  • Loading branch information
bradkwadsworth-mw committed Oct 24, 2024
1 parent 7344301 commit b15dbe0
Show file tree
Hide file tree
Showing 7 changed files with 428 additions and 0 deletions.
18 changes: 18 additions & 0 deletions apis/container/v1beta1/zz_cluster_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions apis/container/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions apis/container/v1beta2/zz_cluster_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions apis/container/v1beta2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions apis/container/v1beta2/zz_generated.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions config/container/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ func Configure(p *config.Provider) { //nolint:gocyclo
TerraformName: "google_compute_subnetwork",
Extractor: common.PathSelfLinkExtractor,
}
r.References["private_cluster_config.private_endpoint_subnetwork"] = config.Reference{
TerraformName: "google_compute_subnetwork",
Extractor: common.PathSelfLinkExtractor,
}

config.MarkAsRequired(r.TerraformResource, "location")
})
Expand Down
Loading

0 comments on commit b15dbe0

Please sign in to comment.