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 <mvavilov@redhat.com>
  • Loading branch information
maksymvavilov committed Dec 9, 2024
1 parent 9e8480c commit 748cf9b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/v1/dnspolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ var _ kuadrant.Policy = &DNSPolicy{}
// +kubebuilder:metadata:labels="gateway.networking.k8s.io/policy=direct"
// +kubebuilder:printcolumn:name="Accepted",type=string,JSONPath=`.status.conditions[?(@.type=="Accepted")].status`,description="DNSPolicy Accepted",priority=2
// +kubebuilder:printcolumn:name="Enforced",type=string,JSONPath=`.status.conditions[?(@.type=="Enforced")].status`,description="DNSPolicy Enforced",priority=2
// +kubebuilder:printcolumn:name="SubResourcesHealthy",type=string,JSONPath=`.status.conditions[?(@.type=="SubResourcesHealthy")].status`,description="DNSPolicy SubResourcesHealthy",priority=2
// +kubebuilder:printcolumn:name="TargetRefKind",type="string",JSONPath=".spec.targetRef.kind",description="Type of the referenced Gateway API resource",priority=2
// +kubebuilder:printcolumn:name="TargetRefName",type="string",JSONPath=".spec.targetRef.name",description="Name of the referenced Gateway API resource",priority=2
// +kubebuilder:printcolumn:name="TargetSection",type="string",JSONPath=".spec.targetRef.sectionName",description="Name of the Listener section within the Gateway to which the policy applies ",priority=2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/kuadrant-operator:latest
createdAt: "2024-11-26T15:09:44Z"
createdAt: "2024-12-09T09:56:27Z"
description: A Kubernetes Operator to manage the lifecycle of the Kuadrant system
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down
5 changes: 5 additions & 0 deletions bundle/manifests/kuadrant.io_dnspolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ spec:
name: Enforced
priority: 2
type: string
- description: DNSPolicy SubResourcesHealthy
jsonPath: .status.conditions[?(@.type=="SubResourcesHealthy")].status
name: SubResourcesHealthy
priority: 2
type: string
- description: Type of the referenced Gateway API resource
jsonPath: .spec.targetRef.kind
name: TargetRefKind
Expand Down
5 changes: 5 additions & 0 deletions charts/kuadrant-operator/templates/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7024,6 +7024,11 @@ spec:
name: Enforced
priority: 2
type: string
- description: DNSPolicy SubResourcesHealthy
jsonPath: .status.conditions[?(@.type=="SubResourcesHealthy")].status
name: SubResourcesHealthy
priority: 2
type: string
- description: Type of the referenced Gateway API resource
jsonPath: .spec.targetRef.kind
name: TargetRefKind
Expand Down
5 changes: 5 additions & 0 deletions config/crd/bases/kuadrant.io_dnspolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ spec:
name: Enforced
priority: 2
type: string
- description: DNSPolicy SubResourcesHealthy
jsonPath: .status.conditions[?(@.type=="SubResourcesHealthy")].status
name: SubResourcesHealthy
priority: 2
type: string
- description: Type of the referenced Gateway API resource
jsonPath: .spec.targetRef.kind
name: TargetRefKind
Expand Down

0 comments on commit 748cf9b

Please sign in to comment.