chart: Update chart for the enhanced backing image feature
Longhorn #2530 Signed-off-by: Shuo Wu <shuo.wu@suse.com>
This commit is contained in:
parent
2e885320a0
commit
25b409421f
@ -37,7 +37,8 @@ rules:
|
|||||||
- apiGroups: ["longhorn.io"]
|
- apiGroups: ["longhorn.io"]
|
||||||
resources: ["volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
|
resources: ["volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
|
||||||
"engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status",
|
"engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status",
|
||||||
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status", "backingimagemanagers", "backingimagemanagers/status"]
|
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
|
||||||
|
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status"]
|
||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- apiGroups: ["coordination.k8s.io"]
|
- apiGroups: ["coordination.k8s.io"]
|
||||||
resources: ["leases"]
|
resources: ["leases"]
|
||||||
|
@ -472,3 +472,54 @@ spec:
|
|||||||
- name: Age
|
- name: Age
|
||||||
type: date
|
type: date
|
||||||
jsonPath: .metadata.creationTimestamp
|
jsonPath: .metadata.creationTimestamp
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
labels: {{- include "longhorn.labels" . | nindent 4 }}
|
||||||
|
longhorn-manager: BackingImageDataSource
|
||||||
|
name: backingimagedatasources.longhorn.io
|
||||||
|
spec:
|
||||||
|
group: longhorn.io
|
||||||
|
names:
|
||||||
|
kind: BackingImageDataSource
|
||||||
|
listKind: BackingImageDataSourceList
|
||||||
|
plural: backingimagedatasources
|
||||||
|
shortNames:
|
||||||
|
- lhbids
|
||||||
|
singular: backingimagedatasource
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- name: v1beta1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
spec:
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
additionalPrinterColumns:
|
||||||
|
- name: State
|
||||||
|
type: string
|
||||||
|
description: The current state of the pod used to provisione the backing image file from source
|
||||||
|
jsonPath: .status.currentState
|
||||||
|
- name: SourceType
|
||||||
|
type: string
|
||||||
|
description: The data source type
|
||||||
|
jsonPath: .spec.sourceType
|
||||||
|
- name: Node
|
||||||
|
type: string
|
||||||
|
description: The node the backing image file will be prepared on
|
||||||
|
jsonPath: .spec.nodeID
|
||||||
|
- name: DiskUUID
|
||||||
|
type: string
|
||||||
|
description: The disk the backing image file will be prepared on
|
||||||
|
jsonPath: .spec.diskUUID
|
||||||
|
- name: Age
|
||||||
|
type: date
|
||||||
|
jsonPath: .metadata.creationTimestamp
|
||||||
|
@ -20,7 +20,7 @@ data:
|
|||||||
numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}"
|
numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}"
|
||||||
staleReplicaTimeout: "30"
|
staleReplicaTimeout: "30"
|
||||||
fromBackup: ""
|
fromBackup: ""
|
||||||
baseImage: ""
|
backingImage: ""
|
||||||
{{- if .Values.persistence.recurringJobs.enable }}
|
{{- if .Values.persistence.recurringJobs.enable }}
|
||||||
recurringJobs: '{{ .Values.persistence.recurringJobs.jobList }}'
|
recurringJobs: '{{ .Values.persistence.recurringJobs.jobList }}'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user