Skip to content

Conversation

FxKu
Copy link
Member

@FxKu FxKu commented Dec 17, 2020

if NodeAffinity is not specified the current code will put an empty affinity on the statefulset which can cause a rolling update if there was no node_readiness_label configured so far. With the pointer type the affinity will be omitted if not specified.

Plus, two minor fixes where go compiler complained (exported function with wrong comment and variable name with underscore)

@FxKu FxKu changed the title use pointer types for preparedDatabases and nodeAffinity use pointer type for nodeAffinity Dec 18, 2020
@FxKu
Copy link
Member Author

FxKu commented Dec 18, 2020

👍

1 similar comment
@Jan-M
Copy link
Member

Jan-M commented Dec 18, 2020

👍

@FxKu FxKu added this to the 1.6 milestone Dec 18, 2020
@FxKu FxKu merged commit 07c4f52 into master Dec 18, 2020
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.

2 participants