2023-02-01 16:18:47 +01:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: hydra-saml-shibboleth-sp
|
|
|
|
name: hydra-saml-shibboleth-sp
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: hydra-saml-shibboleth-sp
|
|
|
|
strategy:
|
|
|
|
type: Recreate
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: hydra-saml-shibboleth-sp
|
|
|
|
spec:
|
2023-11-02 18:32:37 +01:00
|
|
|
securityContext:
|
|
|
|
fsGroup: 102
|
2023-02-01 16:18:47 +01:00
|
|
|
containers:
|
|
|
|
- name: hydra-saml-shibboleth-sp
|
2023-11-02 18:32:37 +01:00
|
|
|
image: reg.cadoles.com/cadoles/shibboleth-sp-v3:v0.0.0-233-g64fcacc
|
2023-02-01 16:18:47 +01:00
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: hydra-saml-env
|
2023-11-02 18:32:37 +01:00
|
|
|
volumeMounts:
|
|
|
|
- name: attributes-map-inc
|
|
|
|
mountPath: /etc/shibboleth/attribute-map.inc.xml
|
|
|
|
subPath: attribute-map.inc.xml
|
2023-02-01 16:18:47 +01:00
|
|
|
ports:
|
|
|
|
- containerPort: 80
|
|
|
|
resources: {}
|
|
|
|
restartPolicy: Always
|
2023-11-02 18:32:37 +01:00
|
|
|
volumes:
|
|
|
|
- name: attributes-map-inc
|
|
|
|
configMap:
|
|
|
|
name: hydra-saml-shibboleth-sp
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: hydra-saml
|
|
|
|
name: hydra-saml
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
port: 80
|
|
|
|
selector:
|
|
|
|
io.kompose.service: hydra-saml-shibboleth-sp
|
|
|
|
status:
|
|
|
|
loadBalancer: {}
|
2023-02-01 16:18:47 +01:00
|
|
|
|