Skip to content
Prev Previous commit
Next Next commit
added UserManaged field to OperandRegistry
- for BYO scenario

Signed-off-by: Henry Li <[email protected]>
  • Loading branch information
bitscuit committed Aug 27, 2024
commit c13a33dda97e554432efc3152171d8e8815c2fa5
2 changes: 2 additions & 0 deletions api/v1alpha1/operandregistry_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ type Operator struct {
// OperatorConfig is the name of the OperatorConfig
// +optional
OperatorConfig string `json:"operatorConfig,omitempty"`
// UserManaged is a flag to indicate whether operator is managed by user
UserManaged bool `json:"userManaged,omitempty"`
}

// +kubebuilder:validation:Enum=public;private
Expand Down
4 changes: 4 additions & 0 deletions bundle/manifests/operator.ibm.com_operandregistries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,10 @@ spec:
items:
type: string
type: array
userManaged:
description: UserManaged is a flag to indicate whether operator
is managed by user
type: boolean
required:
- channel
- name
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/operator.ibm.com_operandregistries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2051,6 +2051,10 @@ spec:
items:
type: string
type: array
userManaged:
description: UserManaged is a flag to indicate whether operator
is managed by user
type: boolean
required:
- channel
- name
Expand Down