Description:
When running kubectl get envoypatchpolicies.gateway.envoyproxy.io, the STATUS column is always empty, even though the EnvoyPatchPolicy is successfully applied (Accepted and Programmed).
The CRD defines an additionalPrinterColumns entry pointing to .status.conditions[?(@.type=="Programmed")].reason. However, EnvoyPatchPolicy stores conditions under .status.ancestors[].conditions following Gateway API conventions.
Repro steps:
Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.
Note: If there are privacy concerns, sanitize the data prior to
sharing.
Environment:
Envoy Gateway version: v1.6.1
Envoy version: distroless-v1.36.3
Logs:
here https://github.com/envoyproxy/gateway/blob/main/charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoypatchpolicies.yaml#L21
it should be
additionalPrinterColumns:
- name: Accepted
type: string
jsonPath: .status.ancestors[0].conditions[?(@.type=="Accepted")].status
- name: Programmed
type: string
jsonPath: .status.ancestors[0].conditions[?(@.type=="Programmed")].status
- name: Age
type: date
jsonPath: .metadata.creationTimestamp