# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: ConfigMap
metadata:
  name: gitlab-runner-config
  annotations:
    configmanagement.gke.io/cluster-selector: staging-us-central1
data:
  CI_SERVER_URL: "https://GITLAB_HOSTNAME/"
  CLONE_URL: ""
  RUNNER_REQUEST_CONCURRENCY: "1"
  RUNNER_EXECUTOR: "kubernetes"
  REGISTER_LOCKED: "true"
  RUNNER_TAG_LIST: "app:APP_NAME, cluster:staging-us-central1"
  KUBERNETES_IMAGE: "ubuntu:16.04"
  KUBERNETES_NAMESPACE: "APP_NAME"
  KUBERNETES_CPU_LIMIT: ""
  KUBERNETES_MEMORY_LIMIT: ""
  KUBERNETES_CPU_REQUEST: ""
  KUBERNETES_MEMORY_REQUEST: ""
  KUBERNETES_SERVICE_ACCOUNT: ""
  KUBERNETES_SERVICE_CPU_LIMIT: ""
  KUBERNETES_SERVICE_MEMORY_LIMIT: ""
  KUBERNETES_SERVICE_CPU_REQUEST: ""
  KUBERNETES_SERVICE_MEMORY_REQUEST: ""
  KUBERNETES_HELPER_CPU_LIMIT: ""
  KUBERNETES_HELPER_MEMORY_LIMIT: ""
  KUBERNETES_HELPER_CPU_REQUEST: ""
  KUBERNETES_HELPER_MEMORY_REQUEST: ""
  KUBERNETES_HELPER_IMAGE: ""
  KUBERNETES_PULL_POLICY: "always"
