#
# Copyright (c) 2019-2022 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
#   Red Hat, Inc. - initial API and implementation
#

apiVersion: org.eclipse.che/v2
spec:
  components:
    pluginRegistry:
      deployment:
        containers:
          - resources:
              request:
                cpu: '50m'
              limits:
                cpu: '50m'
    devfileRegistry:
      deployment:
        containers:
          - resources:
              request:
                cpu: '50m'
              limits:
                cpu: '50m'
    cheServer:
      deployment:
        containers:
          - resources:
              limits:
                cpu: '600m'
    dashboard:
      deployment:
        containers:
          - resources:
              request:
                cpu: '50m'
              limits:
                cpu: '50m'
    database:
      deployment:
        containers:
          - resources:
              request:
                cpu: '50m'
              limits:
                cpu: '50m'
  networking:
    auth:
      gateway:
        deployment:
          containers:
            - name: gateway
              resources:
                request:
                  cpu: '50m'
                limits:
                  cpu: '50m'
            - name: configbump
              resources:
                request:
                  cpu: '50m'
                limits:
                  cpu: '50m'
            - name: oauth-proxy
              resources:
                request:
                  cpu: '50m'
                limits:
                  cpu: '50m'
            - name: kube-rbac-proxy
              resources:
                request:
                  cpu: '50m'
                limits:
                  cpu: '50m'
