From b2b90423888fbccfe1342119d347d1f10639e138 Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Mon, 18 Nov 2024 15:02:54 -0800 Subject: [PATCH] use data-plane as service selector match --- microservices/kubeApi/templates/v1/services.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/microservices/kubeApi/templates/v1/services.py b/microservices/kubeApi/templates/v1/services.py index 4a9b13e1..80b89219 100644 --- a/microservices/kubeApi/templates/v1/services.py +++ b/microservices/kubeApi/templates/v1/services.py @@ -23,9 +23,7 @@ targetPort: 8443 type: ClusterIP selector: - app.kubernetes.io/component: app - app.kubernetes.io/instance: dp-silver - app.kubernetes.io/name: kong + data-plane: ${data_plane} """) SERVICE_HEAD = Template("""