Skip to content

Commit

Permalink
unlink shared
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody committed Sep 21, 2023
1 parent 453052c commit 52e9f98
Show file tree
Hide file tree
Showing 32 changed files with 1,743 additions and 224 deletions.
63 changes: 0 additions & 63 deletions test/fixtures/all_examples/test_outputs.tf

This file was deleted.

1 change: 0 additions & 1 deletion test/fixtures/beta_cluster/variables.tf

This file was deleted.

47 changes: 47 additions & 0 deletions test/fixtures/beta_cluster/variables.tf
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"
}
1 change: 0 additions & 1 deletion test/fixtures/deploy_service/variables.tf

This file was deleted.

47 changes: 47 additions & 0 deletions test/fixtures/deploy_service/variables.tf
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"
}
1 change: 0 additions & 1 deletion test/fixtures/disable_client_cert/outputs.tf

This file was deleted.

85 changes: 85 additions & 0 deletions test/fixtures/disable_client_cert/outputs.tf
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
}
1 change: 0 additions & 1 deletion test/fixtures/disable_client_cert/variables.tf

This file was deleted.

47 changes: 47 additions & 0 deletions test/fixtures/disable_client_cert/variables.tf
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"
}
1 change: 0 additions & 1 deletion test/fixtures/node_pool/outputs.tf

This file was deleted.

85 changes: 85 additions & 0 deletions test/fixtures/node_pool/outputs.tf
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
}
1 change: 0 additions & 1 deletion test/fixtures/node_pool/variables.tf

This file was deleted.

Loading

0 comments on commit 52e9f98

Please sign in to comment.