Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-manager-mk2/config/webhook/kustomizeconfig.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
# the following config is for teaching kustomize where to look at when substituting vars.
6
# It requires kustomize v2.1.0 or newer to work properly.
7
nameReference:
8
- kind: Service
9
version: v1
10
fieldSpecs:
11
- kind: MutatingWebhookConfiguration
12
group: admissionregistration.k8s.io
13
path: webhooks/clientConfig/service/name
14
- kind: ValidatingWebhookConfiguration
15
group: admissionregistration.k8s.io
16
path: webhooks/clientConfig/service/name
17
18
namespace:
19
- kind: MutatingWebhookConfiguration
20
group: admissionregistration.k8s.io
21
path: webhooks/clientConfig/service/namespace
22
create: true
23
- kind: ValidatingWebhookConfiguration
24
group: admissionregistration.k8s.io
25
path: webhooks/clientConfig/service/namespace
26
create: true
27
28
varReference:
29
- path: metadata/annotations
30
31