ceph-csi/vendor/k8s.io/kubernetes/examples/openshift-origin/openshift-controller.yaml

34 lines
725 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
name: openshift
name: openshift
spec:
replicas: 1
selector:
matchLabels:
name: openshift
template:
metadata:
labels:
name: openshift
spec:
containers:
- args:
- start
- master
- --config=/config/master-config.yaml
image: "openshift/origin"
name: origin
ports:
- containerPort: 8443
name: openshift
volumeMounts:
- mountPath: /config
name: config
readOnly: true
volumes:
- name: config
secret:
secretName: openshift-config