diff --git a/infra/overlays/upc-dev/chibisafe/auth-service.yaml b/infra/overlays/upc-dev/chibisafe/auth-service.yaml new file mode 100644 index 0000000..8d2b6c6 --- /dev/null +++ b/infra/overlays/upc-dev/chibisafe/auth-service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: chibisafe-auth + namespace: chibisafe +spec: + type: ClusterIP + ports: + - port: 9001 + targetPort: 9001 + protocol: TCP + name: auth + selector: + app.kubernetes.io/name: chibisafe + app.kubernetes.io/instance: chibisafe diff --git a/infra/overlays/upc-dev/chibisafe/ingressroute.yaml b/infra/overlays/upc-dev/chibisafe/ingressroute.yaml index 4d3d6e6..f10bfc1 100644 --- a/infra/overlays/upc-dev/chibisafe/ingressroute.yaml +++ b/infra/overlays/upc-dev/chibisafe/ingressroute.yaml @@ -30,7 +30,7 @@ spec: - match: Host(`chibisafe.forteapps.net`) kind: Rule services: - - name: chibisafe + - name: chibisafe-auth port: 9001 tls: secretName: chibisafe-tls diff --git a/infra/overlays/upc-dev/chibisafe/kustomization.yaml b/infra/overlays/upc-dev/chibisafe/kustomization.yaml index 815b8fb..2c2f5d3 100644 --- a/infra/overlays/upc-dev/chibisafe/kustomization.yaml +++ b/infra/overlays/upc-dev/chibisafe/kustomization.yaml @@ -5,3 +5,4 @@ resources: - keycloak-client-config.yaml - ingressroute.yaml - auth-oidc-secret.yaml +- auth-service.yaml