Files
kong-catalog-api/kong/rest/certificate.yaml
T
Stéphane Tailland 01f873b773 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.
2026-08-21 09:47:29 +02:00

24 lines
476 B
YAML

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}