Skip to content
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
4 changes: 3 additions & 1 deletion api/v1beta2/appwrapper_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ const (
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:printcolumn:name="Status",type="string",JSONPath=`.status.phase`
//+kubebuilder:resource:shortName={appwrapper,appwrappers}
//+kubebuilder:printcolumn:name="Quota Reserved",type="string",JSONPath=".status.conditions[?(@.type==\"QuotaReserved\")].status"
//+kubebuilder:printcolumn:name="Resources Deployed",type="string",JSONPath=".status.conditions[?(@.type==\"ResourcesDeployed\")].status"
//+kubebuilder:printcolumn:name="Unhealthy",type="string",JSONPath=".status.conditions[?(@.type==\"Unhealthy\")].status"

// AppWrapper is the Schema for the appwrappers API
type AppWrapper struct {
Expand Down
9 changes: 9 additions & 0 deletions config/crd/bases/workload.codeflare.dev_appwrappers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ spec:
- jsonPath: .status.phase
name: Status
type: string
- jsonPath: .status.conditions[?(@.type=="QuotaReserved")].status
name: Quota Reserved
type: string
- jsonPath: .status.conditions[?(@.type=="ResourcesDeployed")].status
name: Resources Deployed
type: string
- jsonPath: .status.conditions[?(@.type=="Unhealthy")].status
name: Unhealthy
type: string
name: v1beta2
schema:
openAPIV3Schema:
Expand Down