Following a minor upgrade, the 'ccpimagetag' setting
in the pgcluster CR is now always updated to the new
image tag as specified for the upgrade.
@@ -367,10 +367,8 @@ func completeUpgrade(clientset *kubernetes.Clientset, restclient *rest.RESTClien
log.Debug("Minor Upgrade: Completing...")
// update cluster image tag (CCPImageTag) once the upgrade is complete
- if !autoFail {
upgradedImageTag := upgradeTask.Spec.Parameters["CCPImageTag"]
updateClusterCCPImage(restclient, upgradedImageTag, clusterName, namespace)
- }
removeMinorUpgradeLabelFromCluster(clientset, restclient, clusterName, namespace)
