Skip to content

Commit

Permalink
Longhorn v1.0.1 release
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
  • Loading branch information
yasker committed Jul 21, 2020
1 parent c57f54c commit d5e2455
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 18 deletions.
14 changes: 8 additions & 6 deletions charts/longhorn/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
name: longhorn
version: 1.0.0
appVersion: v1.0.0
version: 1.0.1
appVersion: v1.0.1
kubeVersion: ">=v1.14.0-r0"
description: Longhorn is a distributed block storage system for Kubernetes powered by Rancher Labs.
description: Longhorn is a distributed block storage system for Kubernetes.
keywords:
- longhorn
- storage
Expand All @@ -20,6 +20,8 @@ sources:
- https://github.com/longhorn/longhorn-ui
- https://github.com/longhorn/longhorn-tests
maintainers:
- name: rancher
email: charts@rancher.com
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/longhorn/horizontal/color/longhorn-horizontal-color.svg?sanitize=true
- name: Longhorn maintainers
email: maintainers@longhorn.io
- name: Sheng Yang
email: sheng@yasker.org
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/longhorn/icon/color/longhorn-icon-color.svg?sanitize=true
20 changes: 13 additions & 7 deletions charts/longhorn/questions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ questions:
label: Longhorn Manager Image Name
group: "Longhorn Images Settings"
- variable: image.longhorn.managerTag
default: v1.0.0
default: v1.0.1
description: "Specify Longhorn Manager Image Tag"
type: string
label: Longhorn Manager Image Tag
Expand All @@ -29,7 +29,7 @@ questions:
label: Longhorn Engine Image Name
group: "Longhorn Images Settings"
- variable: image.longhorn.engineTag
default: v1.0.0
default: v1.0.1
description: "Specify Longhorn Engine Image Tag"
type: string
label: Longhorn Engine Image Tag
Expand All @@ -41,7 +41,7 @@ questions:
label: Longhorn UI Image Name
group: "Longhorn Images Settings"
- variable: image.longhorn.uiTag
default: v1.0.0
default: v1.0.1
description: "Specify Longhorn UI Image Tag"
type: string
label: Longhorn UI Image Tag
Expand Down Expand Up @@ -70,11 +70,11 @@ questions:
type: string
label: Longhorn CSI Provisioner Image
group: "Longhorn CSI Driver Images"
- variable: csi.driverRegistrarImage
- variable: csi.nodeDriverRegistrarImage
default:
description: "Specify CSI Driver Registrar image. Leave blank to autodetect."
description: "Specify CSI Node Driver Registrar image. Leave blank to autodetect."
type: string
label: Longhorn CSI Driver Registrar Image
label: Longhorn CSI Node Driver Registrar Image
group: "Longhorn CSI Driver Images"
- variable: csi.resizerImage
default:
Expand Down Expand Up @@ -239,6 +239,12 @@ WARNING: DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES.'
group: "Longhorn Default Settings"
type: string
default: ""
- variable: defaultSettings.priorityClass
label: Priority Class
description: "The name of the Priority Class to set on the Longhorn workloads. This can help prevent Longhorn workloads from being evicted under Node Pressure. WARNING: DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES."
group: "Longhorn Default Settings"
type: string
default: ""
- variable: defaultSettings.autoSalvage
label: Automatic salvage
description: "If enabled, volumes will be automatically salvaged when all the replicas become faulty e.g. due to network disconnection. Longhorn will try to figure out which replica(s) are usable, then use them for the volume. By default true."
Expand Down Expand Up @@ -299,7 +305,7 @@ WARNING: DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES.'
show_if: "ingress.enabled=false"
group: "Services and Load Balancing"
show_subquestion_if: "NodePort"
subquestions:
subquestions:
- variable: service.ui.nodePort
default: ""
description: "NodePort port number(to set explicitly, choose port between 30000-32767)"
Expand Down
7 changes: 5 additions & 2 deletions charts/longhorn/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
1. Get the application URL by running these commands:
kubectl get po -n $release_namespace
Longhorn is now installed on the cluster!

Please wait a few minutes for other Longhorn components such as CSI deployments, Engine Images, and Instance Managers to be initialized.

Visit our documentation at https://longhorn.io/docs/
3 changes: 3 additions & 0 deletions charts/longhorn/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ rules:
- apiGroups: ["batch"]
resources: ["jobs", "cronjobs"]
verbs: ["*"]
- apiGroups: ["scheduling.k8s.io"]
resources: ["priorityclasses"]
verbs: ["watch", "list"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses", "volumeattachments", "csinodes", "csidrivers"]
verbs: ["*"]
Expand Down
1 change: 1 addition & 0 deletions charts/longhorn/templates/default-setting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ data:
default-longhorn-static-storage-class: {{ .Values.defaultSettings.defaultLonghornStaticStorageClass }}
backupstore-poll-interval: {{ .Values.defaultSettings.backupstorePollInterval }}
taint-toleration: {{ .Values.defaultSettings.taintToleration }}
priority-class: {{ .Values.defaultSettings.priorityClass }}
registry-secret: {{ .Values.defaultSettings.registrySecret }}
auto-salvage: {{ .Values.defaultSettings.autoSalvage }}
disable-scheduling-on-cordoned-node: {{ .Values.defaultSettings.disableSchedulingOnCordonedNode }}
Expand Down
7 changes: 4 additions & 3 deletions charts/longhorn/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
image:
longhorn:
engine: longhornio/longhorn-engine
engineTag: v1.0.0
engineTag: v1.0.1
manager: longhornio/longhorn-manager
managerTag: v1.0.0
managerTag: v1.0.1
ui: longhornio/longhorn-ui
uiTag: v1.0.0
uiTag: v1.0.1
instanceManager: longhornio/longhorn-instance-manager
instanceManagerTag: v1_20200514
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -49,6 +49,7 @@ defaultSettings:
defaultLonghornStaticStorageClass: ~
backupstorePollInterval: ~
taintToleration: ~
priorityClass: ~
registrySecret: ~
autoSalvage: ~
disableSchedulingOnCordonedNode: ~
Expand Down

0 comments on commit d5e2455

Please sign in to comment.