Skip to content

Commit

Permalink
Merge pull request #2106 from yuwenma/stricter-test-externalsubresource
Browse files Browse the repository at this point in the history
fix: Add more new golden http log for  external-with-subresource
  • Loading branch information
google-oss-prow[bot] authored Jun 22, 2024
2 parents d98f684 + 2e5d3ca commit 8ccafcf
Show file tree
Hide file tree
Showing 2 changed files with 412 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: spanner.cnrm.cloud.google.com/v1beta1
kind: SpannerDatabase
metadata:
annotations:
cnrm.cloud.google.com/management-conflict-prevention-policy: none
cnrm.cloud.google.com/mutable-but-unreadable-fields: '{"spec":{"ddl":["CREATE
TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)"]}}'
cnrm.cloud.google.com/project-id: ${projectId}
cnrm.cloud.google.com/state-into-spec: merge
finalizers:
- cnrm.cloud.google.com/finalizer
- cnrm.cloud.google.com/deletion-defender
generation: 2
labels:
cnrm-test: "true"
name: spannerdatabase-test
namespace: ${uniqueId}
spec:
databaseDialect: GOOGLE_STANDARD_SQL
ddl:
- CREATE TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)
instanceRef:
external: spannerinstance-${uniqueId}
resourceID: spannerdatabase-test
versionRetentionPeriod: 1h
status:
conditions:
- lastTransitionTime: "1970-01-01T00:00:00Z"
message: The resource is up to date
reason: UpToDate
status: "True"
type: Ready
observedGeneration: 2
state: READY
Loading

0 comments on commit 8ccafcf

Please sign in to comment.