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

55 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2023-02-01 16:18:47 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: hydra-saml-shibboleth-sp
2023-02-01 16:18:47 +01:00
name: hydra-saml-shibboleth-sp
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: hydra-saml-shibboleth-sp
2023-02-01 16:18:47 +01:00
strategy:
type: Recreate
template:
metadata:
labels:
app.kubernetes.io/name: hydra-saml-shibboleth-sp
2023-02-01 16:18:47 +01:00
spec:
securityContext:
fsGroup: 102
2023-02-01 16:18:47 +01:00
containers:
- name: hydra-saml-shibboleth-sp
image: reg.cadoles.com/cadoles/shibboleth-sp-v3:2023.12.12-develop.1039.49b85e1
2023-02-01 16:18:47 +01:00
envFrom:
- configMapRef:
name: hydra-saml-env
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
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: {}