solutions/gke/kubernetes/namespace-defaults/setters.yaml (14 lines of code) (raw):
# 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:
name: setters
annotations:
config.kubernetes.io/local-config: "true"
data:
##########################
# Instructions
##########################
#
# Follow instructions specific to each section.
#
##########################
# Project
##########################
#
# project-id created by the client-project-setup package
# customization: required
project-id: project-12345
#
##########################
# Client
##########################
#
# Name for the client, lowercase only
# customization: required
client-name: 'client1'
#
##########################
# Application
##########################
#
# the name of the workload that was created in the configcontroller/gke-workload-identity package
# lowercase only, max 27 characters
# customization: required
workload-name: sample-workload
#
# user or group to grant view role on workload namespace
# customization: required
workload-view: 'group:client1@example.com'
#
##########################
# Config Sync
##########################
#
# Used for the tier4 root sync with a git repo (GitHub, Azure DevOps, etc.)
# The repo stores the manifests for the tier4 kubernetes resources to be deployed within this namespace
# To disable this option, delete the file cd/gitops-config-sync.yaml
#
# the git repo URL, for example
# https://github.com/GITHUB-ORG/REPO-NAME
# https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# customization: required
repo-url: git-repo-to-observe
#
# the branch to check out (usually main)
# customization: optional
repo-branch: main
#
# the directory to observe for YAML manifests
# customization: required
repo-dir: csync/tier4/kubernetes/_X-FLEET-ID/deploy/env/_NAMESPACE
#
##########################
# End of Configurations
##########################