From 3da24705a606a6a0b8198631e1c10bdc922bfc7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 14 Oct 2022 09:34:14 +0200 Subject: [PATCH] fix sso service --- infrastructure/templates/sso.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/infrastructure/templates/sso.yaml b/infrastructure/templates/sso.yaml index 710a2cc..5f67b0c 100644 --- a/infrastructure/templates/sso.yaml +++ b/infrastructure/templates/sso.yaml @@ -16,7 +16,9 @@ spec: - port: 8443 targetPort: 8443 selector: - deploymentConfig: sso + app.kubernetes.io/name: sso + app.kubernetes.io/component: keycloak + app.kubernetes.io/instance: keycloak --- apiVersion: v1 kind: Service @@ -38,7 +40,9 @@ spec: port: 8888 publishNotReadyAddresses: true selector: - deploymentConfig: sso + app.kubernetes.io/name: sso + app.kubernetes.io/component: keycloak + app.kubernetes.io/instance: keycloak --- apiVersion: route.openshift.io/v1 kind: Route @@ -59,6 +63,7 @@ spec: to: kind: Service name: sso + port: 8443 --- apiVersion: apps/v1 kind: Deployment