Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Merged
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
6 changes: 4 additions & 2 deletions api/v1alpha1/openstackclusterstackrelease_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ type OpenstackClusterStackReleaseSpec struct {

// OpenstackClusterStackReleaseStatus defines the observed state of OpenstackClusterStackRelease.
type OpenstackClusterStackReleaseStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +optional
// +kubebuilder:default:=false
Ready bool `json:"ready,omitempty"`
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready"

// OpenstackClusterStackRelease is the Schema for the openstackclusterstackreleases API.
type OpenstackClusterStackRelease struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ spec:
singular: openstackclusterstackrelease
scope: Namespaced
versions:
- name: v1alpha1
- additionalPrinterColumns:
- jsonPath: .status.ready
name: Ready
type: boolean
name: v1alpha1
schema:
openAPIV3Schema:
description: OpenstackClusterStackRelease is the Schema for the openstackclusterstackreleases
Expand Down Expand Up @@ -44,6 +48,10 @@ spec:
status:
description: OpenstackClusterStackReleaseStatus defines the observed state
of OpenstackClusterStackRelease.
properties:
ready:
default: false
type: boolean
type: object
type: object
served: true
Expand Down