-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native support for Konnect integration in DataPlane #203
Comments
I'd make this a kind: KonnectConfiguration
apiVersion: gateway-operator.konghq.com/v1beta1
metadata:
name: kong
namespace: default
spec:
konnectOptions:
controlPlaneId: YOUR_CP_ID
controlPlaneRegion: us|eu|au
prefix: YOUR_PREFIX
tlsSecretName: konnect-client-tls
controlPlaneOptions:
deployment:
podTemplateSpec:
spec:
containers:
- name: controller
image: kong/kubernetes-ingress-controller:3.1.3
env:
- name: CONTROLLER_LOG_LEVEL
value: debug
dataPlaneOptions:
deployment:
podTemplateSpec:
spec:
containers:
- name: proxy
image: kong/kong-gateway:3.7.0.0 apiVersion: gateway-operator.konghq.com/v1beta1
kind: DataPlane
metadata:
name: dataplane-example
namespace: kong
spec:
deployment:
podTemplateSpec:
spec:
konnectOptions:
controlPlaneId: YOUR_CP_ID
controlPlaneRegion: us|eu|au
prefix: YOUR_PREFIX
tlsSecretName: konnect-client-tls |
I believe we can sync on this (this issue is still unassigned so not sure if anyone is working on this).
|
My initial proposal written down in the issue description was rather an ad-hoc base so we can have something to discuss. I agree with @mheap that it would be better to have some struct that we could use both in As it comes to naming, I think we have to make sure that we do not end up with ambiguous
👍 I'm happy to sync on this next week. I don't think anyone's working on this issue right now. |
I like this. And putting it inside |
Problem Statement
Currently, to deploy
DataPlane
s that will sync with Konnect Control Plane, one has to define a very verbose PodTemplateSpec patch that will define all the required environment variables Kong Gateway needs for that purpose:It's not the best user experience as there's a lot of repetition and it's easy to make a mistake.
We should make DataPlane natively integrated with Konnect by extending the CRD with a Konnect-specific spec section.
Proposed Solution
Extend
DataPlaneOptions
withKonnect
section as below:This will reduce the repetition and allow rigid validation of the input based on the defined schema.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: