apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: hello-world-deployment
spec:
  replicas: 2
  template:
    metadata:
      labels:
        app: hello-world
    spec:
      containers:
      - name: hello-world
        image: $TAGGED_IMAGE_NAME
        ports:
        - containerPort: 80
        env:
        - name: MONGO_URI
          value: "mongodb://vdaw7qp37v4v2:r8enaae0YbQebKcbEAO4yrsuhnbHEh86OwJAVBCxf6nLgMnqptzHlPbACT7T0pIDjYHXh1wvlJPeY6ob6P3zcw%3D%3D@vdaw7qp37v4v2.documents.azure.com:10255/?ssl=true&replicaSet=globaldb"
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: hello-world-deployment
spec:
  replicas: 2
  template:
    metadata:
      labels:
        app: hello-world
    spec:
      containers:
      - name: hello-world
        image: $TAGGED_IMAGE_NAME
        ports:
        - containerPort: 80
        env:
        - name: MONGO_URI
          value: "$MONGO_URI"
Remove hard coded MONGO_URI value
Remove hard coded MONGO_URI value
