-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add pgresql spec sync with Instaclustr Console #399
Conversation
if k.DeletionTimestamp != nil && | ||
(len(k.Spec.TwoFactorDelete) != 0 && | ||
k.Annotations[models.DeletionConfirmed] != models.True) { | ||
// skip validation when get cluster specification update from Instaclustr UI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skip validation when get cluster specification update from Instaclustr UI
-> skip validation when we receive cluster specification update from the Instaclustr UI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to
// skip validation when we receive cluster specification update from the Instaclustr Console.
@@ -821,24 +852,23 @@ func (r *PostgreSQLReconciler) newWatchStatusJob(pg *clustersv1alpha1.PostgreSQL | |||
return err | |||
} | |||
|
|||
if pg.Status.CurrentClusterOperationStatus == models.NoOperation && | |||
if instaPG.Status.CurrentClusterOperationStatus == models.NoOperation && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use only one name for the "instaPostgreSQL" variable to make the code consistent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed accordingly to pg
iPg
No description provided.