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
Calculate module status and display as an additional (Healthy - boolean) column when listing installed modules
AC
for managed modules we could use the information about module status from Kyma CR (and avoid doing evaluation in kyma cli logic)
for modules for which management was disabled kyma cli would need to calculate the status based on module CR (status.state) or, if module doesnt come with module CR, based on manager's status ( find it first in the cluster based on module template.spec.manager).
The text was updated successfully, but these errors were encountered:
.spec.manager is not a mandatory field in the module template (also .spec.manager.namespace is not mandatory, but no default value has been documented in CRD)
This command returns error in case no compatible module is installed: i.e:
kyma@v3 alpha module list
Error:
failed to list available modules from the cluster
Error Details:
failed to discover API resource using discovery client: resource 'Sample' in group 'operator.kyma-project.io', and version 'v1alpha1' not registered on cluster
☝ the error is confusing. where does it come from?
Then if I installed template-operator with kyma@v3 alpha module add template-operator
I can see the list:
kyma@v3 alpha module list
NAME AVAILABLE VERSIONS INSTALLED MANAGED STATUS
template-operator 0.0.1-catalog-meta(regular), 0.0.2-catalog-meta(fast) true Ready
0.0.2-catalog-meta(fast)
Description
Calculate module status and display as an additional (
Healthy
- boolean) column when listing installed modulesAC
status.state
) or, if module doesnt come with module CR, based on manager's status ( find it first in the cluster based on module template.spec.manager
).The text was updated successfully, but these errors were encountered: