Path: blob/main/components/ws-manager-mk2/config/crd/bases/workspace.gitpod.io_snapshots.yaml
2506 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: apiextensions.k8s.io/v16kind: CustomResourceDefinition7metadata:8annotations:9controller-gen.kubebuilder.io/version: v0.16.510name: snapshots.workspace.gitpod.io11spec:12group: workspace.gitpod.io13names:14kind: Snapshot15listKind: SnapshotList16plural: snapshots17shortNames:18- snapshot19singular: snapshot20scope: Namespaced21versions:22- additionalPrinterColumns:23- jsonPath: .spec.workspaceID24name: Workspace25type: string26- jsonPath: .status.url27name: URL28priority: 1029type: string30- jsonPath: .status.completed31name: Completed32type: boolean33name: v134schema:35openAPIV3Schema:36description: Snapshot is the Schema for the snapshot API37properties:38apiVersion:39description: |-40APIVersion defines the versioned schema of this representation of an object.41Servers should convert recognized schemas to the latest internal value, and42may reject unrecognized values.43More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources44type: string45kind:46description: |-47Kind is a string value representing the REST resource this object represents.48Servers may infer this from the endpoint the client submits requests to.49Cannot be updated.50In CamelCase.51More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds52type: string53metadata:54type: object55spec:56description: SnapshotSpec defines the desired state of the snapshot57properties:58nodeName:59type: string60workspaceID:61type: string62required:63- nodeName64- workspaceID65type: object66status:67description: SnapshotStatus defines the observed state of the snapshot68properties:69completed:70description: Completed indicates if the snapshot operation has completed71either by taking the snapshot or due to failure72type: boolean73error:74description: Erorr is the error observed during snapshot creation75if any76type: string77url:78description: URL contains the url of the snapshot79type: string80required:81- completed82type: object83type: object84served: true85storage: true86subresources:87status: {}888990