apiVersion: v1
kind: Pod
metadata:
  labels:
    run:  iot-connected-vehicle-dashboard
  name:  iot-connected-vehicle-dashboard
spec:
  containers:
    - env:
        - name: spring.rabbitmq.host
          value: rabbitmq
#        - name: spring.rabbitmq.username
#          valueFrom:
#            secretKeyRef:
#              name: rabbitmq-default-user
#              key: username
#        - name: spring.rabbitmq.password
#          valueFrom:
#            secretKeyRef:
#              name: rabbitmq-default-user
#              key: password
        - name: spring.data.gemfire.pool.locators
          valueFrom:
            configMapKeyRef:
              name: gemfire1-config
              key: locators
      image: iot-connected-vehicle-dashboard:0.0.2-SNAPSHOT
      name: iot-connected-vehicle-dashboard
