apiVersion: v1
kind: ReplicationController
metadata:
  labels:
    name: opendj
  name: opendj
spec:
  replicas: 1
  selector:
    name: opendj
  template:
    metadata:
      labels:
         name: opendj
    spec:
      containers:
      - name: opendj
        image: wstrange/opendj-nightly
        ports:
        - name: ldap
          containerPort: 389
          protocol: TCP