forked from mystiq/dex
32 lines
932 B
YAML
32 lines
932 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
labels:
|
|
app: dex
|
|
role: worker
|
|
name: dex-worker
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
app: dex
|
|
role: worker
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: dex
|
|
role: worker
|
|
spec:
|
|
containers:
|
|
- image: quay.io/coreos/dex
|
|
name: dex-worker
|
|
command: ["/opt/dex/bin/dex-worker", "-issuer", "http://dex-worker.default:5556", "-key-secrets", "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHg=", "-db-url", "postgres://postgres@dex-postgres.default:5432/postgres?sslmode=disable", "-email-cfg", "/opt/dex/email/emailer.json", "-listen", "http://0.0.0.0:5556"]
|
|
ports:
|
|
- containerPort: 5556
|
|
name: worker-port
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 5556
|
|
initialDelaySeconds: 15
|
|
timeoutSeconds: 1
|
|
|