Path: blob/main/components/ws-manager-mk2/config/webhook/manifests.yaml
2500 views
# Copyright (c) 2025 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---5apiVersion: admissionregistration.k8s.io/v16kind: MutatingWebhookConfiguration7metadata:8name: mutating-webhook-configuration9webhooks:10- admissionReviewVersions:11- v112clientConfig:13service:14name: webhook-service15namespace: system16path: /mutate-workspace-gitpod-io-v1-workspace17failurePolicy: Fail18name: mworkspace.kb.io19rules:20- apiGroups:21- workspace.gitpod.io22apiVersions:23- v124operations:25- CREATE26- UPDATE27resources:28- workspaces29sideEffects: None30---31apiVersion: admissionregistration.k8s.io/v132kind: ValidatingWebhookConfiguration33metadata:34name: validating-webhook-configuration35webhooks:36- admissionReviewVersions:37- v138clientConfig:39service:40name: webhook-service41namespace: system42path: /validate-workspace-gitpod-io-v1-workspace43failurePolicy: Fail44name: vworkspace.kb.io45rules:46- apiGroups:47- workspace.gitpod.io48apiVersions:49- v150operations:51- CREATE52- UPDATE53resources:54- workspaces55sideEffects: None565758