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/webhookcainjection_patch.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
# This patch add annotation to admission webhook config and
6
# the variables $(CERTIFICATE_NAMESPACE) and $(CERTIFICATE_NAME) will be substituted by kustomize.
7
apiVersion: admissionregistration.k8s.io/v1
8
kind: MutatingWebhookConfiguration
9
metadata:
10
name: mutating-webhook-configuration
11
annotations:
12
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
13
---
14
apiVersion: admissionregistration.k8s.io/v1
15
kind: ValidatingWebhookConfiguration
16
metadata:
17
name: validating-webhook-configuration
18
annotations:
19
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
20
21