Skip to content

add default value to autoResync#304

Merged
mergify[bot] merged 1 commit into
csi-addons:mainfrom
matancarmeli7:add_default_value_to_autosync
Feb 15, 2023
Merged

add default value to autoResync#304
mergify[bot] merged 1 commit into
csi-addons:mainfrom
matancarmeli7:add_default_value_to_autosync

Conversation

@matancarmeli7

Copy link
Copy Markdown
Contributor

Currently, if a user will want to create VolumeReplication without the autoResync field it will fail because it’s a required field. After this PR it will have a default in the CRD and it won’t fail and will create the object with the default value

Signed-off-by: matancarmeli7 <matan.carmeli7@gmail.com>
@Madhu-1 Madhu-1 requested a review from ShyamsundarR February 15, 2023 12:44
@ShyamsundarR

Copy link
Copy Markdown

LGTM, from a ramen usage perspective, we always set the value, hence the default will not be picked up (and also the default as false is correct even in case it is not specified)

@mergify mergify Bot merged commit 1754008 into csi-addons:main Feb 15, 2023
@erantzabari

Copy link
Copy Markdown

Shyam,
From replication (without Ramen) we do need this default value and the default we need is false.
If from Ramen perspective you always set a value - this PR won't affect the behavior though, will assist us on a setup of replication without Ramen.

Nikhil-Ladha pushed a commit to Nikhil-Ladha/kubernetes-csi-addons that referenced this pull request Jun 24, 2025
Syncing latest changes from upstream main for kubernetes-csi-addons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants