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
Prev Previous commit
Next Next commit
added preserve unknown fields to ServiceOperatorConfig type
Signed-off-by: Henry H Li <[email protected]>
  • Loading branch information
bitscuit committed Mar 29, 2024
commit 021f03e098bfd8853410d66a2ab5e63996ae170e
1 change: 1 addition & 0 deletions api/v1alpha1/operatorconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type OperatorConfigSpec struct {
Foo string `json:"foo,omitempty"`

// Services is a list of services to be configured, specifically their operators
// +kubebuilder:pruning:PreserveUnknownFields
Services []ServiceOperatorConfig `json:"services,omitempty"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ metadata:
categories: Developer Tools, Monitoring, Logging & Tracing, Security
certified: "false"
containerImage: icr.io/cpopen/odlm:latest
createdAt: "2024-03-29T03:05:22Z"
createdAt: "2024-03-29T03:10:47Z"
description: The Operand Deployment Lifecycle Manager provides a Kubernetes CRD-based API to manage the lifecycle of operands.
nss.operator.ibm.com/managed-operators: ibm-odlm
olm.skipRange: '>=1.2.0 <4.3.0'
Expand Down
1 change: 1 addition & 0 deletions bundle/manifests/operator.ibm.com_operatorconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ spec:
- name
type: object
type: array
x-kubernetes-preserve-unknown-fields: true
type: object
x-kubernetes-preserve-unknown-fields: true
status:
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/operator.ibm.com_operatorconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,7 @@ spec:
- name
type: object
type: array
x-kubernetes-preserve-unknown-fields: true
type: object
x-kubernetes-preserve-unknown-fields: true
status:
Expand Down