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

This commit is contained in:
Bobby Rullo 2015-09-08 14:53:53 -07:00
parent b340660d6d
commit d9b668002c
6 changed files with 23 additions and 17 deletions

View file

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: ReplicationController kind: ReplicationController
metadata: metadata:
labels: labels:
@ -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

View file

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:

View file

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: ReplicationController kind: ReplicationController
metadata: metadata:
labels: labels:
@ -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

View file

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
@ -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

View file

@ -1,9 +1,9 @@
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:
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

View file

@ -1,9 +1,9 @@
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