Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-manager-mk2/config/default/kustomization.yaml
2500 views
1
# Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
# Licensed under the GNU Affero General Public License (AGPL).
3
# See License-AGPL.txt in the project root for license information.
4
5
# Adds namespace to all resources.
6
namespace: ws-manager-mk2-system
7
8
# Value of this field is prepended to the
9
# names of all resources, e.g. a deployment named
10
# "wordpress" becomes "alices-wordpress".
11
# Note that it should also match with the prefix (text before '-') of the namespace
12
# field above.
13
namePrefix: ws-manager-mk2-
14
15
# Labels to add to all resources and selectors.
16
#commonLabels:
17
# someName: someValue
18
19
bases:
20
- ../crd
21
- ../rbac
22
- ../manager
23
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
24
# crd/kustomization.yaml
25
#- ../webhook
26
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
27
#- ../certmanager
28
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
29
#- ../prometheus
30
31
patchesStrategicMerge:
32
# Protect the /metrics endpoint by putting it behind auth.
33
# If you want your controller-manager to expose the /metrics
34
# endpoint w/o any authn/z, please comment the following line.
35
- manager_auth_proxy_patch.yaml
36
37
# Mount the controller config file for loading manager configurations
38
# through a ComponentConfig type
39
#- manager_config_patch.yaml
40
41
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
42
# crd/kustomization.yaml
43
#- manager_webhook_patch.yaml
44
45
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
46
# Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
47
# 'CERTMANAGER' needs to be enabled to use ca injection
48
#- webhookcainjection_patch.yaml
49
50
# the following config is for teaching kustomize how to do var substitution
51
vars:
52
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
53
#- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
54
# objref:
55
# kind: Certificate
56
# group: cert-manager.io
57
# version: v1
58
# name: serving-cert # this name should match the one in certificate.yaml
59
# fieldref:
60
# fieldpath: metadata.namespace
61
#- name: CERTIFICATE_NAME
62
# objref:
63
# kind: Certificate
64
# group: cert-manager.io
65
# version: v1
66
# name: serving-cert # this name should match the one in certificate.yaml
67
#- name: SERVICE_NAMESPACE # namespace of the service
68
# objref:
69
# kind: Service
70
# version: v1
71
# name: webhook-service
72
# fieldref:
73
# fieldpath: metadata.namespace
74
#- name: SERVICE_NAME
75
# objref:
76
# kind: Service
77
# version: v1
78
# name: webhook-service
79
80