First commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# host is a plain DNS string, not a Kubernetes object reference — unlike
|
||||
# HTTPRoute's backendRefs, this needs no ReferenceGrant to cross into the
|
||||
# classic-models namespace.
|
||||
#
|
||||
# metadata.name carries the ${NAME} (env) prefix because this domain's
|
||||
# environments share one k8s namespace (see dataplane-catalog's own
|
||||
# NAME/NAMESPACE split) — spec.name (Kong/Konnect-side) doesn't need it,
|
||||
# each env already has its own isolated Control Plane.
|
||||
apiVersion: configuration.konghq.com/v1alpha1
|
||||
kind: KongService
|
||||
metadata:
|
||||
name: ${NAME}-catalog-api
|
||||
namespace: ${NAMESPACE}
|
||||
spec:
|
||||
controlPlaneRef:
|
||||
type: konnectNamespacedRef
|
||||
konnectNamespacedRef:
|
||||
name: ${CONTROL_PLANE_REF_NAME}
|
||||
name: catalog-api
|
||||
host: ${BACKEND_HOST}
|
||||
port: 8000
|
||||
protocol: http
|
||||
path: /
|
||||
tags:
|
||||
- catalog
|
||||
Reference in New Issue
Block a user