2023-11-02 18:32:37 +01:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
2024-02-21 15:43:42 +01:00
|
|
|
app.kubernetes.io/name: saml-idp
|
2023-11-02 18:32:37 +01:00
|
|
|
name: saml-idp
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2024-02-21 15:43:42 +01:00
|
|
|
app.kubernetes.io/name: saml-idp
|
2023-11-02 18:32:37 +01:00
|
|
|
strategy:
|
|
|
|
type: Recreate
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2024-02-21 15:43:42 +01:00
|
|
|
app.kubernetes.io/name: saml-idp
|
2023-11-02 18:32:37 +01:00
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- image: kristophjunge/test-saml-idp:1.15
|
|
|
|
name: saml-idp
|
|
|
|
ports:
|
|
|
|
- containerPort: 8443
|
|
|
|
resources: {}
|
|
|
|
env:
|
|
|
|
- name: SIMPLESAMLPHP_SP_ENTITY_ID
|
|
|
|
value: https://ssokustom/auth/saml
|
|
|
|
- name: SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE
|
|
|
|
value: https://ssokustom/auth/saml/Shibboleth.sso/SAML2/POST
|
|
|
|
- name: SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE
|
|
|
|
value: https://ssokustom/auth/saml/Shibboleth.sso/Logout?return=https://ssokustom
|
|
|
|
restartPolicy: Always
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
labels:
|
2024-02-21 15:43:42 +01:00
|
|
|
app.kubernetes.io/name: saml-idp
|
2023-11-02 18:32:37 +01:00
|
|
|
name: saml-idp
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
port: 8080
|
|
|
|
targetPort: 8080
|
|
|
|
- name: https
|
|
|
|
port: 8443
|
|
|
|
targetPort: 8443
|
|
|
|
selector:
|
2024-02-21 15:43:42 +01:00
|
|
|
app.kubernetes.io/name: saml-idp
|
2023-11-02 18:32:37 +01:00
|
|
|
status:
|
|
|
|
loadBalancer: {}
|