apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: openshift-ansible-service-broker
    service: asb
  name: asb
  namespace: openshift-ansible-service-broker
spec:
  replicas: 1
  selector:
    matchLabels:
      app: openshift-ansible-service-broker
  template:
    metadata:
      labels:
        app: openshift-ansible-service-broker
        service: asb
    spec:
      containers:
      - env:
        - name: BROKER_CONFIG
          value: /etc/ansible-service-broker/config.yaml
        image: '*** GENERATED ***'
        livenessProbe:
          httpGet:
            path: /healthz
            port: 1338
            scheme: HTTPS
          initialDelaySeconds: 15
        name: asb
        ports:
        - containerPort: 1338
        readinessProbe:
          httpGet:
            path: /healthz
            port: 1338
            scheme: HTTPS
          initialDelaySeconds: 15
        volumeMounts:
        - mountPath: /etc/ansible-service-broker
          name: config-volume
        - mountPath: /etc/tls/private
          name: asb-tls
      nodeSelector:
        node-role.kubernetes.io/infra: "true"
      serviceAccountName: asb
      volumes:
      - configMap:
          items:
          - key: broker-config
            path: config.yaml
          name: broker-config
        name: config-volume
      - name: asb-tls
        secret:
          secretName: asb-tls
