fix(saml): fixing port name longer than 15c

This commit is contained in:
Philippe Caseiro 2023-06-22 16:50:53 +02:00
parent 9d69c9ada0
commit c7e058b86b
2 changed files with 16 additions and 16 deletions

View File

@ -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: {}

View File

@ -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