Skip to content

Commit

Permalink
update samples for version 0.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBulankou committed Jan 9, 2020
1 parent bfb4cc3 commit c0251ff
Show file tree
Hide file tree
Showing 25 changed files with 252 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-a
spec:
dnsName: "example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-a
spec:
name: "www.example.com."
type: "A"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-a
rrdatas:
- "8.8.8.8"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-aaaa
spec:
dnsName: "example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-aaaa
spec:
name: "www.example.com."
type: "AAAA"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-aaaa
rrdatas:
- "8888:8888:8888:8888::"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-cname
spec:
dnsName: "example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-cname
spec:
name: "*.example.com."
type: "CNAME"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-cname
rrdatas:
- ".www.example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-mx
spec:
dnsName: "example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-mx
spec:
name: "mail.example.com."
type: "MX"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-mx
rrdatas:
- "5 gmr-stmp-in.l.google.com."
- "10 alt1.gmr-stmp-in.l.google.com."
- "10 alt2.gmr-stmp-in.l.google.com."
- "10 alt3.gmr-stmp-in.l.google.com."
- "10 alt4.gmr-stmp-in.l.google.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-ns
spec:
dnsName: "example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-ns
spec:
name: "example.com."
type: "NS"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-ns
rrdatas:
- "ns-cloud-a1.googledomains.com."
- "ns-cloud-a2.googledomains.com."
- "ns-cloud-a3.googledomains.com."
- "ns-cloud-a4.googledomains.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-srv
spec:
dnsName: "example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-srv
spec:
name: "_example._tcp.example.com."
type: "SRV"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-srv
rrdatas:
- "0 0 9 tcpserver.cnrm-dns-example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-txt
spec:
dnsName: "example.com."
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-txt
spec:
name: "example.com."
type: "TXT"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-txt
rrdatas:
- "\"This is a sample DNS text record string\""
- "Text records are normally split on spaces"
- "To prevent this, \"quote your text like this\""
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-dnssecdnskey
spec:
dnsName: "secure.example.com."
dnssecConfig:
state: "transfer"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-dnssecdnskey
spec:
name: "secure.example.com."
type: "DNSKEY"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-dnssecdnskey
rrdatas:
- "256 3 8 AwEAAcAPhPM4CQHqg6hZ49y2P3IdKZuF44QNCc50vjATD7W+je4va6djY5JpnNP0pIohKNYiCFap/b4Y9jjJGSOkOfkfBR8neI7X5LisMEGUjwRcrG8J9UYP1S1unTNqRcWyDYFH2q3KnIO08zImh5DiFt8yfCdKoqZUN1dup5hy0UWz"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-dnssecds
spec:
dnsName: "secure.example.com."
dnssecConfig:
state: "on"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-dnssecds
spec:
name: "secure.example.com."
type: "DS"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-dnssecds
rrdatas:
- "31523 5 1 c8761ba5defc26ac7b78e076d7c47fa9f86b9fba"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-dnssecipsecvpnkey
spec:
dnsName: "secure.example.com."
dnssecConfig:
state: "on"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-dnssecipsecvpnkey
spec:
name: "service.secure.example.com."
type: "IPSECKEY"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-dnssecipsecvpnkey
rrdatas:
- "10 1 2 192.0.2.3 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ=="
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSManagedZone
metadata:
name: dnsrecordset-dep-dnssecsshfp
spec:
dnsName: "secure.example.com."
dnssecConfig:
state: "on"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: dns.cnrm.cloud.google.com/v1alpha1
kind: DNSRecordSet
metadata:
name: dnsrecordset-sample-dnssecsshfp
spec:
name: "host.secure.example.com."
type: "SSHFP"
ttl: 300
managedZoneRef:
name: dnsrecordset-dep-dnssecsshfp
rrdatas:
- "2 1 123456789abcdef67890123456789abcdef67890"
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: resourcemanager.cnrm.cloud.google.com/v1alpha1
kind: Project
metadata:
annotations:
# Replace "${FOLDER_ID?}" with the numeric ID for your folder
cnrm.cloud.google.com/folder-id: "${FOLDER_ID?}"
labels:
label-one: "value-one"
name: project-sample-in-folder
spec:
name: Config Connector Sample
billingAccountRef:
# Replace "${BILLING_ACCOUNT_ID?}" with the numeric ID for your billing account
external: "${BILLING_ACCOUNT_ID?}"
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: resourcemanager.cnrm.cloud.google.com/v1alpha1
kind: Project
metadata:
annotations:
# Replace "${ORG_ID?}" with the numeric ID for your organization
cnrm.cloud.google.com/organization-id: "${ORG_ID?}"
labels:
label-one: "value-one"
name: project-sample-in-org
spec:
name: Config Connector Sample
billingAccountRef:
# Replace "${BILLING_ACCOUNT_ID?}" with the numeric ID for your billing account
external: "${BILLING_ACCOUNT_ID?}"
9 changes: 9 additions & 0 deletions resources/service/serviceusage_v1alpha1_service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: serviceusage.cnrm.cloud.google.com/v1alpha1
kind: Service
metadata:
annotations:
# use the deletion policy of abandon to ensure that the pubsub service remains enabled when this resource is deleted.
cnrm.cloud.google.com/deletion-policy: abandon
# this is unnecessary with the deletion-policy of 'abandon', but useful if the abandon policy is removed.
cnrm.cloud.google.com/disable-dependent-services: "false"
name: pubsub.googleapis.com

0 comments on commit c0251ff

Please sign in to comment.