---
apiVersion: v1
kind: Service
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: another-namenode
  name: another-namenode
spec:
  ports:
    - name: "50070"
      port: 50070
      targetPort: 50070
    - name: "8020"
      port: 8020
      targetPort: 8020
  selector:
    io.kompose.service: another-namenode


---
apiVersion: v1
kind: Service
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: namenode
  name: namenode
spec:
  ports:
    - name: "50070"
      port: 50070
      targetPort: 50070
    - name: "8020"
      port: 8020
      targetPort: 8020
  selector:
    io.kompose.service: namenode


---
apiVersion: v1
data:
  FOO: BAR
kind: ConfigMap
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: hadoop-hive-namenode-env
  name: hadoop-hive-namenode-env

---
apiVersion: v1
data:
  BAR: FOO
kind: ConfigMap
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: another-namenode-hadoop-hive-namenode-env
  name: hadoop-hive-namenode-env1

---
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: another-namenode
  name: another-namenode
spec:
  replicas: 1
  selector:
    io.kompose.service: another-namenode
  strategy:
    resources: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        io.kompose.network/env-default: "true"
        io.kompose.service: another-namenode
    spec:
      containers:
        - env:
            - name: BAR
              valueFrom:
                configMapKeyRef:
                  key: BAR
                  name: hadoop-hive-namenode-env1
          image: ' '
          name: another-namenode
          ports:
            - containerPort: 50070
              hostPort: 50070
              protocol: TCP
            - containerPort: 8020
              hostPort: 8020
              protocol: TCP
          resources: {}
      restartPolicy: Always
  test: false
  triggers:
    - type: ConfigChange
    - imageChangeParams:
        automatic: true
        containerNames:
          - another-namenode
        from:
          kind: ImageStreamTag
          name: another-namenode:2.0.0-hadoop2.7.4-java8
      type: ImageChange


---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: another-namenode
  name: another-namenode
spec:
  lookupPolicy:
    local: false
  tags:
    - annotations: null
      from:
        kind: DockerImage
        name: bde2020/hadoop-namenode:2.0.0-hadoop2.7.4-java8
      generation: null
      importPolicy: {}
      name: 2.0.0-hadoop2.7.4-java8
      referencePolicy:
        type: ""


---
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: namenode
  name: namenode
spec:
  replicas: 1
  selector:
    io.kompose.service: namenode
  strategy:
    resources: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        io.kompose.network/env-default: "true"
        io.kompose.service: namenode
    spec:
      containers:
        - env:
            - name: CLUSTER_NAME
              value: test
            - name: FOO
              valueFrom:
                configMapKeyRef:
                  key: FOO
                  name: hadoop-hive-namenode-env
          image: ' '
          name: namenode
          ports:
            - containerPort: 50070
              hostPort: 50070
              protocol: TCP
            - containerPort: 8020
              hostPort: 8020
              protocol: TCP
          resources: {}
      restartPolicy: Always
  test: false
  triggers:
    - type: ConfigChange
    - imageChangeParams:
        automatic: true
        containerNames:
          - namenode
        from:
          kind: ImageStreamTag
          name: namenode:2.0.0-hadoop2.7.4-java8
      type: ImageChange


---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
  creationTimestamp: null
  labels:
    io.kompose.service: namenode
  name: namenode
spec:
  lookupPolicy:
    local: false
  tags:
    - annotations: null
      from:
        kind: DockerImage
        name: bde2020/hadoop-namenode:2.0.0-hadoop2.7.4-java8
      generation: null
      importPolicy: {}
      name: 2.0.0-hadoop2.7.4-java8
      referencePolicy:
        type: ""


