Skip to content

Commit

Permalink
update samples for version 0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
maqiuyujoyce committed Dec 17, 2019
1 parent 70c7488 commit d37bf33
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeBackendService
metadata:
name: computetargettcpproxy-dep
spec:
healthCheckRef:
name: computetargettcpproxy-dep
location: global
protocol: TCP
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeHealthCheck
metadata:
name: computetargettcpproxy-dep
spec:
checkIntervalSec: 10
tcpHealthCheck:
port: 443
location: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeTargetTCPProxy
metadata:
name: computetargettcpproxy-sample
spec:
description: "A sample TCP proxy."
backendServiceRef:
name: computetargettcpproxy-dep
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# [START config_connector_configuring_domain_name_static_ip_compute_address_global]
apiVersion: compute.cnrm.cloud.google.com/v1alpha2
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeAddress
metadata:
name: helloweb-ip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# [START config_connector_configuring_domain_name_static_ip_compute_address_regional]
apiVersion: compute.cnrm.cloud.google.com/v1alpha2
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeAddress
metadata:
name: helloweb-ip
Expand Down
2 changes: 1 addition & 1 deletion tutorials/http-balancer/compute-address.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# [START config_connector_http_balancer_compute_address]
apiVersion: compute.cnrm.cloud.google.com/v1alpha2
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeAddress
metadata:
name: web-static-ip
Expand Down
2 changes: 1 addition & 1 deletion tutorials/managed-certs/compute-address.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# [START config_connector_managed_certs_compute_address]
apiVersion: compute.cnrm.cloud.google.com/v1alpha2
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeAddress
metadata:
name: example-ip-address
Expand Down

0 comments on commit d37bf33

Please sign in to comment.