Recover ReplicationGroup
from schema change in 1.19+
#1688
chlunde
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Precondition: You have replicationgroups created on version 1.18 or older, and you have upgraded to 1.19 or newer and the provider does not work (crash loop backoff) due to serialization errors.
Relevant issues are:
Step 1: Get control over what you use for
atRestEncryptionEnabled
todayThe following steps assume you use
true
in all cases, if not, you will have to adjust.Step 2: Replace
.spec.forProvider.atRestEncryptionEnabled
as string value using patchStep 3: Patch
.status.atProvider.atRestEncryptionEnabled
This is the tricky part, as normally you never adjust the status, and
kubectl patch
,edit
will normally ignore your request. The trick is to use--subresource=status
:Beta Was this translation helpful? Give feedback.
All reactions