Skip to content

Commit

Permalink
update samples for version 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeya Zhang committed Nov 26, 2019
1 parent 4ae009e commit e124a1e
Show file tree
Hide file tree
Showing 9 changed files with 136 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeBackendService
metadata:
name: computetargethttpproxy-dep
spec:
healthCheckRef:
name: computetargethttpproxy-dep
location: global
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: computetargethttpproxy-dep
spec:
checkIntervalSec: 10
httpHealthCheck:
port: 80
location: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeSSLCertificate
metadata:
name: computetargethttpsproxy-dep
spec:
location: global
certificate: |
-----BEGIN CERTIFICATE-----
MIIDJTCCAg0CFHdD3ZGYMCmF3O4PvMwsP5i8d/V0MA0GCSqGSIb3DQEBCwUAME8x
CzAJBgNVBAYTAlVTMQswCQYDVQQIDAJXQTEhMB8GA1UECgwYSW50ZXJuZXQgV2lk
Z2l0cyBQdHkgTHRkMRAwDgYDVQQDDAdFeGFtcGxlMB4XDTE5MDkyOTIyMjgyOVoX
DTIwMDkyODIyMjgyOVowTzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAldBMSEwHwYD
VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxEDAOBgNVBAMMB0V4YW1wbGUw
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDWLvOZIail12i6NXIqOspV
corkuS1Nl0ayrl0VuKHCvheun/s7lLLgEfifzRueYlSUtdGg4atWIwEKsbIE+AF9
uUTzkq/t6zHxFAAWgVZ6/hW696jqcZX3yU+LCuHPLSN0ruqD6ZygnYDVciDmYwxe
601xNfOOYRlm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Zyi3+
VtGS1PFoKx9fSFDNHhR5ZhfasQcuKHYfeFfO2/DoOxQkNCI1y4I2huo=
-----END RSA PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeSSLPolicy
metadata:
name: computetargethttpsproxy-dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeTargetHTTPSProxy
metadata:
name: computetargethttpsproxy-sample
spec:
description: "A sample proxy"
urlMapRef:
name: computetargethttpsproxy-dep
sslCertificates:
- name: computetargethttpsproxy-dep
sslPolicyRef:
name: computetargethttpsproxy-dep
quicOverride: ENABLE
location: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeURLMap
metadata:
name: computetargethttpsproxy-dep
spec:
defaultService:
backendServiceRef:
name: computetargethttpsproxy-dep
location: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeAddress
metadata:
name: servicenetworkingconnection-dep1
spec:
addressType: INTERNAL
location: global
purpose: VPC_PEERING
prefixLength: 8
networkRef:
name: servicenetworkingconnection-dep
---
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeAddress
metadata:
name: servicenetworkingconnection-dep2
spec:
addressType: INTERNAL
location: global
purpose: VPC_PEERING
prefixLength: 24
networkRef:
name: servicenetworkingconnection-dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: compute.cnrm.cloud.google.com/v1alpha3
kind: ComputeNetwork
metadata:
name: servicenetworkingconnection-dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: servicenetworking.cnrm.cloud.google.com/v1alpha1
kind: ServiceNetworkingConnection
metadata:
name: servicenetworkingconnection-sample
spec:
networkRef:
name: servicenetworkingconnection-dep
reservedPeeringRanges:
- name: servicenetworkingconnection-dep1
- name: servicenetworkingconnection-dep2
service: "servicenetworking.googleapis.com"

0 comments on commit e124a1e

Please sign in to comment.