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

DNSPolicy: display healthy cond on get #1074

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/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
Loading