kops/util/pkg/vfs
Nat Henderson 9b08c4bb51 Enable internal load balancers when running on GCP
* Add ILBs, broadly following the AWS model.  The following new
capabilities are added for clusters in GCP:
  * Cluster's spec.api.loadBalancer can be set to 'type: internal' on
    GCP.
    * Therefore, GCP can now create:
        * regional backend services
        * regional (non-legacy) healthchecks
        * firewall rules with "internal" load-balancing scheme
        * firewall rules with dot-notation-specified IP addresses
  * Cluster's spec.api.loadBalancer's 'subnets' field functions
    as in the AWS model.

A few incidental changes are included, either because this change
touched the relevant code or because my use case happened to trigger the
issues that are fixed here.

* Cluster's spec.networkID field can be prefixed by project to use
  GCP's common cross-project networking model.
    * The presumption is that all specified subnets belong to this
      network and therefore this project.

* Add missing operation wait on forwarding rule creation.

* Some Terraform output improvements:
    * Permit no-ACL files in GCS buckets in Terraform output.
    * Enable marginally better cross-resource reference in Terraform outputs
    * Add project to network + subnetwork literals in Terraform output.
    * Add terraform output to backend services and health checks.

Testing:
  * Add mocks for backend services and health checks.
  * Add minimal integration test - copied from gce_private and ilb added.
  * Add update cluster goldens.

Co-authored-by: Travis Reid <travis_reid@apple.com>
2022-04-25 13:31:47 -07:00
..
tests Use a pointer type in type assertion 2022-04-20 20:07:58 +02:00
azureblob.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
azureblob_test.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
azureclient.go refactor: move from io/ioutil to io and os packages 2021-11-12 15:37:18 +08:00
cache.go Fix boilerplate: headers & packages 2019-09-25 12:48:14 -04:00
context.go Remove support for Aliyun/Alibaba Cloud 2021-12-11 21:49:13 -08:00
context_test.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
fs.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
fs_test.go test: use `T.TempDir` to create temporary test directory 2022-02-18 16:57:41 +08:00
gsfs.go Enable internal load balancers when running on GCP 2022-04-25 13:31:47 -07:00
k8scontext.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
k8sfs.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
memfs.go Use aws_s3_object instead of deprecated aws_s3_bucket_object 2022-04-13 16:49:03 +03:00
memfs_test.go Add UT for util/pkg/vfs/memfs.go 2020-03-12 19:04:24 +07:00
s3context.go Correctly detect GovCloud regions 2022-03-24 12:59:32 -07:00
s3context_test.go Correctly detect GovCloud regions 2022-03-24 12:59:32 -07:00
s3fs.go Use aws_s3_object instead of deprecated aws_s3_bucket_object 2022-04-13 16:49:03 +03:00
s3fs_test.go Update copyright notices 2019-09-09 14:47:51 -04:00
sshfs.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
swiftfs.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
vaultcontext.go refactor: move from io/ioutil to io and os packages 2021-11-12 15:37:18 +08:00
vaultfs.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
vaultfs_test.go Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
vfs.go Remove support for Aliyun/Alibaba Cloud 2021-12-11 21:49:13 -08:00
writeoption.go Update copyright notices 2019-09-09 14:47:51 -04:00