SpannerBackupSchedule: Migrate KMSCryptoKeyRef to kmsv1beta1 and normalize references - #13632
lovelace-coder-bot wants to merge 1 commit into
Conversation
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
…alize references - Migrate KMSKeyRef and KMSKeyRefs in SpannerBackupSchedule v1alpha1 and v1beta1 to kmsv1beta1.KMSCryptoKeyRef - Call common.NormalizeReferences in SpannerBackupSchedule direct controller - Regenerate CRDs, deepcopy functions, and update mock HTTP logs Issue: 13614
8028564 to
4481119
Compare
Investigating validate-resource-docs failureRun: 36950089438 Investigating unit-tests-4-of-4 failureRun: 36950089438 (This report was generated by overseer) |
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
Investigating tests-e2e-fixtures-iam failureRun: 36957059507 Investigating tests-e2e-fixtures-compute-2-of-4 failureRun: 36957059507 (This report was generated by overseer) |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: anhdle-sso The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Description
This PR migrates the KMS key reference fields (
KMSKeyRefandKMSKeyRefs) inSpannerBackupSchedule(spanner.cnrm.cloud.google.com/v1beta1andv1alpha1) from legacyrefs.KMSCryptoKeyRefto typedkmsv1beta1.KMSCryptoKeyRef(apis/kms/v1beta1.KMSCryptoKeyRef) which implements therefs.Refinterface, and ensurescommon.NormalizeReferencesis called during controller reconciliation.Key Changes
KMSKeyRefandKMSKeyRefsinapis/spanner/v1beta1/spannerbackupschedule_types.goandapis/spanner/v1alpha1/spannerbackupschedule_types.goto use*kmsv1beta1.KMSCryptoKeyRefand[]*kmsv1beta1.KMSCryptoKeyRef.common.NormalizeReferences(ctx, reader, obj, nil)invocation inAdapterForObjectinpkg/controller/direct/spanner/spannerbackupschedule_controller.go.pkg/controller/direct/spanner/backupschedule_mapping.go, regenerated CRD manifests and deepcopy methods, and updated mock test golden logs.Fixes #13614
This PR was generated by the overseer agent (powered by the gemini-3.7-flash model).