contrib/k8s: get yaml up-to-date with latest k8s
This commit is contained in:
parent
b340660d6d
commit
d9b668002c
6 changed files with 23 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
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
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: v1beta3
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
|
@ -1,4 +1,4 @@
|
|||
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
|
|
@ -1,4 +1,4 @@
|
|||
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
|
|
@ -1,9 +1,9 @@
|
|||
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
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
apiVersion: v1beta3
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: postgres
|
||||
name: auth-postgres
|
||||
name: dex-postgres
|
||||
spec:
|
||||
ports:
|
||||
- port: 5432
|
||||
|
|
Reference in a new issue