---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: tripviewer
  labels:
    app: tripviewer
spec:
  replicas: 1
  selector:
    matchLabels:
      app: tripviewer
  template:
    metadata:
      labels:
        app: tripviewer
    spec:
      containers:
      - name: tripviewer
        image: registryzxc7268.azurecr.io/tripviewer:latest
        ports:
        - containerPort: 80
          name: http
          protocol: TCP
        env:
        - name: TRIPS_API_ENDPOINT
          value: http://trips-service
        - name: USERPROFILE_API_ENDPOINT
          value: http://userprofile-service
