-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,743 additions
and
224 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* Copyright 2018 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
variable "project_ids" { | ||
type = list(string) | ||
description = "The GCP projects to use for integration tests" | ||
} | ||
|
||
variable "region" { | ||
description = "The GCP region to create and test resources in" | ||
default = "us-central1" | ||
} | ||
|
||
variable "zones" { | ||
type = list(string) | ||
description = "The GCP zones to create and test resources in, for applicable tests" | ||
default = ["us-central1-a", "us-central1-b", "us-central1-c"] | ||
} | ||
|
||
variable "compute_engine_service_accounts" { | ||
type = list(string) | ||
description = "The email addresses of the service account to associate with the GKE cluster" | ||
} | ||
|
||
variable "registry_project_ids" { | ||
description = "Projects to use for granting access to GCR registries, if requested" | ||
type = list(string) | ||
} | ||
|
||
variable "kubernetes_version" { | ||
type = string | ||
description = "The Kubernetes version of the masters. If set to 'latest' it will pull latest available version in the selected region." | ||
default = "latest" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* Copyright 2018 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
variable "project_ids" { | ||
type = list(string) | ||
description = "The GCP projects to use for integration tests" | ||
} | ||
|
||
variable "region" { | ||
description = "The GCP region to create and test resources in" | ||
default = "us-central1" | ||
} | ||
|
||
variable "zones" { | ||
type = list(string) | ||
description = "The GCP zones to create and test resources in, for applicable tests" | ||
default = ["us-central1-a", "us-central1-b", "us-central1-c"] | ||
} | ||
|
||
variable "compute_engine_service_accounts" { | ||
type = list(string) | ||
description = "The email addresses of the service account to associate with the GKE cluster" | ||
} | ||
|
||
variable "registry_project_ids" { | ||
description = "Projects to use for granting access to GCR registries, if requested" | ||
type = list(string) | ||
} | ||
|
||
variable "kubernetes_version" { | ||
type = string | ||
description = "The Kubernetes version of the masters. If set to 'latest' it will pull latest available version in the selected region." | ||
default = "latest" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
/** | ||
* Copyright 2018 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
output "project_id" { | ||
value = module.example.project_id | ||
} | ||
|
||
output "region" { | ||
value = module.example.region | ||
} | ||
|
||
output "cluster_name" { | ||
description = "Cluster name" | ||
value = module.example.cluster_name | ||
} | ||
|
||
output "network" { | ||
value = google_compute_network.main.name | ||
} | ||
|
||
output "subnetwork" { | ||
value = google_compute_subnetwork.main.name | ||
} | ||
|
||
output "location" { | ||
value = module.example.location | ||
} | ||
|
||
output "ip_range_pods" { | ||
description = "The secondary IP range used for pods" | ||
value = google_compute_subnetwork.main.secondary_ip_range[0].range_name | ||
} | ||
|
||
output "ip_range_services" { | ||
description = "The secondary IP range used for services" | ||
value = google_compute_subnetwork.main.secondary_ip_range[1].range_name | ||
} | ||
|
||
output "zones" { | ||
description = "List of zones in which the cluster resides" | ||
value = module.example.zones | ||
} | ||
|
||
output "master_kubernetes_version" { | ||
description = "The master Kubernetes version" | ||
value = module.example.master_kubernetes_version | ||
} | ||
|
||
output "kubernetes_endpoint" { | ||
sensitive = true | ||
value = module.example.kubernetes_endpoint | ||
} | ||
|
||
output "client_token" { | ||
sensitive = true | ||
value = module.example.client_token | ||
} | ||
|
||
output "ca_certificate" { | ||
description = "The cluster CA certificate" | ||
value = module.example.ca_certificate | ||
sensitive = true | ||
} | ||
|
||
output "service_account" { | ||
description = "The service account to default running nodes as if not overridden in `node_pools`." | ||
value = module.example.service_account | ||
} | ||
|
||
output "registry_project_ids" { | ||
value = var.registry_project_ids | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* Copyright 2018 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
variable "project_ids" { | ||
type = list(string) | ||
description = "The GCP projects to use for integration tests" | ||
} | ||
|
||
variable "region" { | ||
description = "The GCP region to create and test resources in" | ||
default = "us-central1" | ||
} | ||
|
||
variable "zones" { | ||
type = list(string) | ||
description = "The GCP zones to create and test resources in, for applicable tests" | ||
default = ["us-central1-a", "us-central1-b", "us-central1-c"] | ||
} | ||
|
||
variable "compute_engine_service_accounts" { | ||
type = list(string) | ||
description = "The email addresses of the service account to associate with the GKE cluster" | ||
} | ||
|
||
variable "registry_project_ids" { | ||
description = "Projects to use for granting access to GCR registries, if requested" | ||
type = list(string) | ||
} | ||
|
||
variable "kubernetes_version" { | ||
type = string | ||
description = "The Kubernetes version of the masters. If set to 'latest' it will pull latest available version in the selected region." | ||
default = "latest" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
/** | ||
* Copyright 2018 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
output "project_id" { | ||
value = module.example.project_id | ||
} | ||
|
||
output "region" { | ||
value = module.example.region | ||
} | ||
|
||
output "cluster_name" { | ||
description = "Cluster name" | ||
value = module.example.cluster_name | ||
} | ||
|
||
output "network" { | ||
value = google_compute_network.main.name | ||
} | ||
|
||
output "subnetwork" { | ||
value = google_compute_subnetwork.main.name | ||
} | ||
|
||
output "location" { | ||
value = module.example.location | ||
} | ||
|
||
output "ip_range_pods" { | ||
description = "The secondary IP range used for pods" | ||
value = google_compute_subnetwork.main.secondary_ip_range[0].range_name | ||
} | ||
|
||
output "ip_range_services" { | ||
description = "The secondary IP range used for services" | ||
value = google_compute_subnetwork.main.secondary_ip_range[1].range_name | ||
} | ||
|
||
output "zones" { | ||
description = "List of zones in which the cluster resides" | ||
value = module.example.zones | ||
} | ||
|
||
output "master_kubernetes_version" { | ||
description = "The master Kubernetes version" | ||
value = module.example.master_kubernetes_version | ||
} | ||
|
||
output "kubernetes_endpoint" { | ||
sensitive = true | ||
value = module.example.kubernetes_endpoint | ||
} | ||
|
||
output "client_token" { | ||
sensitive = true | ||
value = module.example.client_token | ||
} | ||
|
||
output "ca_certificate" { | ||
description = "The cluster CA certificate" | ||
value = module.example.ca_certificate | ||
sensitive = true | ||
} | ||
|
||
output "service_account" { | ||
description = "The service account to default running nodes as if not overridden in `node_pools`." | ||
value = module.example.service_account | ||
} | ||
|
||
output "registry_project_ids" { | ||
value = var.registry_project_ids | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.