Skip to content

Commit

Permalink
Update field manager for deployment id / configmap
Browse files Browse the repository at this point in the history
For some reason, this was originally created without PGO
listed as the manager for the configmap used by upgrade check.
  • Loading branch information
benjaminjb authored Oct 28, 2024
1 parent 446c9c7 commit d08db18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/upgradecheck/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"k8s.io/client-go/rest"
crclient "sigs.k8s.io/controller-runtime/pkg/client"

"github.com/crunchydata/postgres-operator/internal/controller/postgrescluster"
"github.com/crunchydata/postgres-operator/internal/feature"
"github.com/crunchydata/postgres-operator/internal/logging"
"github.com/crunchydata/postgres-operator/internal/naming"
Expand Down Expand Up @@ -128,7 +129,7 @@ func manageUpgradeCheckConfigMap(ctx context.Context, crClient crclient.Client,
}
}

err = applyConfigMap(ctx, crClient, cm, currentID)
err = applyConfigMap(ctx, crClient, cm, postgrescluster.ControllerName)
if err != nil {
log.V(1).Info("upgrade check issue: could not apply configmap",
"response", err.Error())
Expand Down

0 comments on commit d08db18

Please sign in to comment.