apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  labels:
    app: enmasse
  name: keycloak-controller
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: enmasse
        name: keycloak-controller
    spec:
      containers:
      - env:
        - name: AUTO_CREATE
          value: "true"
        - name: KEYCLOAK_ROUTE_NAME
          value: "keycloak"
        - name: KEYCLOAK_CONFIG_NAME
          value: "keycloak-config"
        - name: KEYCLOAK_CREDENTIALS_SECRET_NAME
          value: "keycloak-credentials"
        - name: KEYCLOAK_CERT_SECRET_NAME
          value: "standard-authservice-cert"
        - name: CONFIGMAP_WATCH_INTERVAL
          value: '5'
        image: ${KEYCLOAK_CONTROLLER_IMAGE}
        name: keycloak-controller
        resources:
          limits:
            memory: 256Mi
          requests:
            memory: 256Mi
      serviceAccount: keycloak-controller

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  labels:
    app: enmasse
  name: keycloak-controller
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: enmasse
        name: keycloak-controller
    spec:
      containers:
      - env:
        - name: AUTO_CREATE
          value: "true"
        - name: KEYCLOAK_ROUTE_NAME
          value: "keycloak"
        - name: KEYCLOAK_CONFIG_NAME
          value: "keycloak-config"
        - name: KEYCLOAK_CREDENTIALS_SECRET_NAME
          value: "keycloak-credentials"
        - name: KEYCLOAK_CERT_SECRET_NAME
          value: "standard-authservice-cert"
        - name: CONFIGMAP_WATCH_INTERVAL
          value: '0'
        image: ${KEYCLOAK_CONTROLLER_IMAGE}
        name: keycloak-controller
        resources:
          limits:
            memory: 256Mi
          requests:
            memory: 256Mi
      serviceAccount: keycloak-controller

Disable configmap watch to debug systemtests
Disable configmap watch to debug systemtests
