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
* Introduce OwnReference API
Signed-off-by: Daniel Fan <[email protected]>
* Enable OwnerReference API for resources created by OperandConfig
Signed-off-by: Daniel Fan <[email protected]>
---------
Signed-off-by: Daniel Fan <[email protected]>
- description: OperandBindInfo is the Schema for the operandbindinfoes API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
152
+
- description: OperandBindInfo is the Schema for the operandbindinfoes API.
153
153
displayName: OperandBindInfo
154
154
kind: OperandBindInfo
155
155
name: operandbindinfos.operator.ibm.com
@@ -160,7 +160,7 @@ spec:
160
160
x-descriptors:
161
161
- urn:alm:descriptor:io.kubernetes.phase
162
162
version: v1alpha1
163
-
- description: OperandConfig is the Schema for the operandconfigs API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
163
+
- description: OperandConfig is the Schema for the operandconfigs API.
164
164
displayName: OperandConfig
165
165
kind: OperandConfig
166
166
name: operandconfigs.operator.ibm.com
@@ -175,7 +175,7 @@ spec:
175
175
x-descriptors:
176
176
- urn:alm:descriptor:io.kubernetes.phase
177
177
version: v1alpha1
178
-
- description: OperandRegistry is the Schema for the operandregistries API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
178
+
- description: OperandRegistry is the Schema for the operandregistries API.
179
179
displayName: OperandRegistry
180
180
kind: OperandRegistry
181
181
name: operandregistries.operator.ibm.com
@@ -195,7 +195,7 @@ spec:
195
195
x-descriptors:
196
196
- urn:alm:descriptor:io.kubernetes.phase
197
197
version: v1alpha1
198
-
- description: OperandRequest is the Schema for the operandrequests API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
198
+
- description: OperandRequest is the Schema for the operandrequests API.
Copy file name to clipboardExpand all lines: config/manifests/bases/operand-deployment-lifecycle-manager.clusterserviceversion.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ spec:
28
28
apiservicedefinitions: {}
29
29
customresourcedefinitions:
30
30
owned:
31
-
- description: OperandBindInfo is the Schema for the operandbindinfoes API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
31
+
- description: OperandBindInfo is the Schema for the operandbindinfoes API.
32
32
displayName: OperandBindInfo
33
33
kind: OperandBindInfo
34
34
name: operandbindinfos.operator.ibm.com
@@ -39,7 +39,7 @@ spec:
39
39
x-descriptors:
40
40
- urn:alm:descriptor:io.kubernetes.phase
41
41
version: v1alpha1
42
-
- description: OperandConfig is the Schema for the operandconfigs API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
42
+
- description: OperandConfig is the Schema for the operandconfigs API.
43
43
displayName: OperandConfig
44
44
kind: OperandConfig
45
45
name: operandconfigs.operator.ibm.com
@@ -54,7 +54,7 @@ spec:
54
54
x-descriptors:
55
55
- urn:alm:descriptor:io.kubernetes.phase
56
56
version: v1alpha1
57
-
- description: OperandRegistry is the Schema for the operandregistries API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
57
+
- description: OperandRegistry is the Schema for the operandregistries API.
58
58
displayName: OperandRegistry
59
59
kind: OperandRegistry
60
60
name: operandregistries.operator.ibm.com
@@ -74,7 +74,7 @@ spec:
74
74
x-descriptors:
75
75
- urn:alm:descriptor:io.kubernetes.phase
76
76
version: v1alpha1
77
-
- description: OperandRequest is the Schema for the operandrequests API. Documentation For additional details regarding install parameters check https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license
77
+
- description: OperandRequest is the Schema for the operandrequests API.
returnerrors.Wrapf(err, "failed to set ownerReference for k8s resource -- Kind: %s, NamespacedName: %s/%s", controlledRes.GetKind(), controlledRes.GetNamespace(), controlledRes.GetName())
1310
+
}
1311
+
}
1312
+
klog.Infof("Set %s with name %s as Owner for k8s resource -- Kind: %s, NamespacedName: %s/%s", owner.Kind, owner.Name, controlledRes.GetKind(), controlledRes.GetNamespace(), controlledRes.GetName())
0 commit comments