From c5d2dce1abe4380df6adeb928eb139de883b14af Mon Sep 17 00:00:00 2001 From: Katopodisv Date: Wed, 23 Nov 2022 16:34:39 +0200 Subject: [PATCH] Policy: Fix kubernetes service manifest --- src/policy/target/kubernetes/kubernetes.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/policy/target/kubernetes/kubernetes.yml b/src/policy/target/kubernetes/kubernetes.yml index e85477c29..1a2b4e26c 100644 --- a/src/policy/target/kubernetes/kubernetes.yml +++ b/src/policy/target/kubernetes/kubernetes.yml @@ -11,15 +11,12 @@ metadata: name: policyservice spec: ports: - - name: grpc-server - port: 6060 - targetPort: 6060 - - name: grpc - port: 6060 - targetPort: 6060 - name: http port: 8080 targetPort: 8080 + - name: grpc + port: 6060 + targetPort: 6060 selector: app.kubernetes.io/name: policyservice type: ClusterIP @@ -80,9 +77,6 @@ spec: - containerPort: 6060 name: grpc protocol: TCP - - containerPort: 6060 - name: grpc-server - protocol: TCP readinessProbe: failureThreshold: 3 httpGet: -- GitLab