diff --git a/pkg/operators/v1/operatorcondition_types.go b/pkg/operators/v1/operatorcondition_types.go index 212e06589..dbfccc5ce 100644 --- a/pkg/operators/v1/operatorcondition_types.go +++ b/pkg/operators/v1/operatorcondition_types.go @@ -4,6 +4,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) +const ( + // OperatorUpgradeable indicates that the operator is upgradeable + OperatorUpgradeable ConditionType = "OperatorUpgradeable" +) + // OperatorConditionSpec allows a cluster admin to convey information about the state of an operator to OLM, potentially overriding state reported by the operator. type OperatorConditionSpec struct { ServiceAccounts []string `json:"serviceAccounts,omitempty"`