# Copyright 2021 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: # kpt-merge: /setters
  name: setters
  annotations:
    config.kubernetes.io/local-config: "true"
data:
  # The name of this cluster
  cluster-name: example-us-west4
  # The compute location (region for a regional cluster or zone for a zonal cluster)
  location: us-east4
  # The private IP range for masters to use when peering to the VPC
  master-ip-range: 10.254.0.0/28
  # The name of the VPC in which to create this cluster
  network-ref: projects/network-project-id/global/networks/default
  # The reference to the subnet
  subnet-ref: projects/network-project-id/regions/region/subnetworks/default
  # The namespace in which to manage cluster resources
  platform-namespace: config-control
  # The project in which to manage cluster resources
  project-id: project-id
  # The namespace in which to manage service enablement resources
  projects-namespace: projects
  # The group in which to manage the list of groups that can be used for RBAC.
  # Must be named exactly 'gke-security-groups'.
  security-group: gke-security-groups@example.com
