Skip to content

Commit

Permalink
Merge pull request #684 from redhat-marketplace/release/2.17.4
Browse files Browse the repository at this point in the history
Release/2.17.4
  • Loading branch information
dacleyra authored Oct 15, 2024
2 parents 5c44fa3 + 94d5121 commit ca8bbe7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datareporter/v2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Current Operator version
UNAME_S := $(shell uname -s)
UNAME := $(shell echo `uname` | tr '[:upper:]' '[:lower:]')
OPENSHIFT_VERSIONS ?= v4.12-v4.16
OPENSHIFT_VERSIONS ?= v4.12-v4.17
CHANNELS ?= beta,stable
DEFAULT_CHANNEL ?= stable

Expand Down
2 changes: 1 addition & 1 deletion v2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Current Operator version
UNAME_S := $(shell uname -s)
UNAME := $(shell echo `uname` | tr '[:upper:]' '[:lower:]')
OPENSHIFT_VERSIONS ?= v4.12-v4.16
OPENSHIFT_VERSIONS ?= v4.12-v4.17
CHANNELS ?= beta,stable
DEFAULT_CHANNEL ?= stable

Expand Down
8 changes: 6 additions & 2 deletions v2/controllers/marketplace/clusterregistration_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,12 @@ func (r *ClusterRegistrationReconciler) Reconcile(ctx context.Context, request r
var newOptSecretObj *v1.Secret
var rhmAccountExists *bool // nil=unknown, true, false
var registrationStatusConditions status.Conditions

// RHMPullSecret always has an account
if si.Type == utils.RHMPullSecretName {
rhmAccountExists = ptr.Bool(true)
}

if !ptr.ToBool(marketplaceConfig.Spec.IsDisconnected) {
//only check registration status, compare pull secret from COS if we are not in a disconnected environment

Expand All @@ -258,8 +264,6 @@ func (r *ClusterRegistrationReconciler) Reconcile(ctx context.Context, request r
} else if cond != nil && cond.IsTrue() { // already found account exists
rhmAccountExists = ptr.Bool(true)
}
} else if si.Type == utils.RHMPullSecretName {
rhmAccountExists = ptr.Bool(true)
}

// only check registration and get the secret if RHM account exists
Expand Down
4 changes: 2 additions & 2 deletions v2/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

package version

const Version = "2.17.3"
const LastVersion = "2.17.2"
const Version = "2.17.4"
const LastVersion = "2.17.3"

0 comments on commit ca8bbe7

Please sign in to comment.