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 kind: ReplicationController
metadata: metadata:
labels: labels:
...@@ -19,7 +19,13 @@ spec: ...@@ -19,7 +19,13 @@ spec:
containers: containers:
- image: quay.io/coreos/dex - image: quay.io/coreos/dex
name: dex-overlord 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: ports:
- containerPort: 5557 - containerPort: 5557
name: overlord-port name: overlord-port
livenessProbe:
httpGet:
path: /health
port: 5557
initialDelaySeconds: 15
timeoutSeconds: 1
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
......
apiVersion: v1beta3 apiVersion: v1
kind: ReplicationController kind: ReplicationController
metadata: metadata:
labels: labels:
...@@ -19,7 +19,7 @@ spec: ...@@ -19,7 +19,7 @@ spec:
containers: containers:
- image: quay.io/coreos/dex - image: quay.io/coreos/dex
name: dex-worker 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: ports:
- containerPort: 5556 - containerPort: 5556
name: worker-port name: worker-port
......
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
...@@ -6,8 +6,12 @@ metadata: ...@@ -6,8 +6,12 @@ metadata:
role: worker role: worker
name: dex-worker name: dex-worker
spec: spec:
type: "NodePort"
ports: ports:
- port: 5556 - name: "worker"
port: 5556
nodePort: 30556
selector: selector:
app: dex app: dex
role: worker role: worker
apiVersion: v1beta3 apiVersion: v1
kind: ReplicationController kind: ReplicationController
metadata: metadata:
labels: labels:
app: postgres app: postgres
name: auth-postgres name: dex-postgres
spec: spec:
replicas: 1 replicas: 1
selector: selector:
...@@ -14,12 +14,8 @@ spec: ...@@ -14,12 +14,8 @@ spec:
app: postgres app: postgres
spec: spec:
containers: containers:
- image: quay.io/sym3tri/postgres-dev:9.4 - image: postgres
name: auth-postgres name: dex-postgres
env:
- name: DATABASES
key: DATABASES
value: auth
ports: ports:
- containerPort: 5432 - containerPort: 5432
name: postgres-port name: postgres-port
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: postgres app: postgres
name: auth-postgres name: dex-postgres
spec: spec:
ports: ports:
- port: 5432 - 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