Path: blob/main/components/ws-manager-mk2/config/default/kustomization.yaml
2500 views
# Copyright (c) 2022 Gitpod GmbH. All rights reserved.1# Licensed under the GNU Affero General Public License (AGPL).2# See License-AGPL.txt in the project root for license information.34# Adds namespace to all resources.5namespace: ws-manager-mk2-system67# Value of this field is prepended to the8# names of all resources, e.g. a deployment named9# "wordpress" becomes "alices-wordpress".10# Note that it should also match with the prefix (text before '-') of the namespace11# field above.12namePrefix: ws-manager-mk2-1314# Labels to add to all resources and selectors.15#commonLabels:16# someName: someValue1718bases:19- ../crd20- ../rbac21- ../manager22# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in23# crd/kustomization.yaml24#- ../webhook25# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.26#- ../certmanager27# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.28#- ../prometheus2930patchesStrategicMerge:31# Protect the /metrics endpoint by putting it behind auth.32# If you want your controller-manager to expose the /metrics33# endpoint w/o any authn/z, please comment the following line.34- manager_auth_proxy_patch.yaml3536# Mount the controller config file for loading manager configurations37# through a ComponentConfig type38#- manager_config_patch.yaml3940# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in41# crd/kustomization.yaml42#- manager_webhook_patch.yaml4344# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.45# Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.46# 'CERTMANAGER' needs to be enabled to use ca injection47#- webhookcainjection_patch.yaml4849# the following config is for teaching kustomize how to do var substitution50vars:51# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.52#- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR53# objref:54# kind: Certificate55# group: cert-manager.io56# version: v157# name: serving-cert # this name should match the one in certificate.yaml58# fieldref:59# fieldpath: metadata.namespace60#- name: CERTIFICATE_NAME61# objref:62# kind: Certificate63# group: cert-manager.io64# version: v165# name: serving-cert # this name should match the one in certificate.yaml66#- name: SERVICE_NAMESPACE # namespace of the service67# objref:68# kind: Service69# version: v170# name: webhook-service71# fieldref:72# fieldpath: metadata.namespace73#- name: SERVICE_NAME74# objref:75# kind: Service76# version: v177# name: webhook-service787980