Files
ubicloud/views/components/kubernetes_state_label.erb
Eren Başak 3342afdd11 Add State for Kubernetes Cluster
The state is displayed in the list and details views.
We have 3 states: creating, running and deleting.

The granular states for individual VMs displayed in the details view are
not super correct, as a node will be in "running" state even though the
k8s is being configured or failed within the VM. That's a patch for
another day.
2025-02-05 08:03:46 +02:00

3 lines
147 B
Plaintext

<%# locals: (state:, extra_class: nil) %>
<%== part("components/state_label", state:, color: KUBERNETES_STATE_LABEL_COLOR[state], extra_class:) %>