You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(chore): Use label-based cache for revision lookups instead of explicit chains (#2315)
Instead of tracking revision history through Spec.Previous fields, we now
find related revisions using labels and the controller-runtime cache. This
is more efficient and works better with controller-runtime's caching layer.
To support this change, the Helm-to-Boxcutter migration now sets
ownerReferences on migrated revisions, ensuring they work identically
to newly created revisions.
Assisted-by: Cursor
Copy file name to clipboardExpand all lines: helm/olmv1/base/operator-controller/crd/experimental/olm.operatorframework.io_clusterextensionrevisions.yaml
-21Lines changed: 0 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -111,27 +111,6 @@ spec:
111
111
x-kubernetes-validations:
112
112
- message: phases is immutable
113
113
rule: self == oldSelf || oldSelf.size() == 0
114
-
previous:
115
-
description: Previous references previous revisions that objects can
116
-
be adopted from.
117
-
items:
118
-
properties:
119
-
name:
120
-
type: string
121
-
uid:
122
-
description: |-
123
-
UID is a type that holds unique ID values, including UUIDs. Because we
124
-
don't ONLY use UUIDs, this is an alias to string. Being a type captures
125
-
intent and helps make sure that UIDs and names do not get conflated.
126
-
type: string
127
-
required:
128
-
- name
129
-
- uid
130
-
type: object
131
-
type: array
132
-
x-kubernetes-validations:
133
-
- message: previous is immutable
134
-
rule: self == oldSelf
135
114
revision:
136
115
description: |-
137
116
Revision is a sequence number representing a specific revision of the ClusterExtension instance.
0 commit comments