apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: enmasse
  name: none-authservice
spec:
  replicas: 1
  selector:
    matchLabels:
      app: enmasse
      name: none-authservice
  template:
    metadata:
      labels:
        app: enmasse
        name: none-authservice
    spec:
      affinity:
        nodeAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
            - weight: 1
              preference:
                matchExpressions:
                  - key: node-role.enmasse.io/operator-infra
                    operator: In
                    values:
                      - "true"
      containers:
      - env:
        - name: LISTENPORT
          value: '5671'
        image: amq7/amq-online-1-none-auth:dev
        imagePullPolicy: Always
        livenessProbe:
          initialDelaySeconds: 60
          tcpSocket:
            port: amqps
        name: none-authservice
        ports:
        - containerPort: 5671
          name: amqps
        resources:
          limits:
            memory: 48Mi
          requests:
            memory: 48Mi
        volumeMounts:
        - mountPath: /opt/none-authservice/cert
          name: none-authservice-cert
          readOnly: false
      volumes:
      - name: none-authservice-cert
        secret:
          secretName: none-authservice-cert
