-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add more new golden http log for managed SSL Certificate
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...dsslcertificate/managedsslcertificate/_generated_object_managedsslcertificate.golden.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: compute.cnrm.cloud.google.com/v1alpha1 | ||
kind: ComputeManagedSSLCertificate | ||
metadata: | ||
annotations: | ||
cnrm.cloud.google.com/management-conflict-prevention-policy: none | ||
cnrm.cloud.google.com/state-into-spec: absent | ||
finalizers: | ||
- cnrm.cloud.google.com/finalizer | ||
- cnrm.cloud.google.com/deletion-defender | ||
generation: 1 | ||
labels: | ||
cnrm-test: "true" | ||
name: computemanagedsslcertificate-${uniqueId} | ||
namespace: ${uniqueId} | ||
spec: | ||
managed: | ||
domains: | ||
- sslcert.kcc-test.club. | ||
projectRef: | ||
external: ${projectId} | ||
resourceID: computemanagedsslcertificate-${uniqueId} | ||
status: | ||
certificateId: 1111011111111110000 | ||
conditions: | ||
- lastTransitionTime: "1970-01-01T00:00:00Z" | ||
message: The resource is up to date | ||
reason: UpToDate | ||
status: "True" | ||
type: Ready | ||
creationTimestamp: "1970-01-01T00:00:00Z" | ||
observedGeneration: 1 | ||
selfLink: https://compute.googleapis.com/compute/v1/projects/${projectId}/global/sslCertificates/computemanagedsslcertificate-${uniqueId} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,12 +61,18 @@ func normalizeKRMObject(u *unstructured.Unstructured, project testgcp.GCPProject | |
visitor.replacePaths[".status.etag"] = "abcdef123456" | ||
visitor.replacePaths[".status.observedState.etag"] = "abcdef123456" | ||
|
||
<<<<<<< Updated upstream | ||
Check failure on line 64 in tests/e2e/normalize.go GitHub Actions / lint
|
||
// Specific to Sql | ||
visitor.replacePaths[".items[].etag"] = "abcdef0123A=" | ||
======= | ||
// Specific to global SSL certificate. This is a server generated id. | ||
visitor.replacePaths[".status.certificateId"] = 1111011111111110000 | ||
>>>>>>> Stashed changes | ||
|
||
// Specific to AlloyDB | ||
visitor.replacePaths[".status.continuousBackupInfo[].enabledTime"] = "1970-01-01T00:00:00Z" | ||
visitor.replacePaths[".status.ipAddress"] = "10.1.2.3" | ||
|
||
// Specific to BigQuery | ||
visitor.replacePaths[".spec.access[].userByEmail"] = "[email protected]" | ||
|
||
|