Bind the Gateway TLS secret to Konnect via KongCertificate/KongSNI

Gateway API's listeners[].tls.certificateRefs never gets synced to
Konnect by the gateway operator in this setup — same working pattern
as every other resource here (KongService, KongRoute, ...): a
Kong-native CRD, not the Gateway API's own translation.
This commit is contained in:
Stéphane Tailland
2026-08-21 09:47:29 +02:00
parent 466c657240
commit 01f873b773
2 changed files with 24 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
apiVersion: configuration.konghq.com/v1alpha1
kind: KongCertificate
metadata:
name: ${NAME}
namespace: ${NAMESPACE}
spec:
controlPlaneRef:
type: konnectNamespacedRef
konnectNamespacedRef:
name: ${CONTROL_PLANE_REF_NAME}
type: secretRef
secretRef:
name: ${NAME}-tls
---
apiVersion: configuration.konghq.com/v1alpha1
kind: KongSNI
metadata:
name: ${NAME}
namespace: ${NAMESPACE}
spec:
name: ${REST_HOSTNAME}
certificateRef:
name: ${NAME}