Add support for Secret
kind
in BackendTLSPolicy
's spec.validation.caCertificateRefs[*].kind
#6834
Labels
area/gateway-api
Relating to upstream Kubernetes SIG Networking Gateway API
Milestone
Problem statement
Support for
BackendTLSPolicy
in 3.4 introduced support forConfigMap
kind
inspec.valiadation.caCertificateRefs
.This introduces a gap in implementation between using
BackendTLSPolicy
and usingkonghq.com/ca-certificates-secret
orkonghq.com/ca-certificates-configmap
annotations onService
.ℹ️ Only
ConfigMap
kind
is consideredCore
as per the Gateway API spec: https://github.com/kubernetes-sigs/gateway-api/blob/26051f587ccaf54823ccfd7eca5cbf2013aa8177/apis/v1alpha3/backendtlspolicy_types.go#L115-L119Proposed solution
Extend the code in
kubernetes-ingress-controller/internal/controllers/gateway/backendtlspolicy_controller.go
Lines 304 to 317 in 9f0ded8
Secret
sAcceptance criteria
Secret
inBackendTLSPolicy
'sspec.validation.caCertificateRefs[*].kind
with KIC.The text was updated successfully, but these errors were encountered: