apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: club-api
    env: testing
  name: club-api
  namespace: eventms
spec:
  replicas: 1
  selector:
    matchLabels:
      app: club-api
  template:
    metadata:
      labels:
        app: club-api
        env: testing
      namespace: eventms
    spec:
      containers:
      - image: eventms/club.api:linux
        name: club-api
        imagePullPolicy: Always
        env:
          - name: ASPNETCORE_ENVIRONMENT
            value: "Development"
          - name: ConnectionString
            value: "Server=172.20.192.3;Database=Services.clubDb;User Id=sqlserver;Password=Pass@word"
          - name: EventBusConnection
            value: "message-queue"
