chart: Introduce longhorn share manager
Longhorn #2043 Signed-off-by: Shuo Wu <shuo@rancher.com>
This commit is contained in:
parent
7f0790fc80
commit
3a257953da
@ -36,7 +36,8 @@ rules:
|
|||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- 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"]
|
||||||
verbs: ["*"]
|
verbs: ["*"]
|
||||||
- apiGroups: ["coordination.k8s.io"]
|
- apiGroups: ["coordination.k8s.io"]
|
||||||
resources: ["leases"]
|
resources: ["leases"]
|
||||||
|
@ -349,3 +349,48 @@ 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: ShareManager
|
||||||
|
annotations:
|
||||||
|
helm.sh/resource-policy: keep
|
||||||
|
name: sharemanagers.longhorn.io
|
||||||
|
spec:
|
||||||
|
group: longhorn.io
|
||||||
|
names:
|
||||||
|
kind: ShareManager
|
||||||
|
listKind: ShareManagerList
|
||||||
|
plural: sharemanagers
|
||||||
|
shortNames:
|
||||||
|
- lhsm
|
||||||
|
singular: sharemanager
|
||||||
|
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 state of the share manager
|
||||||
|
jsonPath: .status.state
|
||||||
|
- name: Node
|
||||||
|
type: string
|
||||||
|
description: The node that the share manager is owned by
|
||||||
|
jsonPath: .status.ownerID
|
||||||
|
- name: Age
|
||||||
|
type: date
|
||||||
|
jsonPath: .metadata.creationTimestamp
|
||||||
|
@ -28,6 +28,8 @@ spec:
|
|||||||
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.engine.repository }}:{{ .Values.image.longhorn.engine.tag }}"
|
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.engine.repository }}:{{ .Values.image.longhorn.engine.tag }}"
|
||||||
- --instance-manager-image
|
- --instance-manager-image
|
||||||
- "{{ 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
|
||||||
|
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.shareManager.repository }}:{{ .Values.image.longhorn.shareManager.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
|
||||||
|
@ -19,6 +19,9 @@ image:
|
|||||||
instanceManager:
|
instanceManager:
|
||||||
repository: longhornio/longhorn-instance-manager
|
repository: longhornio/longhorn-instance-manager
|
||||||
tag: v1_20200514
|
tag: v1_20200514
|
||||||
|
shareManager:
|
||||||
|
repository: longhornio/longhorn-share-manager
|
||||||
|
tag: v1_20201204
|
||||||
csi:
|
csi:
|
||||||
attacher:
|
attacher:
|
||||||
repository: longhornio/csi-attacher
|
repository: longhornio/csi-attacher
|
||||||
|
Loading…
Reference in New Issue
Block a user