Update charts for Longhorn snapshot CRDs
Longhorn-3144 Signed-off-by: Phan Le <phan.le@suse.com>
This commit is contained in:
parent
15c096887f
commit
f546f72bbd
@ -40,7 +40,7 @@ rules:
|
|||||||
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
|
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
|
||||||
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
|
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
|
||||||
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
|
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
|
||||||
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status"]
|
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status"]
|
||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- apiGroups: ["coordination.k8s.io"]
|
- apiGroups: ["coordination.k8s.io"]
|
||||||
resources: ["leases"]
|
resources: ["leases"]
|
||||||
|
@ -2560,6 +2560,126 @@ status:
|
|||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: v0.7.0
|
||||||
|
creationTimestamp: null
|
||||||
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
||||||
|
longhorn-manager: ""
|
||||||
|
name: snapshots.longhorn.io
|
||||||
|
spec:
|
||||||
|
group: longhorn.io
|
||||||
|
names:
|
||||||
|
kind: Snapshot
|
||||||
|
listKind: SnapshotList
|
||||||
|
plural: snapshots
|
||||||
|
shortNames:
|
||||||
|
- lhsnap
|
||||||
|
singular: snapshot
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- additionalPrinterColumns:
|
||||||
|
- description: The volume that this snapshot belongs to
|
||||||
|
jsonPath: .spec.volume
|
||||||
|
name: Volume
|
||||||
|
type: string
|
||||||
|
- description: Timestamp when the point-in-time snapshot was taken
|
||||||
|
jsonPath: .status.creationTime
|
||||||
|
name: CreationTime
|
||||||
|
type: string
|
||||||
|
- description: Indicates if the snapshot is ready to be used to restore/backup a volume
|
||||||
|
jsonPath: .status.readyToUse
|
||||||
|
name: ReadyToUse
|
||||||
|
type: boolean
|
||||||
|
- description: Represents the minimum size of volume required to rehydrate from this snapshot
|
||||||
|
jsonPath: .status.restoreSize
|
||||||
|
name: RestoreSize
|
||||||
|
type: string
|
||||||
|
- description: The actual size of the snapshot
|
||||||
|
jsonPath: .status.size
|
||||||
|
name: Size
|
||||||
|
type: string
|
||||||
|
- jsonPath: .metadata.creationTimestamp
|
||||||
|
name: Age
|
||||||
|
type: date
|
||||||
|
name: v1beta2
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
description: Snapshot is the Schema for the snapshots API
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
description: SnapshotSpec defines the desired state of Longhorn Snapshot
|
||||||
|
properties:
|
||||||
|
createSnapshot:
|
||||||
|
description: require creating a new snapshot
|
||||||
|
type: boolean
|
||||||
|
labels:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
description: The labels of snapshot
|
||||||
|
type: object
|
||||||
|
volume:
|
||||||
|
description: the volume that this snapshot belongs to. This field is immutable after creation. Required
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- volume
|
||||||
|
type: object
|
||||||
|
status:
|
||||||
|
description: SnapshotStatus defines the observed state of Longhorn Snapshot
|
||||||
|
properties:
|
||||||
|
children:
|
||||||
|
additionalProperties:
|
||||||
|
type: boolean
|
||||||
|
nullable: true
|
||||||
|
type: object
|
||||||
|
creationTime:
|
||||||
|
type: string
|
||||||
|
error:
|
||||||
|
type: string
|
||||||
|
labels:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
type: object
|
||||||
|
markRemoved:
|
||||||
|
type: boolean
|
||||||
|
ownerID:
|
||||||
|
type: string
|
||||||
|
parent:
|
||||||
|
type: string
|
||||||
|
readyToUse:
|
||||||
|
type: boolean
|
||||||
|
restoreSize:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
size:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
userCreated:
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ""
|
||||||
|
plural: ""
|
||||||
|
conditions: []
|
||||||
|
storedVersions: []
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.7.0
|
controller-gen.kubebuilder.io/version: v0.7.0
|
||||||
|
@ -2752,6 +2752,130 @@ status:
|
|||||||
# Source: longhorn/templates/crds.yaml
|
# Source: longhorn/templates/crds.yaml
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: v0.7.0
|
||||||
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: longhorn
|
||||||
|
app.kubernetes.io/instance: longhorn
|
||||||
|
app.kubernetes.io/version: v1.3.0-preview1
|
||||||
|
longhorn-manager: ""
|
||||||
|
name: snapshots.longhorn.io
|
||||||
|
spec:
|
||||||
|
group: longhorn.io
|
||||||
|
names:
|
||||||
|
kind: Snapshot
|
||||||
|
listKind: SnapshotList
|
||||||
|
plural: snapshots
|
||||||
|
shortNames:
|
||||||
|
- lhsnap
|
||||||
|
singular: snapshot
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- additionalPrinterColumns:
|
||||||
|
- description: The volume that this snapshot belongs to
|
||||||
|
jsonPath: .spec.volume
|
||||||
|
name: Volume
|
||||||
|
type: string
|
||||||
|
- description: Timestamp when the point-in-time snapshot was taken
|
||||||
|
jsonPath: .status.creationTime
|
||||||
|
name: CreationTime
|
||||||
|
type: string
|
||||||
|
- description: Indicates if the snapshot is ready to be used to restore/backup a volume
|
||||||
|
jsonPath: .status.readyToUse
|
||||||
|
name: ReadyToUse
|
||||||
|
type: boolean
|
||||||
|
- description: Represents the minimum size of volume required to rehydrate from this snapshot
|
||||||
|
jsonPath: .status.restoreSize
|
||||||
|
name: RestoreSize
|
||||||
|
type: string
|
||||||
|
- description: The actual size of the snapshot
|
||||||
|
jsonPath: .status.size
|
||||||
|
name: Size
|
||||||
|
type: string
|
||||||
|
- jsonPath: .metadata.creationTimestamp
|
||||||
|
name: Age
|
||||||
|
type: date
|
||||||
|
name: v1beta2
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
description: Snapshot is the Schema for the snapshots API
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
description: SnapshotSpec defines the desired state of Longhorn Snapshot
|
||||||
|
properties:
|
||||||
|
createSnapshot:
|
||||||
|
description: require creating a new snapshot
|
||||||
|
type: boolean
|
||||||
|
labels:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
description: The labels of snapshot
|
||||||
|
type: object
|
||||||
|
volume:
|
||||||
|
description: the volume that this snapshot belongs to. This field is immutable after creation. Required
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- volume
|
||||||
|
type: object
|
||||||
|
status:
|
||||||
|
description: SnapshotStatus defines the observed state of Longhorn Snapshot
|
||||||
|
properties:
|
||||||
|
children:
|
||||||
|
additionalProperties:
|
||||||
|
type: boolean
|
||||||
|
nullable: true
|
||||||
|
type: object
|
||||||
|
creationTime:
|
||||||
|
type: string
|
||||||
|
error:
|
||||||
|
type: string
|
||||||
|
labels:
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
type: object
|
||||||
|
markRemoved:
|
||||||
|
type: boolean
|
||||||
|
ownerID:
|
||||||
|
type: string
|
||||||
|
parent:
|
||||||
|
type: string
|
||||||
|
readyToUse:
|
||||||
|
type: boolean
|
||||||
|
restoreSize:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
size:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
userCreated:
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ""
|
||||||
|
plural: ""
|
||||||
|
conditions: []
|
||||||
|
storedVersions: []
|
||||||
|
---
|
||||||
|
# Source: longhorn/templates/crds.yaml
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.7.0
|
controller-gen.kubebuilder.io/version: v0.7.0
|
||||||
@ -3128,7 +3252,7 @@ rules:
|
|||||||
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
|
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
|
||||||
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
|
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
|
||||||
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
|
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
|
||||||
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status"]
|
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status"]
|
||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- apiGroups: ["coordination.k8s.io"]
|
- apiGroups: ["coordination.k8s.io"]
|
||||||
resources: ["leases"]
|
resources: ["leases"]
|
||||||
|
@ -64,7 +64,7 @@ rules:
|
|||||||
resources: ["csidrivers", "storageclasses"]
|
resources: ["csidrivers", "storageclasses"]
|
||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- apiGroups: ["longhorn.io"]
|
- apiGroups: ["longhorn.io"]
|
||||||
resources: ["volumes", "engines", "replicas", "settings", "engineimages", "nodes", "instancemanagers", "sharemanagers", "backingimages", "backingimagemanagers", "backingimagedatasources", "backuptargets", "backupvolumes", "backups", "recurringjobs", "orphans"]
|
resources: ["volumes", "engines", "replicas", "settings", "engineimages", "nodes", "instancemanagers", "sharemanagers", "backingimages", "backingimagemanagers", "backingimagedatasources", "backuptargets", "backupvolumes", "backups", "recurringjobs", "orphans", "snapshots"]
|
||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- apiGroups: ["coordination.k8s.io"]
|
- apiGroups: ["coordination.k8s.io"]
|
||||||
resources: ["leases"]
|
resources: ["leases"]
|
||||||
|
Loading…
Reference in New Issue
Block a user