Improvements

-handle rollingUpdate flag
-modularize code
-rename config parameter name
This commit is contained in:
Rafia Sabih
2020-04-28 13:20:07 +02:00
parent 8d718c4fc1
commit eec21453f8
6 changed files with 65 additions and 51 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
result.ShmVolume = fromCRD.ShmVolume
result.Sidecars = fromCRD.Sidecars
result.StatefulsetPropAnnotations = fromCRD.StatefulsetPropAnnotations
result.StatefulsetPropagateAnnotations = fromCRD.StatefulsetPropagateAnnotations
// user config
result.SuperUsername = fromCRD.PostgresUsersConfiguration.SuperUsername