cri-o/vendor/k8s.io/kubernetes/examples/openshift-origin/openshift-controller.yaml

34 lines
737 B
YAML
Raw Normal View History

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