Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Provide namespace of the referenced ClusterClass in TEMPLATENAMESPACE #11802

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/v1beta1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,7 @@ func (v APIEndpoint) String() string {
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="ClusterClass",type="string",JSONPath=".spec.topology.class",description="ClusterClass of this Cluster, empty if the Cluster is not using a ClusterClass"
// +kubebuilder:printcolumn:name="ClusterClass_Namespace",type="string",JSONPath=".spec.topology.classNamespace",description="Template namespace of this Cluster",priority=10
// +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase",description="Cluster status such as Pending/Provisioning/Provisioned/Deleting/Failed"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of Cluster"
// +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.topology.version",description="Kubernetes version associated with this Cluster"
Expand Down
5 changes: 5 additions & 0 deletions config/crd/bases/cluster.x-k8s.io_clusters.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 20 additions & 19 deletions docs/proposals/20240916-improve-status-in-CAPI-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -933,25 +933,26 @@ Notes:

#### Cluster Print columns

| Current | To be |
|-----------------|-----------------------|
| `NAME` | `NAME` |
| `CLUSTER CLASS` | `CLUSTER CLASS` |
| `PHASE` | `PAUSED` (new) (*) |
| `AGE` | `AVAILABLE` (new) |
| `VERSION` | `CP_DESIRED` (new) |
| | `CP_CURRENT`(new) (*) |
| | `CP_READY` (new) (*) |
| | `CP_AVAILABLE` (new) |
| | `CP_UP-TO-DATE` (new) |
| | `W_DESIRED` (new) |
| | `W_CURRENT`(new) (*) |
| | `W_READY` (new) (*) |
| | `W_AVAILABLE` (new) |
| | `W_UP-TO-DATE` (new) |
| | `PHASE` |
| | `AGE` |
| | `VERSION` |
| Current | To be |
|-----------------|---------------------------------|
| `NAME` | `NAME` |
| `CLUSTER CLASS` | `CLUSTER CLASS` |
| | `TOPOLOGY_NAMESPACE` (new) (*) |
| `PHASE` | `PAUSED` (new) (*) |
| `AGE` | `AVAILABLE` (new) |
| `VERSION` | `CP_DESIRED` (new) |
| | `CP_CURRENT`(new) (*) |
| | `CP_READY` (new) (*) |
| | `CP_AVAILABLE` (new) |
| | `CP_UP-TO-DATE` (new) |
| | `W_DESIRED` (new) |
| | `W_CURRENT`(new) (*) |
| | `W_READY` (new) (*) |
| | `W_AVAILABLE` (new) |
| | `W_UP-TO-DATE` (new) |
| | `PHASE` |
| | `AGE` |
| | `VERSION` |

(*) visible only when using `kubectl get -o wide`

Expand Down