51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: saml-idp
|
|
name: saml-idp
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: saml-idp
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: saml-idp
|
|
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:
|
|
io.kompose.service: saml-idp
|
|
name: saml-idp
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
targetPort: 8080
|
|
- name: https
|
|
port: 8443
|
|
targetPort: 8443
|
|
selector:
|
|
io.kompose.service: saml-idp
|
|
status:
|
|
loadBalancer: {} |