From 70c74880bb8acfc2f5a2ee41e72190eb4afd2ebf Mon Sep 17 00:00:00 2001 From: Alex Bulankou Date: Wed, 11 Dec 2019 14:52:32 -0800 Subject: [PATCH] update samples for version 0.3.7 --- .../spanner_v1alpha2_spannerdatabase.yaml | 9 +++++++++ .../spanner_v1alpha2_spannerinstance.yaml | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 resources/spannerdatabase/spanner_v1alpha2_spannerdatabase.yaml create mode 100644 resources/spannerdatabase/spanner_v1alpha2_spannerinstance.yaml diff --git a/resources/spannerdatabase/spanner_v1alpha2_spannerdatabase.yaml b/resources/spannerdatabase/spanner_v1alpha2_spannerdatabase.yaml new file mode 100644 index 0000000000..8d213e977f --- /dev/null +++ b/resources/spannerdatabase/spanner_v1alpha2_spannerdatabase.yaml @@ -0,0 +1,9 @@ +apiVersion: spanner.cnrm.cloud.google.com/v1alpha2 +kind: SpannerDatabase +metadata: + name: spannerdatabase-sample +spec: + instanceRef: + name: spannerdatabase-dep + ddl: + - "CREATE TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)" \ No newline at end of file diff --git a/resources/spannerdatabase/spanner_v1alpha2_spannerinstance.yaml b/resources/spannerdatabase/spanner_v1alpha2_spannerinstance.yaml new file mode 100644 index 0000000000..14125a1891 --- /dev/null +++ b/resources/spannerdatabase/spanner_v1alpha2_spannerinstance.yaml @@ -0,0 +1,7 @@ +apiVersion: spanner.cnrm.cloud.google.com/v1alpha2 +kind: SpannerInstance +metadata: + name: spannerdatabase-dep +spec: + config: regional-us-west1 + displayName: Spanner Database Dependency