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
I was looking for a way to have OperandRequest to create the Operand CR with a custom name rather than using the default CR name defined in alm-examples in CSV. By looking at the code, it looks the way to achieve this is using instanceName when define OperandRequest, e.g:
This causes the CR failed to recreate, see logs in ODLM:
E0717 10:37:56.184088 1 operandrequest_controller.go:145] failed to reconcile Operands for OperandRequest default/foo: the following errors occurred: - the following errors occurred: - failed to create custom resource: Elasticsearch.elasticsearch.k8s.elastic.co "baz" is invalid: [spec.nodeSets: Required value, spec.version: Required value]
What did you expect to happen:
ODLM should allow me to create OperandRequest w/ non-empty Operand spec.
/kind bug
What steps did you take and what happened:
I was looking for a way to have OperandRequest to create the Operand CR with a custom name rather than using the default CR name defined in alm-examples in CSV. By looking at the code, it looks the way to achieve this is using instanceName when define OperandRequest, e.g:
However, after I apply the above change, I see ODLM leaves the Operand spec empty:
This causes the CR failed to recreate, see logs in ODLM:
What did you expect to happen:
ODLM should allow me to create OperandRequest w/ non-empty Operand spec.
Anything else you would like to add:
Environment:
kubectl version
): v1.21.2/etc/os-release
): RHELThe text was updated successfully, but these errors were encountered: