Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added UserManaged field to OperatorConfig
Signed-off-by: Henry Li <[email protected]>
  • Loading branch information
bitscuit committed Sep 9, 2024
commit eb926712996e65505b43f91a7ab2776482d0acff
4 changes: 4 additions & 0 deletions api/v3/commonservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ type OperatorConfig struct {
// zero and not specified. Defaults to 1.
// +optional
Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
// UserManaged is a flag that indicates whether the operator is managed by
// user or not. If set the value will propagate down to UserManaged field
// in the OperandRegistry
UserManaged bool `json:"userManaged,omitempty"`
}

// LicenseList defines the license specification in CSV
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
capabilities: Seamless Upgrades
cloudPakThemesVersion: styles470.css
containerImage: icr.io/cpopen/common-service-operator:latest
createdAt: "2024-04-11T02:45:28Z"
createdAt: "2024-09-09T21:00:30Z"
description: The IBM Cloud Pak foundational services operator is used to deploy IBM foundational services.
nss.operator.ibm.com/managed-operators: ibm-common-service-operator
nss.operator.ibm.com/managed-webhooks: ""
Expand Down Expand Up @@ -395,15 +395,15 @@ spec:
ephemeral-storage: 256Mi
memory: 200Mi
securityContext:
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
Expand Down
6 changes: 6 additions & 0 deletions bundle/manifests/operator.ibm.com_commonservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ spec:
zero and not specified. Defaults to 1.
format: int32
type: integer
userManaged:
description: |-
UserManaged is a flag that indicates whether the operator is managed by
user or not. If set the value will propagate down to UserManaged field
in the OperandRegistry
type: boolean
type: object
type: array
x-kubernetes-preserve-unknown-fields: true
Expand Down
6 changes: 6 additions & 0 deletions config/crd/bases/operator.ibm.com_commonservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ spec:
zero and not specified. Defaults to 1.
format: int32
type: integer
userManaged:
description: |-
UserManaged is a flag that indicates whether the operator is managed by
user or not. If set the value will propagate down to UserManaged field
in the OperandRegistry
type: boolean
type: object
type: array
x-kubernetes-preserve-unknown-fields: true
Expand Down