From c7e058b86b9d26944b00c2c68933319082ab7894 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 22 Jun 2023 16:50:53 +0200 Subject: [PATCH] fix(saml): fixing port name longer than 15c --- .../resources/hydra-saml-service.yaml | 6 ++--- .../hydra-saml-shibboleth-sp-deployment.yaml | 26 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/components/hydra-saml/resources/hydra-saml-service.yaml b/components/hydra-saml/resources/hydra-saml-service.yaml index c85bbc1..0e4357b 100644 --- a/components/hydra-saml/resources/hydra-saml-service.yaml +++ b/components/hydra-saml/resources/hydra-saml-service.yaml @@ -6,9 +6,9 @@ metadata: name: hydra-saml spec: ports: - - name: hydra-saml-shibboleth-sp - port: 80 + - name: hydra-saml + port: 80 selector: - io.kompose.service: hydra-saml-shibboleth-sp + io.kompose.service: hydra-saml status: loadBalancer: {} diff --git a/components/hydra-saml/resources/hydra-saml-shibboleth-sp-deployment.yaml b/components/hydra-saml/resources/hydra-saml-shibboleth-sp-deployment.yaml index 80a793b..df8c6e4 100644 --- a/components/hydra-saml/resources/hydra-saml-shibboleth-sp-deployment.yaml +++ b/components/hydra-saml/resources/hydra-saml-shibboleth-sp-deployment.yaml @@ -2,28 +2,28 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - io.kompose.service: hydra-saml-shibboleth-sp - name: hydra-saml-shibboleth-sp + io.kompose.service: hydra-saml + name: hydra-saml spec: replicas: 1 selector: matchLabels: - io.kompose.service: hydra-saml-shibboleth-sp + io.kompose.service: hydra-saml strategy: type: Recreate template: metadata: labels: - io.kompose.service: hydra-saml-shibboleth-sp + io.kompose.service: hydra-saml spec: containers: - - name: hydra-saml-shibboleth-sp - image: reg.cadoles.com/cadoles/shibboleth-sp-v3:v0.0.0-172-g0f44679 - envFrom: - - configMapRef: - name: hydra-saml-env - ports: - - containerPort: 80 - resources: {} + - name: hydra-saml + image: reg.cadoles.com/cadoles/shibboleth-sp-v3:v0.0.0-172-g0f44679 + envFrom: + - configMapRef: + name: hydra-saml-env + ports: + - containerPort: 80 + resources: {} restartPolicy: Always - +