Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark 'spec.deletionPolicy' mutable-but-unreadable in SQLDatabase #3438

Conversation

maqiuyujoyce
Copy link
Collaborator

Change description

Fixes b/375600924

spec.deletionPolicy is a mutable field but it cannot be read from the GCP API because this is a customized TF field. Marking it mutable-but-unreadable ensures the live state contains the correct value of spec.deletionPolicy during reconciliation.

Tests you have done

  • Run make ready-pr to ensure this PR is ready for review.
  • Perform necessary E2E testing for changed resources.
    Dynamic test passed.

@yuwenma
Copy link
Collaborator

yuwenma commented Dec 20, 2024

/approve
/hold

Thank you @maqiuyujoyce! Hold in case you want others to take a look. cc @jasonvigil

Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yuwenma

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jasonvigil
Copy link
Collaborator

/lgtm

@maqiuyujoyce
Copy link
Collaborator Author

/hold cancel

@google-oss-prow google-oss-prow bot removed the lgtm label Dec 20, 2024
@jasonvigil
Copy link
Collaborator

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Dec 20, 2024
@google-oss-prow google-oss-prow bot merged commit 7eaca66 into GoogleCloudPlatform:master Dec 20, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants