apiVersion : apps/v1
kind: Deployment
metadata:
  name: "tripviewer"
  namespace: "web"
spec:
  replicas: 2
  selector:
    matchLabels:
      app: "tripviewer"
  template:
    metadata:
      labels:
        app: "tripviewer"
    spec:
      containers:
        - name: "tripviewer"
          image: "registrymdf7461.azurecr.io/tripviewer:1.0"
          ports:
          - containerPort: 80
          env: 
          - name: TRIPS_API_ENDPOINT
            value: "http://trips.api"
          - name: USERPROFILE_API_ENDPOINT
            value: "http://userprofile.api"