# Copyright 2019 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.

# This file contains the sample minimal pod definitions for all of the components that one may need to use Open Match as a match maker.
# You can find the same pod definitions within the sub-folders under the /tutorials/ directory
# Run `kubectl apply -f matchmaker.yaml` to deploy these definitions.

apiVersion: v1
kind: ConfigMap
metadata:
  name: om-configmap-override
  namespace: open-match
  labels:
    app: open-match
    component: config
data:
  matchmaker_config_override.yaml: |-
    api:
      evaluator:
        hostname: "custom-eval-tutorial-evaluator.custom-eval-tutorial.svc.cluster.local"
        grpcport: "50508"
    pendingReleaseTimeout: 60000ms
    registrationInterval: 250ms
    proposalCollectionInterval: 20000ms
    queryPageSize: 10000
