sso-kustom/components/hydra-saml/resources/hydra-saml-shibboleth-sp.yaml

55 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: hydra-saml-shibboleth-sp
name: hydra-saml-shibboleth-sp
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: hydra-saml-shibboleth-sp
strategy:
type: Recreate
template:
metadata:
labels:
app.kubernetes.io/name: hydra-saml-shibboleth-sp
spec:
securityContext:
fsGroup: 102
containers:
- name: hydra-saml-shibboleth-sp
image: reg.cadoles.com/cadoles/shibboleth-sp-v3:2023.12.12-develop.1039.49b85e1
envFrom:
- configMapRef:
name: hydra-saml-env
volumeMounts:
- name: attributes-map-inc
mountPath: /etc/shibboleth/attribute-map.inc.xml
subPath: attribute-map.inc.xml
ports:
- containerPort: 80
resources: {}
restartPolicy: Always
volumes:
- name: attributes-map-inc
configMap:
name: hydra-saml-shibboleth-sp
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: hydra-saml
name: hydra-saml
spec:
ports:
- name: http
port: 80
selector:
app.kubernetes.io/name: hydra-saml-shibboleth-sp
status:
loadBalancer: {}