Skip to content

Commit c19c4ed

Browse files
benjaminjbgkech
authored andcommitted
Update field manager for deployment id / configmap (#4020)
For some reason, this was originally created without PGO listed as the manager for the configmap used by upgrade check.
1 parent 87b89c6 commit c19c4ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/upgradecheck/header.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"k8s.io/client-go/rest"
1919
crclient "sigs.k8s.io/controller-runtime/pkg/client"
2020

21+
"github.com/percona/percona-postgresql-operator/internal/controller/postgrescluster"
2122
"github.com/percona/percona-postgresql-operator/internal/feature"
2223
"github.com/percona/percona-postgresql-operator/internal/logging"
2324
"github.com/percona/percona-postgresql-operator/internal/naming"
@@ -128,7 +129,7 @@ func manageUpgradeCheckConfigMap(ctx context.Context, crClient crclient.Client,
128129
}
129130
}
130131

131-
err = applyConfigMap(ctx, crClient, cm, currentID)
132+
err = applyConfigMap(ctx, crClient, cm, postgrescluster.ControllerName)
132133
if err != nil {
133134
log.V(1).Info("upgrade check issue: could not apply configmap",
134135
"response", err.Error())

0 commit comments

Comments
 (0)