41 lines
1022 B
YAML
41 lines
1022 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: app
|
|
name: app
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: app
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: app
|
|
spec:
|
|
containers:
|
|
- image: bornholm/oidc-test:v0.0.0-1-g936a77e
|
|
name: app
|
|
ports:
|
|
- containerPort: 8080
|
|
resources: {}
|
|
env:
|
|
- name: LOG_LEVEL
|
|
value: "0"
|
|
- name: HTTP_ADDRESS
|
|
value: 0.0.0.0:8080
|
|
- name: OIDC_CLIENT_ID
|
|
value: oidc-test
|
|
- name: OIDC_CLIENT_SECRET
|
|
value: oidc-test-123456
|
|
- name: OIDC_ISSUER_URL
|
|
value: http://ssokustom:8080/auth
|
|
- name: OIDC_REDIRECT_URL
|
|
value: http://ssokustom:8080
|
|
- name: OIDC_POST_LOGOUT_REDIRECT_URL
|
|
value: http://ssokustom:8080
|
|
restartPolicy: Always
|