chart: Update chart for the enhanced backing image feature
Longhorn #2295 Signed-off-by: Shuo Wu <shuo@rancher.com>
This commit is contained in:
parent
a0f0116751
commit
96b8113488
@ -70,6 +70,18 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
label: Longhorn Share Manager Image Tag
|
label: Longhorn Share Manager Image Tag
|
||||||
group: "Longhorn Images Settings"
|
group: "Longhorn Images Settings"
|
||||||
|
- variable: image.longhorn.backingImageManager.repository
|
||||||
|
default: longhornio/backing-image-manager
|
||||||
|
description: "Specify Longhorn Backing Image Manager Image Repository"
|
||||||
|
type: string
|
||||||
|
label: Longhorn Backing Image Manager Image Repository
|
||||||
|
group: "Longhorn Images Settings"
|
||||||
|
- variable: image.longhorn.backingImageManager.tag
|
||||||
|
default: v1_20210407
|
||||||
|
description: "Specify Longhorn Backing Image Manager Image Tag"
|
||||||
|
type: string
|
||||||
|
label: Longhorn Backing Image Manager Image Tag
|
||||||
|
group: "Longhorn Images Settings"
|
||||||
- variable: image.csi.attacher.repository
|
- variable: image.csi.attacher.repository
|
||||||
default: longhornio/csi-attacher
|
default: longhornio/csi-attacher
|
||||||
description: "Specify CSI attacher image repository. Leave blank to autodetect."
|
description: "Specify CSI attacher image repository. Leave blank to autodetect."
|
||||||
|
@ -37,7 +37,7 @@ 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"]
|
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status", "backingimagemanagers", "backingimagemanagers/status"]
|
||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- apiGroups: ["coordination.k8s.io"]
|
- apiGroups: ["coordination.k8s.io"]
|
||||||
resources: ["leases"]
|
resources: ["leases"]
|
||||||
|
@ -392,7 +392,7 @@ spec:
|
|||||||
listKind: BackingImageList
|
listKind: BackingImageList
|
||||||
plural: backingimages
|
plural: backingimages
|
||||||
shortNames:
|
shortNames:
|
||||||
- lhbm
|
- lhbi
|
||||||
singular: backingimage
|
singular: backingimage
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
@ -417,3 +417,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: BackingImageManager
|
||||||
|
name: backingimagemanagers.longhorn.io
|
||||||
|
spec:
|
||||||
|
group: longhorn.io
|
||||||
|
names:
|
||||||
|
kind: BackingImageManager
|
||||||
|
listKind: BackingImageManagerList
|
||||||
|
plural: backingimagemanagers
|
||||||
|
shortNames:
|
||||||
|
- lhbim
|
||||||
|
singular: backingimagemanager
|
||||||
|
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: Image
|
||||||
|
type: string
|
||||||
|
description: The image the manager pod will use
|
||||||
|
jsonPath: .spec.image
|
||||||
|
- name: Node
|
||||||
|
type: string
|
||||||
|
description: The node the manager is on
|
||||||
|
jsonPath: .spec.nodeID
|
||||||
|
- name: DiskUUID
|
||||||
|
type: string
|
||||||
|
description: The disk the manager is responsible for
|
||||||
|
jsonPath: .spec.diskUUID
|
||||||
|
- name: DiskPath
|
||||||
|
type: string
|
||||||
|
description: The disk path the manager is using
|
||||||
|
jsonPath: .spec.diskPath
|
||||||
|
- name: Age
|
||||||
|
type: date
|
||||||
|
jsonPath: .metadata.creationTimestamp
|
||||||
|
@ -34,6 +34,8 @@ spec:
|
|||||||
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.instanceManager.repository }}:{{ .Values.image.longhorn.instanceManager.tag }}"
|
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.instanceManager.repository }}:{{ .Values.image.longhorn.instanceManager.tag }}"
|
||||||
- --share-manager-image
|
- --share-manager-image
|
||||||
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.shareManager.repository }}:{{ .Values.image.longhorn.shareManager.tag }}"
|
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.shareManager.repository }}:{{ .Values.image.longhorn.shareManager.tag }}"
|
||||||
|
- --backing-image-manager-image
|
||||||
|
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.backingImageManager.repository }}:{{ .Values.image.longhorn.backingImageManager.tag }}"
|
||||||
- --manager-image
|
- --manager-image
|
||||||
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}"
|
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}"
|
||||||
- --service-account
|
- --service-account
|
||||||
|
@ -22,6 +22,9 @@ image:
|
|||||||
shareManager:
|
shareManager:
|
||||||
repository: longhornio/longhorn-share-manager
|
repository: longhornio/longhorn-share-manager
|
||||||
tag: v1_20210406
|
tag: v1_20210406
|
||||||
|
backingImageManager:
|
||||||
|
repository: longhornio/backing-image-manager
|
||||||
|
tag: v1_20210407
|
||||||
csi:
|
csi:
|
||||||
attacher:
|
attacher:
|
||||||
repository: longhornio/csi-attacher
|
repository: longhornio/csi-attacher
|
||||||
|
Loading…
Reference in New Issue
Block a user