Skip to content

Commit

Permalink
display healthy cond on get
Browse files Browse the repository at this point in the history
Signed-off-by: Maskym Vavilov <[email protected]>

# Conflicts:
#	bundle/manifests/dns-operator.clusterserviceversion.yaml
  • Loading branch information
maksymvavilov committed Dec 11, 2024
1 parent 82e85dc commit b8a6f2b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/v1alpha1/dnsrecord_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ type DNSRecordStatus struct {
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="DNSRecord ready."
//+kubebuilder:printcolumn:name="Healthy",type="string",JSONPath=".status.conditions[?(@.type==\"Healthy\")].status",description="DNSRecord healthy.",priority=2

// DNSRecord is the Schema for the dnsrecords API
type DNSRecord struct {
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/dns-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/dns-operator:latest
createdAt: "2024-11-26T11:14:48Z"
createdAt: "2024-12-11T10:05:36Z"
description: A Kubernetes Operator to manage the lifecycle of DNS resources
operators.operatorframework.io/builder: operator-sdk-v1.33.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
Expand Down
5 changes: 5 additions & 0 deletions bundle/manifests/kuadrant.io_dnsrecords.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ spec:
jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- description: DNSRecord healthy.
jsonPath: .status.conditions[?(@.type=="Healthy")].status
name: Healthy
priority: 2
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down
5 changes: 5 additions & 0 deletions charts/dns-operator/templates/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ spec:
jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- description: DNSRecord healthy.
jsonPath: .status.conditions[?(@.type=="Healthy")].status
name: Healthy
priority: 2
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down
5 changes: 5 additions & 0 deletions config/crd/bases/kuadrant.io_dnsrecords.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ spec:
jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- description: DNSRecord healthy.
jsonPath: .status.conditions[?(@.type=="Healthy")].status
name: Healthy
priority: 2
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down

0 comments on commit b8a6f2b

Please sign in to comment.