Commit d9b66800 authored by Bobby Rullo's avatar Bobby Rullo

contrib/k8s: get yaml up-to-date with latest k8s

parent b340660d
apiVersion: v1beta3
apiVersion: v1
kind: ReplicationController
metadata:
labels:
......@@ -19,7 +19,13 @@ spec:
containers:
- image: quay.io/coreos/dex
name: dex-overlord
command: ["/opt/dex/bin/dex-overlord", "-key-secret", "XXXXXXXXXXXXX", "-db-url", "postgres://postgres@auth-postgres.default.tectonic.local:5432/auth?sslmode=disable"]
command: ["/opt/dex/bin/dex-overlord", "-key-secrets", "eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHg=", "-db-url", "postgres://postgres@dex-postgres.default:5432/postgres?sslmode=disable"]
ports:
- containerPort: 5557
name: overlord-port
livenessProbe:
httpGet:
path: /health
port: 5557
initialDelaySeconds: 15
timeoutSeconds: 1
apiVersion: v1beta3
apiVersion: v1
kind: Service
metadata:
labels:
......
apiVersion: v1beta3
apiVersion: v1
kind: ReplicationController
metadata:
labels:
......@@ -19,7 +19,7 @@ spec:
containers:
- image: quay.io/coreos/dex
name: dex-worker
command: ["/opt/dex/bin/dex-worker", "-issuer", "http://dex-worker.default.tectonic.local:5556", "-key-secret", "XXXXXXXXXXX", "-db-url", "postgres://postgres@auth-postgres.default.tectonic.local:5432/auth?sslmode=disable"]
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
......
apiVersion: v1beta3
apiVersion: v1
kind: Service
metadata:
labels:
......@@ -6,8 +6,12 @@ metadata:
role: worker
name: dex-worker
spec:
type: "NodePort"
ports:
- port: 5556
- name: "worker"
port: 5556
nodePort: 30556
selector:
app: dex
role: worker
apiVersion: v1beta3
apiVersion: v1
kind: ReplicationController
metadata:
labels:
app: postgres
name: auth-postgres
name: dex-postgres
spec:
replicas: 1
selector:
......@@ -14,12 +14,8 @@ spec:
app: postgres
spec:
containers:
- image: quay.io/sym3tri/postgres-dev:9.4
name: auth-postgres
env:
- name: DATABASES
key: DATABASES
value: auth
- image: postgres
name: dex-postgres
ports:
- containerPort: 5432
name: postgres-port
apiVersion: v1beta3
apiVersion: v1
kind: Service
metadata:
labels:
app: postgres
name: auth-postgres
name: dex-postgres
spec:
ports:
- port: 5432
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment