Skip to content

Commit

Permalink
Merge pull request #1934 from yuwenma/enable-strict-e2e
Browse files Browse the repository at this point in the history
feat: Turn on stricter golden log check in e2e fixture (part 1)
  • Loading branch information
google-oss-prow[bot] authored Jun 20, 2024
2 parents c572c54 + b3f13c7 commit 0ce0cde
Show file tree
Hide file tree
Showing 152 changed files with 34,278 additions and 5,450 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: alloydb.cnrm.cloud.google.com/v1beta1
kind: AlloyDBCluster
metadata:
Expand All @@ -31,27 +17,9 @@ metadata:
namespace: ${uniqueId}
spec:
automatedBackupPolicy:
backupWindow: 3600s
labels:
source: kcc-test
location: southamerica-east1
timeBasedRetention:
retentionPeriod: 1209600s
weeklySchedule:
daysOfWeek:
- MONDAY
- TUESDAY
- WEDNESDAY
- THURSDAY
- FRIDAY
- SATURDAY
- SUNDAY
startTimes:
- hours: 23
clusterType: PRIMARY
continuousBackupConfig:
enabled: true
recoveryWindowDays: 14
deletionPolicy: DEFAULT
displayName: test alloydb cluster 2
initialUser:
Expand All @@ -62,8 +30,6 @@ spec:
networkConfig:
networkRef:
name: default
networkRef:
external: projects/${projectNumber}/global/networks/default
projectRef:
external: ${projectId}
resourceID: alloydbcluster${uniqueId}
Expand All @@ -74,21 +40,6 @@ status:
reason: UpToDate
status: "True"
type: Ready
continuousBackupInfo:
- enabledTime: "1970-01-01T00:00:00Z"
encryptionInfo:
- encryptionType: GOOGLE_DEFAULT_ENCRYPTION
schedule:
- MONDAY
- TUESDAY
- WEDNESDAY
- THURSDAY
- FRIDAY
- SATURDAY
- SUNDAY
databaseVersion: POSTGRES_15
encryptionInfo:
- encryptionType: GOOGLE_DEFAULT_ENCRYPTION
databaseVersion: DATABASE_VERSION_UNSPECIFIED
name: projects/${projectId}/locations/southamerica-east1/clusters/alloydbcluster${uniqueId}
observedGeneration: 3
uid: "12345678"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
apiVersion: alloydb.cnrm.cloud.google.com/v1beta1
kind: AlloyDBCluster
metadata:
annotations:
cnrm.cloud.google.com/management-conflict-prevention-policy: none
cnrm.cloud.google.com/mutable-but-unreadable-fields: '{"spec":{"deletionPolicy":"FORCE"}}'
cnrm.cloud.google.com/observed-secret-versions: (removed)
cnrm.cloud.google.com/state-into-spec: merge
finalizers:
- cnrm.cloud.google.com/finalizer
- cnrm.cloud.google.com/deletion-defender
generation: 3
labels:
cnrm-test: "true"
name: alloydbcluster-2-${uniqueId}
namespace: ${uniqueId}
spec:
automatedBackupPolicy:
labels:
source: kcc-test
clusterType: SECONDARY
deletionPolicy: FORCE
location: europe-west8
networkConfig:
networkRef:
name: computenetwork-${uniqueId}
projectRef:
external: ${projectId}
resourceID: alloydbcluster-2-${uniqueId}
secondaryConfig:
primaryClusterNameRef:
name: alloydbcluster-1-${uniqueId}
status:
conditions:
- lastTransitionTime: "1970-01-01T00:00:00Z"
message: The resource is up to date
reason: UpToDate
status: "True"
type: Ready
databaseVersion: DATABASE_VERSION_UNSPECIFIED
name: projects/${projectId}/locations/europe-west8/clusters/alloydbcluster-2-${uniqueId}
observedGeneration: 3
Loading

0 comments on commit 0ce0cde

Please sign in to comment.