apiVersion: apps/v1
kind: Deployment
metadata:
  name: entrypoint
  namespace: default
spec:
  replicas: 2
  selector:
    matchLabels:
      role: entrypoint
  template:
    metadata:
      labels:
        role: entrypoint
    spec:
      containers:
      - env:
        - name: RABBIT_HOST
          value: rabbitmq-cluster-app
        - name: RABBIT_USER
          value: admin
        - name: RABBIT_PWD
          value: agusmarian
        - name: STATUS_SERVICE_URL
          value: http://status-worker-service
        image: agustinnormand/tpi_entrypoint:00a83f09b5d28da54cd671b06c69946e0f1e5d1c
        imagePullPolicy: IfNotPresent
        name: entrypoint
        ports:
        - containerPort: 8080
