mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 23:26:02 +02:00
Skip syncing Pods
This commit is contained in:
@@ -190,9 +190,6 @@ func (c *Cluster) recreatePods() error {
|
||||
var masterPod v1.Pod
|
||||
for _, pod := range pods.Items {
|
||||
role := util.PodSpiloRole(&pod)
|
||||
if role == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
if role == constants.PodRoleMaster {
|
||||
masterPod = pod
|
||||
|
||||
Reference in New Issue
Block a user