Skip to content

Commit 7f60c4b

Browse files
authored
Add proxy to VMware admin cluster resources. (#14908)
1 parent d480235 commit 7f60c4b

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

mmv1/products/gkeonprem/VmwareAdminCluster.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,3 +699,16 @@ properties:
699699
- type: String
700700
name: 'caCert'
701701
description: The CA certificate public key for private registry.
702+
- type: NestedObject
703+
name: proxy
704+
description: Configuration for proxy.
705+
properties:
706+
- type: String
707+
name: 'url'
708+
required: true
709+
description: The proxy url.
710+
- type: String
711+
name: 'noProxy'
712+
description: |
713+
A comma-separated list of IP addresses, IP address ranges,
714+
host names, and domain names that should not go through the proxy server.

mmv1/templates/terraform/examples/gkeonprem_vmware_admin_cluster_full.tf.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,8 @@ resource "google_gkeonprem_vmware_admin_cluster" "{{$.PrimaryResourceId}}" {
8888
address = "test-address"
8989
ca_cert = "test-ca-cert"
9090
}
91+
proxy {
92+
url = "http://my-proxy.example.local:80"
93+
no_proxy = "10.151.222.0/24,my-host.example.local,10.151.2.1"
94+
}
9195
}

mmv1/templates/terraform/examples/gkeonprem_vmware_admin_cluster_metallb.tf.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,8 @@ resource "google_gkeonprem_vmware_admin_cluster" "{{$.PrimaryResourceId}}" {
4040
address = "test-address"
4141
ca_cert = "test-ca-cert"
4242
}
43+
proxy {
44+
url = "http://my-proxy.example.local:80"
45+
no_proxy = "10.151.222.0/24,my-host.example.local,10.151.2.1"
46+
}
4347
}

0 commit comments

Comments
 (0)