From d5e2455b77cef9607c3bb0b17739c44cf7d30ba2 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Mon, 20 Jul 2020 20:48:58 -0700 Subject: [PATCH] Longhorn v1.0.1 release Signed-off-by: Sheng Yang --- charts/longhorn/Chart.yaml | 14 +++++++------ charts/longhorn/questions.yml | 20 ++++++++++++------- charts/longhorn/templates/NOTES.txt | 7 +++++-- charts/longhorn/templates/clusterrole.yaml | 3 +++ .../longhorn/templates/default-setting.yaml | 1 + charts/longhorn/values.yaml | 7 ++++--- 6 files changed, 34 insertions(+), 18 deletions(-) diff --git a/charts/longhorn/Chart.yaml b/charts/longhorn/Chart.yaml index 87daa814..d69784c0 100644 --- a/charts/longhorn/Chart.yaml +++ b/charts/longhorn/Chart.yaml @@ -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 @@ -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 diff --git a/charts/longhorn/questions.yml b/charts/longhorn/questions.yml index c196bfae..781f7a01 100644 --- a/charts/longhorn/questions.yml +++ b/charts/longhorn/questions.yml @@ -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 @@ -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 @@ -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 @@ -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: @@ -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." @@ -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)" diff --git a/charts/longhorn/templates/NOTES.txt b/charts/longhorn/templates/NOTES.txt index 89af5144..cca7cd77 100644 --- a/charts/longhorn/templates/NOTES.txt +++ b/charts/longhorn/templates/NOTES.txt @@ -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/ diff --git a/charts/longhorn/templates/clusterrole.yaml b/charts/longhorn/templates/clusterrole.yaml index bc257e10..491c3e6a 100644 --- a/charts/longhorn/templates/clusterrole.yaml +++ b/charts/longhorn/templates/clusterrole.yaml @@ -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: ["*"] diff --git a/charts/longhorn/templates/default-setting.yaml b/charts/longhorn/templates/default-setting.yaml index 60d7f457..2eb10b4d 100644 --- a/charts/longhorn/templates/default-setting.yaml +++ b/charts/longhorn/templates/default-setting.yaml @@ -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 }} diff --git a/charts/longhorn/values.yaml b/charts/longhorn/values.yaml index ed984025..a1a7d263 100644 --- a/charts/longhorn/values.yaml +++ b/charts/longhorn/values.yaml @@ -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 @@ -49,6 +49,7 @@ defaultSettings: defaultLonghornStaticStorageClass: ~ backupstorePollInterval: ~ taintToleration: ~ + priorityClass: ~ registrySecret: ~ autoSalvage: ~ disableSchedulingOnCordonedNode: ~