dex/contrib/k8s/postgres-rc.yaml

22 lines
388 B
YAML
Raw Normal View History

apiVersion: v1
2015-08-18 05:57:27 +05:30
kind: ReplicationController
metadata:
labels:
app: postgres
name: dex-postgres
2015-08-18 05:57:27 +05:30
spec:
replicas: 1
selector:
app: postgres
template:
metadata:
labels:
app: postgres
spec:
containers:
- image: postgres
name: dex-postgres
2015-08-18 05:57:27 +05:30
ports:
- containerPort: 5432
name: postgres-port