apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: netcoreapijwtcosmos
    aadpodidbinding: akssandboxidentity
  name: netcoreapijwtcosmos
spec:
  selector:
    matchLabels:
      app: netcoreapijwtcosmos
      tier: backend
  replicas: 2
  template:
    metadata:
      labels:
        app: netcoreapijwtcosmos
        tier: backend
        aadpodidbinding: akssandboxidentity
    spec:
      containers:
        - name: netcoreapijwtcosmos
          image: "Sample.azurecr.io/netcoreapijwttokencosmoscrud-develop:20200909.1"
          ports:
            - name: http
              containerPort: 8080
      imagePullSecrets:
        - name: acr-auth  
