Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-manager-mk2/config/crd/patches/webhook_in_snapshots.yaml
2506 views
1
# Copyright (c) 2023 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 patch enables a conversion webhook for the CRD
6
apiVersion: apiextensions.k8s.io/v1
7
kind: CustomResourceDefinition
8
metadata:
9
name: snapshots.workspace.gitpod.io
10
spec:
11
conversion:
12
strategy: Webhook
13
webhook:
14
clientConfig:
15
service:
16
namespace: system
17
name: webhook-service
18
path: /convert
19
conversionReviewVersions:
20
- v1
21
22