From ca3d73a284e3622f639e9df1e810ede61bfa3dcc Mon Sep 17 00:00:00 2001 From: David Ko Date: Thu, 11 Jan 2024 17:05:49 +0000 Subject: [PATCH 01/88] release: v1.6.0-rc1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 8d071db4e0..702f79a395 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.0-dev -appVersion: v1.6.0-dev +version: 1.6.0-rc1 +appVersion: v1.6.0-rc1 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 5cab828964..043c0009c3 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: master-head + default: v1.6.0-rc1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: master-head + default: v1.6.0-rc1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: master-head + default: v1.6.0-rc1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v2_20221123 + default: v1.6.0-rc1 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1_20220914 + default: v1.6.0-rc1 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v3_20220808 + default: v1.6.0-rc1 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index e574f0cea8..d841560607 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Specify Longhorn engine image repository repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: master-head + tag: v1.6.0-rc1 manager: # -- Specify Longhorn manager image repository repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: master-head + tag: v1.6.0-rc1 ui: # -- Specify Longhorn ui image repository repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: master-head + tag: v1.6.0-rc1 instanceManager: # -- Specify Longhorn instance manager image repository repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: master-head + tag: v1.6.0-rc1 shareManager: # -- Specify Longhorn share manager image repository repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: master-head + tag: v1.6.0-rc1 backingImageManager: # -- Specify Longhorn backing image manager image repository repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: master-head + tag: v1.6.0-rc1 supportBundleKit: # -- Specify Longhorn support bundle manager image repository repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index b66be5687e..b80522d8d6 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.11.0 -longhornio/backing-image-manager:master-head -longhornio/longhorn-engine:master-head -longhornio/longhorn-instance-manager:master-head -longhornio/longhorn-manager:master-head -longhornio/longhorn-share-manager:master-head -longhornio/longhorn-ui:master-head +longhornio/backing-image-manager:v1.6.0-rc1 +longhornio/longhorn-engine:v1.6.0-rc1 +longhornio/longhorn-instance-manager:v1.6.0-rc1 +longhornio/longhorn-manager:v1.6.0-rc1 +longhornio/longhorn-share-manager:v1.6.0-rc1 +longhornio/longhorn-ui:v1.6.0-rc1 longhornio/support-bundle-kit:v0.0.33 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index d55523bc11..34e61be0cb 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 data: storageclass.yaml: | kind: StorageClass @@ -105,7 +105,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -277,7 +277,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -453,7 +453,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -754,7 +754,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: backups.longhorn.io spec: @@ -950,7 +950,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1133,7 +1133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1300,7 +1300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1494,7 +1494,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1869,7 +1869,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2137,7 +2137,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2388,7 +2388,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2659,7 +2659,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2894,7 +2894,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: settings.longhorn.io spec: @@ -2986,7 +2986,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3101,7 +3101,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3228,7 +3228,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3354,7 +3354,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3482,7 +3482,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3584,7 +3584,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3968,7 +3968,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4097,7 +4097,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 rules: - apiGroups: - apiextensions.k8s.io @@ -4163,7 +4163,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4181,7 +4181,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4198,7 +4198,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4219,7 +4219,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4240,7 +4240,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4261,7 +4261,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4282,7 +4282,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4303,7 +4303,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4319,7 +4319,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4335,7 +4335,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4348,12 +4348,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:master-head + image: longhornio/longhorn-manager:v1.6.0-rc1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4362,17 +4362,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:master-head" + - "longhornio/longhorn-engine:v1.6.0-rc1" - --instance-manager-image - - "longhornio/longhorn-instance-manager:master-head" + - "longhornio/longhorn-instance-manager:v1.6.0-rc1" - --share-manager-image - - "longhornio/longhorn-share-manager:master-head" + - "longhornio/longhorn-share-manager:v1.6.0-rc1" - --backing-image-manager-image - - "longhornio/backing-image-manager:master-head" + - "longhornio/backing-image-manager:v1.6.0-rc1" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.33" - --manager-image - - "longhornio/longhorn-manager:master-head" + - "longhornio/longhorn-manager:v1.6.0-rc1" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4442,7 +4442,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 spec: replicas: 1 selector: @@ -4453,23 +4453,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:master-head + image: longhornio/longhorn-manager:v1.6.0-rc1 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:master-head + image: longhornio/longhorn-manager:v1.6.0-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:master-head" + - "longhornio/longhorn-manager:v1.6.0-rc1" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4509,7 +4509,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4523,7 +4523,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-dev + app.kubernetes.io/version: v1.6.0-rc1 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4541,7 +4541,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:master-head + image: longhornio/longhorn-ui:v1.6.0-rc1 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index abeefe88d1..26dfcb0c6e 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:master-head + image: longhornio/longhorn-manager:v1.6.0-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager From 1538b745eeba096540537a9b2f0d6b9da0564589 Mon Sep 17 00:00:00 2001 From: Jack Lin Date: Fri, 12 Jan 2024 14:27:51 +0800 Subject: [PATCH 02/88] fix: add backupbackingimage to clusterrole ref: longhorn/longhorn 7643 Signed-off-by: Jack Lin (cherry picked from commit 93783d02d051845a05b6ddc33479d72298e6df04) --- uninstall/uninstall.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 26dfcb0c6e..cf0b4c3746 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -66,7 +66,7 @@ rules: - apiGroups: ["longhorn.io"] resources: ["volumes", "engines", "replicas", "settings", "engineimages", "nodes", "instancemanagers", "sharemanagers", "backingimages", "backingimagemanagers", "backingimagedatasources", "backuptargets", "backupvolumes", "backups", - "recurringjobs", "orphans", "snapshots", "supportbundles", "systembackups", "systemrestores", "volumeattachments"] + "recurringjobs", "orphans", "snapshots", "supportbundles", "systembackups", "systemrestores", "volumeattachments", "backupbackingimage"] verbs: ["*"] - apiGroups: ["coordination.k8s.io"] resources: ["leases"] From 139a731b68aa7d0903b43f9e649886a22f970112 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Wed, 10 Jan 2024 13:05:42 +0000 Subject: [PATCH 03/88] Remove unnecessary Kubernetes version checks in chart manifests Longhorn supports Kubernetes 1.19 as the minimum version, hence Kubernetes version checks for the older versions are not required. Signed-off-by: Yarden Shoham (cherry picked from commit ff694da46fbdfe68a3efd5175fa74e7cfc7ce3d8) --- chart/templates/ingress.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index ee47f8b8d9..9038ff0cc1 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -1,9 +1,5 @@ {{- if .Values.ingress.enabled }} -{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} apiVersion: networking.k8s.io/v1 -{{- else -}} -apiVersion: networking.k8s.io/v1beta1 -{{- end }} kind: Ingress metadata: name: longhorn-ingress @@ -18,7 +14,7 @@ metadata: {{ $key }}: {{ $value | quote }} {{- end }} spec: - {{- if and .Values.ingress.ingressClassName (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} + {{- if .Values.ingress.ingressClassName }} ingressClassName: {{ .Values.ingress.ingressClassName }} {{- end }} rules: @@ -26,19 +22,12 @@ spec: http: paths: - path: {{ default "" .Values.ingress.path }} - {{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} pathType: ImplementationSpecific - {{- end }} backend: - {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} service: name: longhorn-frontend port: number: 80 - {{- else }} - serviceName: longhorn-frontend - servicePort: 80 - {{- end }} {{- if .Values.ingress.tls }} tls: - hosts: From 5c0afb0678e9baf575f5f5c3e7ce180cdaccc53b Mon Sep 17 00:00:00 2001 From: Jack Lin Date: Fri, 12 Jan 2024 18:51:50 +0800 Subject: [PATCH 04/88] fix: fix typos in uninstall yaml ref: longhorn/longhorn 7643 Signed-off-by: Jack Lin (cherry picked from commit 25a82bd72f014b93bd5d2e7992297063ef01135a) --- uninstall/uninstall.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index cf0b4c3746..51ab6f0d45 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -66,7 +66,7 @@ rules: - apiGroups: ["longhorn.io"] resources: ["volumes", "engines", "replicas", "settings", "engineimages", "nodes", "instancemanagers", "sharemanagers", "backingimages", "backingimagemanagers", "backingimagedatasources", "backuptargets", "backupvolumes", "backups", - "recurringjobs", "orphans", "snapshots", "supportbundles", "systembackups", "systemrestores", "volumeattachments", "backupbackingimage"] + "recurringjobs", "orphans", "snapshots", "supportbundles", "systembackups", "systemrestores", "volumeattachments", "backupbackingimages"] verbs: ["*"] - apiGroups: ["coordination.k8s.io"] resources: ["leases"] From 2a518b4d6ed334e941543715bb7a876f9bc1a336 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Sat, 13 Jan 2024 03:08:01 +0000 Subject: [PATCH 05/88] Add missing warnings in the questions.yaml Longhorn 7655 Signed-off-by: Derek Su (cherry picked from commit 2503414115ce422ee4d0f8fe17e8bc5939770873) --- chart/questions.yaml | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/chart/questions.yaml b/chart/questions.yaml index 043c0009c3..cb93b06699 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -473,7 +473,11 @@ questions: default: 600 - variable: defaultSettings.concurrentReplicaRebuildPerNodeLimit label: Concurrent Replica Rebuild Per Node Limit - description: "This setting controls how many replicas on a node can be rebuilt simultaneously." + description: "This setting controls how many replicas on a node can be rebuilt simultaneously. + WARNING: + - The old setting "Disable Replica Rebuild" is replaced by this setting. + - Different from relying on replica starting delay to limit the concurrent rebuilding, if the rebuilding is disabled, replica object replenishment will be directly skipped. + - When the value is 0, the eviction and data locality feature won't work. But this shouldn't have any impact to any current replica rebuild and backup restore." group: "Longhorn Default Settings" type: int min: 0 @@ -542,7 +546,13 @@ questions: default: 300 - variable: defaultSettings.guaranteedInstanceManagerCPU label: Guaranteed Instance Manager CPU - description: "Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is 12 percent." + description: "Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is 12 percent. + WARNING: + - Value 0 means removing the CPU requests from spec of instance manager pods. + - Considering the possible number of new instance manager pods in a further system upgrade, this integer value ranges from 0 to 40. + - One more set of instance manager pods may need to be deployed when the Longhorn system is upgraded. If current available CPUs of the nodes are not enough for the new instance manager pods, you need to detach the volumes using the oldest instance manager pods so that Longhorn can clean up the old pods automatically and release the CPU resources. And the new pods with the latest instance manager image will be launched then. + - This global setting will be ignored for a node if the field "InstanceManagerCPURequest" on the node is set. + - After this setting is changed, all instance manager pods using this global setting on all the nodes will be automatically restarted. In other words, DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES." group: "Longhorn Default Settings" type: int min: 0 @@ -562,7 +572,9 @@ questions: default: "false" - variable: defaultSettings.kubernetesClusterAutoscalerEnabled label: Kubernetes Cluster Autoscaler Enabled (Experimental) - description: "Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler." + description: "Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. + WARNING: + - Replica rebuilding could be expensive because nodes with reusable replicas could get removed by the Kubernetes Cluster Autoscaler." group: "Longhorn Default Settings" type: boolean default: false @@ -574,7 +586,9 @@ questions: default: false - variable: defaultSettings.storageNetwork label: Storage Network - description: "Longhorn uses the storage network for in-cluster data traffic. Leave this blank to use the Kubernetes cluster network." + description: "Longhorn uses the storage network for in-cluster data traffic. Leave this blank to use the Kubernetes cluster network. + WARNING: + - This setting should change after detaching all Longhorn volumes, as some of the Longhorn system component pods will get recreated to apply the setting. Longhorn will try to block this setting update when there are attached volumes." group: "Longhorn Default Settings" type: string default: @@ -660,7 +674,10 @@ questions: default: true - variable: defaultSettings.v2DataEngine label: V2 Data Engine - description: "This allows users to activate v2 data engine based on SPDK. Currently, it is in the preview phase and should not be utilized in a production environment." + description: "This allows users to activate v2 data engine based on SPDK. Currently, it is in the preview phase and should not be utilized in a production environment. + WARNING: + - DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES. Longhorn will block this setting update when there are attached volumes. + - When the V2 Data Engine is enabled, each instance-manager pod utilizes 1 CPU core. This high CPU usage is attributed to the spdk_tgt process running within each instance-manager pod. The spdk_tgt process is responsible for handling input/output (IO) operations and requires intensive polling. As a result, it consumes 100% of a dedicated CPU core to efficiently manage and process the IO requests, ensuring optimal performance and responsiveness for storage operations." group: "Longhorn V2 Data Engine (Preview Feature) Settings" type: boolean default: false @@ -875,7 +892,10 @@ questions: - "k3s" - variable: defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU label: Guaranteed Instance Manager CPU for V2 Data Engine - description: "Number of millicpus on each node to be reserved for each instance manager pod when the V2 Data Engine is enabled. By default, the Storage Performance Development Kit (SPDK) target daemon within each instance manager pod uses 1 CPU core. Configuring a minimum CPU usage value is essential for maintaining engine and replica stability, especially during periods of high node workload. The default value is 1250 millicpus." + description: "Number of millicpus on each node to be reserved for each instance manager pod when the V2 Data Engine is enabled. By default, the Storage Performance Development Kit (SPDK) target daemon within each instance manager pod uses 1 CPU core. Configuring a minimum CPU usage value is essential for maintaining engine and replica stability, especially during periods of high node workload. The default value is 1250 millicpus. + WARNING: + - Specifying a value of 0 disables CPU requests for instance manager pods. You must specify an integer between 1000 and 8000. + - This is a global setting. Modifying the value triggers an automatic restart of the instance manager pods. Do not modify the value while volumes are still attached." group: "Longhorn Default Settings" type: int min: 1000 From 7d55fd70189ad98b87ddc6b30498dca89b24abae Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 15 Jan 2024 23:55:33 +0800 Subject: [PATCH 06/88] chore(engineimage): add a new k8s column. Add a new k8s column `INCOMPATIBLE` for resource `EngineImage`. Ref: longhorn/longhorn#7683, longhorn/longhorn#7539 Signed-off-by: James Lu (cherry picked from commit 11e1a1659c4287bbbd570c190b19822a7dad0279) --- chart/templates/crds.yaml | 4 ++++ deploy/longhorn.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index 7c16301ccd..b6bc248455 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -1244,6 +1244,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: Compatibility of the engine image + jsonPath: .status.incompatible + name: Incompatible + type: boolean - description: State of the engine image jsonPath: .status.state name: State diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 34e61be0cb..5ec013d405 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -1370,6 +1370,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: Compatibility of the engine image + jsonPath: .status.incompatible + name: Incompatible + type: boolean - description: State of the engine image jsonPath: .status.state name: State From 79c657aa4a19f4ce1e033a7a31a0e7ad0f7fffec Mon Sep 17 00:00:00 2001 From: Jack Lin Date: Mon, 15 Jan 2024 16:24:24 +0800 Subject: [PATCH 07/88] fix(doc): update the description in helm values ref: longhorn/longhorn 7667 Signed-off-by: Jack Lin (cherry picked from commit ea910b7ad4b6f33713e8c5598f446751bf24e727) # Conflicts: # chart/questions.yaml # chart/values.yaml --- chart/README.md | 344 ++++++++++++++++++------------------ chart/README.md.gotmpl | 19 +- chart/questions.yaml | 227 +++++++++++++----------- chart/values.yaml | 390 ++++++++++++++++++++--------------------- 4 files changed, 496 insertions(+), 484 deletions(-) diff --git a/chart/README.md b/chart/README.md index 87c1e4dbf6..4912b4bca9 100644 --- a/chart/README.md +++ b/chart/README.md @@ -73,257 +73,253 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | Key | Type | Default | Description | |-----|------|---------|-------------| -| global.cattle.systemDefaultRegistry | string | `""` | System default registry | -| global.cattle.windowsCluster.defaultSetting.systemManagedComponentsNodeSelector | string | `"kubernetes.io/os:linux"` | Node selector for Longhorn system managed components | -| global.cattle.windowsCluster.defaultSetting.taintToleration | string | `"cattle.io/os=linux:NoSchedule"` | Toleration for Longhorn system managed components | -| global.cattle.windowsCluster.enabled | bool | `false` | Enable this to allow Longhorn to run on the Rancher-deployed Windows cluster | -| global.cattle.windowsCluster.nodeSelector | object | `{"kubernetes.io/os":"linux"}` | Select Linux nodes to run Longhorn user deployed components | -| global.cattle.windowsCluster.tolerations | list | `[{"effect":"NoSchedule","key":"cattle.io/os","operator":"Equal","value":"linux"}]` | Tolerate Linux nodes to run Longhorn user deployed components | +| global.cattle.systemDefaultRegistry | string | `""` | Default system registry. | +| global.cattle.windowsCluster.defaultSetting.systemManagedComponentsNodeSelector | string | `"kubernetes.io/os:linux"` | Node selector for system-managed Longhorn components. | +| global.cattle.windowsCluster.defaultSetting.taintToleration | string | `"cattle.io/os=linux:NoSchedule"` | Toleration for system-managed Longhorn components. | +| global.cattle.windowsCluster.enabled | bool | `false` | Setting that allows Longhorn to run on a Rancher Windows cluster. | +| global.cattle.windowsCluster.nodeSelector | object | `{"kubernetes.io/os":"linux"}` | Node selector for Linux nodes that can run user-deployed Longhorn components. | +| global.cattle.windowsCluster.tolerations | list | `[{"effect":"NoSchedule","key":"cattle.io/os","operator":"Equal","value":"linux"}]` | Toleration for Linux nodes that can run user-deployed Longhorn components. | ### Network Policies | Key | Type | Default | Description | |-----|------|---------|-------------| -| networkPolicies.enabled | bool | `false` | Enable NetworkPolicies to limit access to the Longhorn pods | -| networkPolicies.type | string | `"k3s"` | Create the policy based on your distribution to allow access for the ingress. Options: `k3s`, `rke2`, `rke1` | +| networkPolicies.enabled | bool | `false` | Setting that allows you to enable network policies that control access to Longhorn pods. | +| networkPolicies.type | string | `"k3s"` | Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1") | ### Image Settings | Key | Type | Default | Description | |-----|------|---------|-------------| -| image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Specify CSI attacher image repository. Leave blank to autodetect | -| image.csi.attacher.tag | string | `"v4.4.2"` | Specify CSI attacher image tag. Leave blank to autodetect | -| image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Specify CSI liveness probe image repository. Leave blank to autodetect | -| image.csi.livenessProbe.tag | string | `"v2.11.0"` | Specify CSI liveness probe image tag. Leave blank to autodetect | -| image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Specify CSI node driver registrar image repository. Leave blank to autodetect | -| image.csi.nodeDriverRegistrar.tag | string | `"v2.9.2"` | Specify CSI node driver registrar image tag. Leave blank to autodetect | -| image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Specify CSI provisioner image repository. Leave blank to autodetect | -| image.csi.provisioner.tag | string | `"v3.6.2"` | Specify CSI provisioner image tag. Leave blank to autodetect | -| image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Specify CSI driver resizer image repository. Leave blank to autodetect | -| image.csi.resizer.tag | string | `"v1.9.2"` | Specify CSI driver resizer image tag. Leave blank to autodetect | -| image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Specify CSI driver snapshotter image repository. Leave blank to autodetect | -| image.csi.snapshotter.tag | string | `"v6.3.2"` | Specify CSI driver snapshotter image tag. Leave blank to autodetect. | -| image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Specify Longhorn backing image manager image repository | -| image.longhorn.backingImageManager.tag | string | `"master-head"` | Specify Longhorn backing image manager image tag | -| image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Specify Longhorn engine image repository | -| image.longhorn.engine.tag | string | `"master-head"` | Specify Longhorn engine image tag | -| image.longhorn.instanceManager.repository | string | `"longhornio/longhorn-instance-manager"` | Specify Longhorn instance manager image repository | -| image.longhorn.instanceManager.tag | string | `"master-head"` | Specify Longhorn instance manager image tag | -| image.longhorn.manager.repository | string | `"longhornio/longhorn-manager"` | Specify Longhorn manager image repository | -| image.longhorn.manager.tag | string | `"master-head"` | Specify Longhorn manager image tag | -| image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Specify Longhorn share manager image repository | -| image.longhorn.shareManager.tag | string | `"master-head"` | Specify Longhorn share manager image tag | -| image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Specify Longhorn support bundle manager image repository | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.33"` | Specify Longhorn support bundle manager image tag | -| image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Specify Longhorn ui image repository | -| image.longhorn.ui.tag | string | `"master-head"` | Specify Longhorn ui image tag | -| image.openshift.oauthProxy.repository | string | `"quay.io/openshift/origin-oauth-proxy"` | For openshift user. Specify oauth proxy image repository | -| image.openshift.oauthProxy.tag | float | `4.14` | For openshift user. Specify oauth proxy image tag. Note: Use your OCP/OKD 4.X Version, Current Stable is 4.14 | -| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy which applies to all Longhorn user-deployed components. E.g., Longhorn manager, Longhorn driver, Longhorn UI | +| image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | +| image.csi.attacher.tag | string | `"v4.4.2"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | +| image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | +| image.csi.livenessProbe.tag | string | `"v2.11.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | +| image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | +| image.csi.nodeDriverRegistrar.tag | string | `"v2.9.2"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | +| image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | +| image.csi.provisioner.tag | string | `"v3.6.2"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | +| image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | +| image.csi.resizer.tag | string | `"v1.9.2"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | +| image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | +| image.csi.snapshotter.tag | string | `"v6.3.2"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | +| image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | +| image.longhorn.backingImageManager.tag | string | `"master-head"` | Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | +| image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Repository for the Longhorn Engine image. | +| image.longhorn.engine.tag | string | `"master-head"` | Tag for the Longhorn Engine image. | +| image.longhorn.instanceManager.repository | string | `"longhornio/longhorn-instance-manager"` | Repository for the Longhorn Instance Manager image. | +| image.longhorn.instanceManager.tag | string | `"master-head"` | Tag for the Longhorn Instance Manager image. | +| image.longhorn.manager.repository | string | `"longhornio/longhorn-manager"` | Repository for the Longhorn Manager image. | +| image.longhorn.manager.tag | string | `"master-head"` | Tag for the Longhorn Manager image. | +| image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | +| image.longhorn.shareManager.tag | string | `"master-head"` | Tag for the Longhorn Share Manager image. | +| image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.33"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | +| image.longhorn.ui.tag | string | `"master-head"` | Tag for the Longhorn UI image. | +| image.openshift.oauthProxy.repository | string | `"quay.io/openshift/origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | +| image.openshift.oauthProxy.tag | float | `4.14` | Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.14. | +| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. | ### Service Settings | Key | Description | |-----|-------------| -| service.manager.nodePort | NodePort port number (to set explicitly, chooses port between 30000-32767) | -| service.manager.type | Define the Longhorn manager service type. | -| service.ui.nodePort | NodePort port number (to set explicitly, chooses port between 30000-32767) | -| service.ui.type | Define the Longhorn UI service type. Options: `ClusterIP`, `NodePort`, `LoadBalancer`, `Rancher-Proxy` | +| service.manager.nodePort | NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767. | +| service.manager.type | Service type for Longhorn Manager. | +| service.ui.nodePort | NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767. | +| service.ui.type | Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy") | ### StorageClass Settings | Key | Type | Default | Description | |-----|------|---------|-------------| -| persistence.backingImage.dataSourceParameters | string | `nil` | Specify the data source parameters for the backing image used in Longhorn StorageClass. This option accepts a json string of a map. E.g., `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`. | -| persistence.backingImage.dataSourceType | string | `nil` | Specify the data source type for the backing image used in Longhorn StorageClass. If the backing image does not exist, Longhorn will use this field to create a backing image. Otherwise, Longhorn will use it to verify the selected backing image. | -| persistence.backingImage.enable | bool | `false` | Set backing image for Longhorn StorageClass | -| persistence.backingImage.expectedChecksum | string | `nil` | Specify the expected SHA512 checksum of the selected backing image in Longhorn StorageClass | -| persistence.backingImage.name | string | `nil` | Specify a backing image that will be used by Longhorn volumes in Longhorn StorageClass. If not exists, the backing image data source type and backing image data source parameters should be specified so that Longhorn will create the backing image before using it | -| persistence.defaultClass | bool | `true` | Set Longhorn StorageClass as default | -| persistence.defaultClassReplicaCount | int | `3` | Set replica count for Longhorn StorageClass | -| persistence.defaultDataLocality | string | `"disabled"` | Set data locality for Longhorn StorageClass. Options: `disabled`, `best-effort` | -| persistence.defaultFsType | string | `"ext4"` | Set filesystem type for Longhorn StorageClass | -| persistence.defaultMkfsParams | string | `""` | Set mkfs options for Longhorn StorageClass | -| persistence.defaultNodeSelector.enable | bool | `false` | Enable Node selector for Longhorn StorageClass | -| persistence.defaultNodeSelector.selector | string | `""` | This selector enables only certain nodes having these tags to be used for the volume. E.g. `"storage,fast"` | -| persistence.migratable | bool | `false` | Set volume migratable for Longhorn StorageClass | +| persistence.backingImage.dataSourceParameters | string | `nil` | Data source parameters of a backing image used in a Longhorn StorageClass. You can specify a JSON string of a map. (Example: `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`) | +| persistence.backingImage.dataSourceType | string | `nil` | Data source type of a backing image used in a Longhorn StorageClass. If the backing image exists in the cluster, Longhorn uses this setting to verify the image. If the backing image does not exist, Longhorn creates one using the specified data source type. | +| persistence.backingImage.enable | bool | `false` | Setting that allows you to use a backing image in a Longhorn StorageClass. | +| persistence.backingImage.expectedChecksum | string | `nil` | Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass. | +| persistence.backingImage.name | string | `nil` | Backing image to be used for creating and restoring volumes in a Longhorn StorageClass. When no backing images are available, specify the data source type and parameters that Longhorn can use to create a backing image. | +| persistence.defaultClass | bool | `true` | Setting that allows you to specify the default Longhorn StorageClass. | +| persistence.defaultClassReplicaCount | int | `3` | Replica count of the default Longhorn StorageClass. | +| persistence.defaultDataLocality | string | `"disabled"` | Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort") | +| persistence.defaultFsType | string | `"ext4"` | Filesystem type of the default Longhorn StorageClass. | +| persistence.defaultMkfsParams | string | `""` | mkfs parameters of the default Longhorn StorageClass. | +| persistence.defaultNodeSelector.enable | bool | `false` | Setting that allows you to enable the node selector for the default Longhorn StorageClass. | +| persistence.defaultNodeSelector.selector | string | `""` | Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast") | +| persistence.migratable | bool | `false` | Setting that allows you to enable live migration of a Longhorn volume from one node to another. | | persistence.nfsOptions | string | `""` | Set NFS mount options for Longhorn StorageClass for RWX volumes | -| persistence.reclaimPolicy | string | `"Delete"` | Define reclaim policy. Options: `Retain`, `Delete` | -| persistence.recurringJobSelector.enable | bool | `false` | Enable recurring job selector for Longhorn StorageClass | -| persistence.recurringJobSelector.jobList | list | `[]` | Recurring job selector list for Longhorn StorageClass. Please be careful of quotes of input. E.g., `[{"name":"backup", "isGroup":true}]` | -| persistence.removeSnapshotsDuringFilesystemTrim | string | `"ignored"` | Allow automatically removing snapshots during filesystem trim for Longhorn StorageClass. Options: `ignored`, `enabled`, `disabled` | +| persistence.reclaimPolicy | string | `"Delete"` | Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete") | +| persistence.recurringJobSelector.enable | bool | `false` | Setting that allows you to enable the recurring job selector for a Longhorn StorageClass. | +| persistence.recurringJobSelector.jobList | list | `[]` | Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`) | +| persistence.removeSnapshotsDuringFilesystemTrim | string | `"ignored"` | Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled") | ### CSI Settings | Key | Description | |-----|-------------| -| csi.attacherReplicaCount | Specify replica count of CSI Attacher. Leave blank to use default count: 3 | -| csi.kubeletRootDir | Specify kubelet root-dir. Leave blank to autodetect | -| csi.provisionerReplicaCount | Specify replica count of CSI Provisioner. Leave blank to use default count: 3 | -| csi.resizerReplicaCount | Specify replica count of CSI Resizer. Leave blank to use default count: 3 | -| csi.snapshotterReplicaCount | Specify replica count of CSI Snapshotter. Leave blank to use default count: 3 | +| csi.attacherReplicaCount | Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3"). | +| csi.kubeletRootDir | kubelet root directory. When unspecified, Longhorn uses the default value. | +| csi.provisionerReplicaCount | Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3"). | +| csi.resizerReplicaCount | Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3"). | +| csi.snapshotterReplicaCount | Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3"). | ### Longhorn Manager Settings -Longhorn system contains user deployed components (e.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (e.g, instance manager, engine image, CSI driver, etc.). -These settings only apply to Longhorn manager component. +Longhorn consists of user-deployed components (for example, Longhorn Manager, Longhorn Driver, and Longhorn UI) and system-managed components (for example, Instance Manager, Backing Image Manager, Share Manager, CSI Driver, and Engine Image). The following settings only apply to Longhorn Manager. | Key | Type | Default | Description | |-----|------|---------|-------------| -| longhornManager.log.format | string | `"plain"` | Options: `plain`, `json` | -| longhornManager.nodeSelector | object | `{}` | Select nodes to run Longhorn manager | -| longhornManager.priorityClass | string | `"longhorn-critical"` | Priority class for longhorn manager | -| longhornManager.serviceAnnotations | object | `{}` | Annotation used in Longhorn manager service | -| longhornManager.tolerations | list | `[]` | Tolerate nodes to run Longhorn manager | +| longhornManager.log.format | string | `"plain"` | Format of Longhorn Manager logs. (Options: "plain", "json") | +| longhornManager.nodeSelector | object | `{}` | Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager. | +| longhornManager.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn Manager. | +| longhornManager.serviceAnnotations | object | `{}` | Annotation for the Longhorn Manager service. | +| longhornManager.tolerations | list | `[]` | Toleration for Longhorn Manager on nodes allowed to run Longhorn Manager. | ### Longhorn Driver Settings -Longhorn system contains user deployed components (e.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (e.g, instance manager, engine image, CSI driver, etc.). -These settings only apply to Longhorn driver component. +Longhorn consists of user-deployed components (for example, Longhorn Manager, Longhorn Driver, and Longhorn UI) and system-managed components (for example, Instance Manager, Backing Image Manager, Share Manager, CSI Driver, and Engine Image). The following settings only apply to Longhorn Driver. | Key | Type | Default | Description | |-----|------|---------|-------------| -| longhornDriver.nodeSelector | object | `{}` | Select nodes to run the Longhorn CSI driver | -| longhornDriver.priorityClass | string | `"longhorn-critical"` | Priority class for the Longhorn CSI driver | -| longhornDriver.tolerations | list | `[]` | Tolerate nodes to run the Longhorn CSI driver | +| longhornDriver.nodeSelector | object | `{}` | Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver. | +| longhornDriver.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn Driver. | +| longhornDriver.tolerations | list | `[]` | Toleration for Longhorn Driver on nodes allowed to run Longhorn components. | ### Longhorn UI Settings -Longhorn system contains user deployed components (e.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (e.g, instance manager, engine image, CSI driver, etc.). -These settings only apply to Longhorn UI component. +Longhorn consists of user-deployed components (for example, Longhorn Manager, Longhorn Driver, and Longhorn UI) and system-managed components (for example, Instance Manager, Backing Image Manager, Share Manager, CSI Driver, and Engine Image). The following settings only apply to Longhorn UI. | Key | Type | Default | Description | |-----|------|---------|-------------| -| longhornUI.nodeSelector | object | `{}` | Select nodes to run Longhorn UI | -| longhornUI.priorityClass | string | `"longhorn-critical"` | Priority class count for Longhorn UI | -| longhornUI.replicas | int | `2` | Replica count for longhorn UI | -| longhornUI.tolerations | list | `[]` | Tolerate nodes to run Longhorn UI | +| longhornUI.nodeSelector | object | `{}` | Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. | +| longhornUI.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn UI. | +| longhornUI.replicas | int | `2` | Replica count for Longhorn UI. | +| longhornUI.tolerations | list | `[]` | Toleration for Longhorn UI on nodes allowed to run Longhorn components. | ### Ingress Settings | Key | Type | Default | Description | |-----|------|---------|-------------| -| ingress.annotations | string | `nil` | Ingress annotations done as key:value pairs | -| ingress.enabled | bool | `false` | Set to true to enable ingress record generation | -| ingress.host | string | `"sslip.io"` | Layer 7 Load Balancer hostname | -| ingress.ingressClassName | string | `nil` | Add ingressClassName to the Ingress Can replace the kubernetes.io/ingress.class annotation on v1.18+ | -| ingress.path | string | `"/"` | If ingress is enabled, you can set the default ingress path then you can access the UI by using the following full path {{host}}+{{path}} | -| ingress.secrets | string | `nil` | If you're providing your own certificates, please use this to add the certificates as secrets | -| ingress.secureBackends | bool | `false` | Enable this to enable that the backend service will be connected at port 443 | -| ingress.tls | bool | `false` | Set this to true to enable TLS on the ingress record | -| ingress.tlsSecret | string | `"longhorn.local-tls"` | If TLS is set to true, you must declare what secret will store the key/certificate for TLS | +| ingress.annotations | string | `nil` | Ingress annotations in the form of key-value pairs. | +| ingress.enabled | bool | `false` | Setting that allows Longhorn to generate ingress records for the Longhorn UI service. | +| ingress.host | string | `"sslip.io"` | Hostname of the Layer 7 load balancer. | +| ingress.ingressClassName | string | `nil` | IngressClass resource that contains ingress configuration, including the name of the Ingress controller. ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases. | +| ingress.path | string | `"/"` | Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}. | +| ingress.secrets | string | `nil` | Secret that contains a TLS private key and certificate. Use secrets if you want to use your own certificates to secure ingresses. | +| ingress.secureBackends | bool | `false` | Setting that allows you to enable secure connections to the Longhorn UI service via port 443. | +| ingress.tls | bool | `false` | Setting that allows you to enable TLS on ingress records. | +| ingress.tlsSecret | string | `"longhorn.local-tls"` | TLS secret that contains the private key and certificate to be used for TLS. This setting applies only when TLS is enabled on ingress records. | ### Private Registry Settings -Longhorn can be installed in an air gapped environment with private registry settings. Please refer to **Air Gap Installation** in our official site [link](https://longhorn.io/docs) +You can install Longhorn in an air-gapped environment with a private registry. For more information, see the **Air Gap Installation** section of the [documentation](https://longhorn.io/docs). | Key | Description | |-----|-------------| -| privateRegistry.createSecret | Set `true` to create a new private registry secret | -| privateRegistry.registryPasswd | Password used to authenticate to private registry | -| privateRegistry.registrySecret | If create a new private registry secret is true, create a Kubernetes secret with this name; else use the existing secret of this name. Use it to pull images from your private registry | -| privateRegistry.registryUrl | URL of private registry. Leave blank to apply system default registry | -| privateRegistry.registryUser | User used to authenticate to private registry | +| privateRegistry.createSecret | Setting that allows you to create a private registry secret. | +| privateRegistry.registryPasswd | Password for authenticating with a private registry. | +| privateRegistry.registrySecret | Kubernetes secret that allows you to pull images from a private registry. This setting applies only when creation of private registry secrets is enabled. You must include the private registry name in the secret name. | +| privateRegistry.registryUrl | URL of a private registry. When unspecified, Longhorn uses the default system registry. | +| privateRegistry.registryUser | User account used for authenticating with a private registry. | ### OS/Kubernetes Distro Settings -#### Opensift Settings +#### OpenShift Settings -Please also refer to this document [ocp-readme](https://github.com/longhorn/longhorn/blob/master/chart/ocp-readme.md) for more details +For more details, see the [ocp-readme](https://github.com/longhorn/longhorn/blob/master/chart/ocp-readme.md). | Key | Type | Default | Description | |-----|------|---------|-------------| -| openshift.enabled | bool | `false` | Enable when using openshift | -| openshift.ui.port | int | `443` | UI port in openshift environment | -| openshift.ui.proxy | int | `8443` | UI proxy in openshift environment | -| openshift.ui.route | string | `"longhorn-ui"` | UI route in openshift environment | +| openshift.enabled | bool | `false` | Setting that allows Longhorn to integrate with OpenShift. | +| openshift.ui.port | int | `443` | Port for accessing the OpenShift web console. | +| openshift.ui.proxy | int | `8443` | Port for proxy that provides access to the OpenShift web console. | +| openshift.ui.route | string | `"longhorn-ui"` | Route for connections between Longhorn and the OpenShift web console. | ### Other Settings | Key | Default | Description | |-----|---------|-------------| -| annotations | `{}` | Annotations to add to the Longhorn Manager DaemonSet Pods. Optional. | -| enableGoCoverDir | `false` | Enable this to allow Longhorn to generate code coverage profiles | -| enablePSP | `false` | For Kubernetes < v1.25, if your cluster enables Pod Security Policy admission controller, set this to `true` to ship a built-in longhorn-psp PodSecurityPolicy which allow privileged Longhorn pods to start | +| annotations | `{}` | Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. | +| enableGoCoverDir | `false` | Setting that allows Longhorn to generate code coverage profiles. | +| enablePSP | `false` | Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled. | | metrics.serviceMonitor.enabled | `false` | Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. | -| preUpgradeChecker.jobEnabled | `true` | Setting that allows Longhorn to perform pre-upgrade checks before starting the Longhorn Manager DaemonSet Pods. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. | -| preUpgradeChecker.upgradeVersionCheck | `true` | Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`, but it's not recommended to disable it. | +| preUpgradeChecker.jobEnabled | `true` | Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. | +| preUpgradeChecker.upgradeVersionCheck | `true` | Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled. | ### System Default Settings -For system default settings, you can first leave blank to use default values which will be applied when installing Longhorn. -You can then change them through UI after installation. -For more details like types or options, you can refer to **Settings Reference** in our official site [link](https://longhorn.io/docs) +During installation, you can either allow Longhorn to use the default system settings or use specific flags to modify the default values. After installation, you can modify the settings using the Longhorn UI. For more information, see the **Settings Reference** section of the [documentation](https://longhorn.io/docs). | Key | Description | |-----|-------------| -| defaultSettings.allowCollectingLonghornUsageMetrics | Enabling this setting will allow Longhorn to provide additional usage metrics to https://metrics.longhorn.io/. This information will help us better understand how Longhorn is being used, which will ultimately contribute to future improvements. | -| defaultSettings.allowEmptyDiskSelectorVolume | Allow Scheduling Empty Disk Selector Volumes To Any Disk | -| defaultSettings.allowEmptyNodeSelectorVolume | Allow Scheduling Empty Node Selector Volumes To Any Node | -| defaultSettings.allowRecurringJobWhileVolumeDetached | If this setting is enabled, Longhorn will automatically attach the volume and takes snapshot/backup when it is the time to do recurring snapshot/backup. | -| defaultSettings.allowVolumeCreationWithDegradedAvailability | This setting allows user to create and attach a volume that doesn't have all the replicas scheduled at the time of creation. | -| defaultSettings.autoCleanupRecurringJobBackupSnapshot | This setting enables Longhorn to automatically cleanup the snapshot generated by a recurring backup job. | -| defaultSettings.autoCleanupSystemGeneratedSnapshot | This setting enables Longhorn to automatically clean up the system-generated snapshot after replica rebuild is done. | -| defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly | If enabled, Longhorn will automatically delete the workload pod managed by a controller (e.g., Deployment, StatefulSet, DaemonSet, etc...) when Longhorn volume is detached unexpectedly (e.g., during Kubernetes upgrade, Docker reboot, or network disconnect). By deleting the pod, its controller restarts the pod and Kubernetes handles volume reattachment and remount. | -| defaultSettings.autoSalvage | 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. | -| defaultSettings.backingImageCleanupWaitInterval | This interval in minutes determines how long Longhorn will wait before cleaning up the backing image file when there is no replica in the disk using it. | -| defaultSettings.backingImageRecoveryWaitInterval | This interval in seconds determines how long Longhorn will wait before re-downloading the backing image file when all disk files of this backing image become failed or unknown. | -| defaultSettings.backupCompressionMethod | This setting allows users to specify backup compression method. | -| defaultSettings.backupConcurrentLimit | This setting controls how many worker threads per backup concurrently. | -| defaultSettings.backupTarget | The endpoint used to access the backupstore. Available: NFS, CIFS, AWS, GCP, AZURE. | -| defaultSettings.backupTargetCredentialSecret | The name of the Kubernetes secret associated with the backup target. | -| defaultSettings.backupstorePollInterval | In seconds. The backup store poll interval determines how often Longhorn checks the backup store for new backups. Set to 0 to disable the polling. By default, 300. | -| defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit | This setting controls how Longhorn automatically upgrades volumes' engines to the new default engine image after upgrading Longhorn manager. The value of this setting specifies the maximum number of engines per node that are allowed to upgrade to the default engine image at the same time. If the value is 0, Longhorn will not automatically upgrade volumes' engines to the default version of engine image. | -| defaultSettings.concurrentReplicaRebuildPerNodeLimit | This setting controls how many replicas on a node can be rebuilt simultaneously. | -| defaultSettings.concurrentVolumeBackupRestorePerNodeLimit | This setting controls how many volumes on a node can restore the backup concurrently. Set the value to **0** to disable backup restore. | -| defaultSettings.createDefaultDiskLabeledNodes | Create default Disk automatically only on Nodes with the label "node.longhorn.io/create-default-disk=true" if no other disks exist. If disabled, the default disk will be created on all new nodes when each node is first added. | -| defaultSettings.defaultDataLocality | Longhorn volume has data locality if there is a local replica of the volume on the same node as the pod which is using the volume. | -| defaultSettings.defaultDataPath | Default path to use for storing data on a host. By default, "/var/lib/longhorn/" | -| defaultSettings.defaultLonghornStaticStorageClass | The 'storageClassName' is given to PVs and PVCs that are created for an existing Longhorn volume. The StorageClass name can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. By default, 'longhorn-static'. | -| defaultSettings.defaultReplicaCount | The default number of replicas when a volume is created from the Longhorn UI. For Kubernetes configuration, update the `numberOfReplicas` in the StorageClass. By default, 3. | -| defaultSettings.deletingConfirmationFlag | This flag is designed to prevent Longhorn from being accidentally uninstalled which will lead to data lost. | -| defaultSettings.detachManuallyAttachedVolumesWhenCordoned | Automatically detach volumes that are attached manually when the node is cordoned. | -| defaultSettings.disableRevisionCounter | This setting is only for volumes created by UI. By default, this is false, meaning there will be a revision counter file to track every write to the volume. During salvage-recovering, Longhorn will pick the replica with the largest revision counter as a candidate to recover the whole volume. If the revision counter is disabled, Longhorn will not track every write to the volume. During the salvage recovering, Longhorn will use the 'volume-head-xxx.img' file last modification time and file size to pick the replica candidate to recover the whole volume. | -| defaultSettings.disableSchedulingOnCordonedNode | Disable Longhorn manager to schedule replica on Kubernetes cordoned node. By default, true. | -| defaultSettings.disableSnapshotPurge | Temporarily prevent all attempts to purge volume snapshots. | -| defaultSettings.engineReplicaTimeout | In seconds. The setting specifies the timeout between the engine and replica(s), and the value should be between 8 and 30 seconds. The default value is 8 seconds. | -| defaultSettings.failedBackupTTL | In minutes. This setting determines how long Longhorn will keep the backup resource that was failed. Set to 0 to disable the auto-deletion. | -| defaultSettings.fastReplicaRebuildEnabled | This feature supports the fast replica rebuilding. It relies on the checksum of snapshot disk files, so setting the snapshot-data-integrity to **enable** or **fast-check** is a prerequisite. | -| defaultSettings.guaranteedInstanceManagerCPU | Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is 12 percent. | +| defaultSettings.allowCollectingLonghornUsageMetrics | Setting that allows Longhorn to periodically collect anonymous usage data for product improvement purposes. Longhorn sends collected data to the [Upgrade Responder](https://github.com/longhorn/upgrade-responder) server, which is the data source of the Longhorn Public Metrics Dashboard (https://metrics.longhorn.io). The Upgrade Responder server does not store data that can be used to identify clients, including IP addresses. | +| defaultSettings.allowEmptyDiskSelectorVolume | Setting that allows scheduling of empty disk selector volumes to any disk. | +| defaultSettings.allowEmptyNodeSelectorVolume | Setting that allows scheduling of empty node selector volumes to any node. | +| defaultSettings.allowRecurringJobWhileVolumeDetached | Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run. | +| defaultSettings.allowVolumeCreationWithDegradedAvailability | Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation. | +| defaultSettings.autoCleanupRecurringJobBackupSnapshot | Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job. | +| defaultSettings.autoCleanupSystemGeneratedSnapshot | Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed. | +| defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly | Setting that allows Longhorn to automatically delete a workload pod that is managed by a controller (for example, daemonset) whenever a Longhorn volume is detached unexpectedly (for example, during Kubernetes upgrades). After deletion, the controller restarts the pod and then Kubernetes handles volume reattachment and remounting. | +| defaultSettings.autoSalvage | Setting that allows Longhorn to automatically salvage volumes when all replicas become faulty (for example, when the network connection is interrupted). Longhorn determines which replicas are usable and then uses these replicas for the volume. This setting is enabled by default. | +| defaultSettings.backingImageCleanupWaitInterval | Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it. | +| defaultSettings.backingImageRecoveryWaitInterval | Number of seconds that Longhorn waits before downloading a backing image file again when the status of all image disk files changes to "failed" or "unknown". | +| defaultSettings.backupCompressionMethod | Setting that allows you to specify a backup compression method. | +| defaultSettings.backupConcurrentLimit | Maximum number of worker threads that can concurrently run for each backup. | +| defaultSettings.backupTarget | Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE") | +| defaultSettings.backupTargetCredentialSecret | Name of the Kubernetes secret associated with the backup target. | +| defaultSettings.backupstorePollInterval | Number of seconds that Longhorn waits before checking the backupstore for new backups. The default value is "300". When the value is "0", polling is disabled. | +| defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit | Maximum number of engines that are allowed to concurrently upgrade on each node after Longhorn Manager is upgraded. When the value is "0", Longhorn does not automatically upgrade volume engines to the new default engine image version. | +| defaultSettings.concurrentReplicaRebuildPerNodeLimit | Maximum number of replicas that can be concurrently rebuilt on each node. | +| defaultSettings.concurrentVolumeBackupRestorePerNodeLimit | Maximum number of volumes that can be concurrently restored on each node using a backup. When the value is "0", restoration of volumes using a backup is disabled. | +| defaultSettings.createDefaultDiskLabeledNodes | Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster. | +| defaultSettings.defaultDataLocality | Default data locality. A Longhorn volume has data locality if a local replica of the volume exists on the same node as the pod that is using the volume. | +| defaultSettings.defaultDataPath | Default path for storing data on a host. The default value is "/var/lib/longhorn/". | +| defaultSettings.defaultLonghornStaticStorageClass | Default Longhorn StorageClass. "storageClassName" is assigned to PVs and PVCs that are created for an existing Longhorn volume. "storageClassName" can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. The default value is "longhorn-static". | +| defaultSettings.defaultReplicaCount | Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3". | +| defaultSettings.deletingConfirmationFlag | Flag that prevents accidental uninstallation of Longhorn. | +| defaultSettings.detachManuallyAttachedVolumesWhenCordoned | Setting that allows automatic detaching of manually-attached volumes when a node is cordoned. | +| defaultSettings.disableRevisionCounter | Setting that disables the revision counter and thereby prevents Longhorn from tracking all write operations to a volume. When salvaging a volume, Longhorn uses properties of the "volume-head-xxx.img" file (the last file size and the last time the file was modified) to select the replica to be used for volume recovery. This setting applies only to volumes created using the Longhorn UI. | +| defaultSettings.disableSchedulingOnCordonedNode | Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default. | +| defaultSettings.disableSnapshotPurge | Setting that temporarily prevents all attempts to purge volume snapshots. | +| defaultSettings.engineReplicaTimeout | Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8". | +| defaultSettings.failedBackupTTL | Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled. | +| defaultSettings.fastReplicaRebuildEnabled | Setting that allows fast rebuilding of replicas using the checksum of snapshot disk files. Before enabling this setting, you must set the snapshot-data-integrity value to "enable" or "fast-check". | +| defaultSettings.guaranteedInstanceManagerCPU | Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is "12". | | defaultSettings.kubernetesClusterAutoscalerEnabled | Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. | -| defaultSettings.logLevel | The log level Panic, Fatal, Error, Warn, Info, Debug, Trace used in longhorn manager. Default to Info. | -| defaultSettings.nodeDownPodDeletionPolicy | Defines the Longhorn action when a Volume is stuck with a StatefulSet/Deployment Pod on a node that is down. | -| defaultSettings.nodeDrainPolicy | Define the policy to use when a node with the last healthy replica of a volume is drained. | -| defaultSettings.offlineReplicaRebuilding | This setting allows users to enable the offline replica rebuilding for volumes using v2 data engine. | -| defaultSettings.orphanAutoDeletion | This setting allows Longhorn to delete the orphan resource and its corresponding orphaned data automatically like stale replicas. Orphan resources on down or unknown nodes will not be cleaned up automatically. | -| defaultSettings.priorityClass | priorityClass for Longhorn system-managed components This setting can help prevent Longhorn components from being evicted under Node Pressure. Notice that this will be applied to Longhorn user-deployed components by default if there are no priority class values set yet, such as `longhornManager.priorityClass`. | -| defaultSettings.recurringFailedJobsHistoryLimit | This setting specifies how many failed backup or snapshot job histories should be retained. History will not be retained if the value is 0. | +| defaultSettings.logLevel | Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace") | +| defaultSettings.nodeDownPodDeletionPolicy | Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed. | +| defaultSettings.nodeDrainPolicy | Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained. | +| defaultSettings.offlineReplicaRebuilding | Setting that allows rebuilding of offline replicas for volumes using the V2 Data Engine. | +| defaultSettings.orphanAutoDeletion | Setting that allows Longhorn to automatically delete an orphaned resource and the corresponding data (for example, stale replicas). Orphaned resources on failed or unknown nodes are not automatically cleaned up. | +| defaultSettings.priorityClass | PriorityClass for system-managed Longhorn components. This setting can help prevent Longhorn components from being evicted under Node Pressure. Notice that this will be applied to Longhorn user-deployed components by default if there are no priority class values set yet, such as `longhornManager.priorityClass`. | +| defaultSettings.recurringFailedJobsHistoryLimit | Maximum number of failed recurring backup and snapshot jobs to be retained. When the value is "0", a history of failed recurring jobs is not retained. | | defaultSettings.recurringJobMaxRetention | Maximum number of snapshots or backups to be retained. | -| defaultSettings.recurringSuccessfulJobsHistoryLimit | This setting specifies how many successful backup or snapshot job histories should be retained. History will not be retained if the value is 0. | -| defaultSettings.removeSnapshotsDuringFilesystemTrim | This setting allows Longhorn filesystem trim feature to automatically mark the latest snapshot and its ancestors as removed and stops at the snapshot containing multiple children. | -| defaultSettings.replicaAutoBalance | Enable this setting automatically re-balances replicas when discovered an available node. | -| defaultSettings.replicaDiskSoftAntiAffinity | Allow scheduling on disks with existing healthy replicas of the same volume. By default, true. | -| defaultSettings.replicaFileSyncHttpClientTimeout | In seconds. The setting specifies the HTTP client timeout to the file sync server. | -| defaultSettings.replicaReplenishmentWaitInterval | The interval in seconds determines how long Longhorn will at least wait to reuse the existing data on a failed replica rather than directly creating a new replica for a degraded volume. | -| defaultSettings.replicaSoftAntiAffinity | Allow scheduling on nodes with existing healthy replicas of the same volume. By default, false. | -| defaultSettings.replicaZoneSoftAntiAffinity | Allow scheduling new Replicas of Volume to the Nodes in the same Zone as existing healthy Replicas. Nodes don't belong to any Zone will be treated as in the same Zone. Notice that Longhorn relies on label `topology.kubernetes.io/zone=` in the Kubernetes node object to identify the zone. By default, true. | -| defaultSettings.restoreConcurrentLimit | This setting controls how many worker threads per restore concurrently. | -| defaultSettings.restoreVolumeRecurringJobs | Restore recurring jobs from the backup volume on the backup target and create recurring jobs if not exist during a backup restoration. | -| defaultSettings.snapshotDataIntegrity | This setting allows users to enable or disable snapshot hashing and data integrity checking. | -| defaultSettings.snapshotDataIntegrityCronjob | Unix-cron string format. The setting specifies when Longhorn checks the data integrity of snapshot disk files. | -| defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation | Hashing snapshot disk files impacts the performance of the system. The immediate snapshot hashing and checking can be disabled to minimize the impact after creating a snapshot. | -| defaultSettings.storageMinimalAvailablePercentage | If the minimum available disk capacity exceeds the actual percentage of available disk capacity, the disk becomes unschedulable until more space is freed up. By default, 25. | -| defaultSettings.storageNetwork | Longhorn uses the storage network for in-cluster data traffic. Leave this blank to use the Kubernetes cluster network. | -| defaultSettings.storageOverProvisioningPercentage | Percentage of storage that can be allocated relative to hard drive capacity. The default value is 100. | -| defaultSettings.storageReservedPercentageForDefaultDisk | The reserved percentage specifies the percentage of disk space that will not be allocated to the default disk on each new Longhorn node. | -| defaultSettings.supportBundleFailedHistoryLimit | This setting specifies how many failed support bundles can exist in the cluster. Set this value to **0** to have Longhorn automatically purge all failed support bundles. | -| defaultSettings.systemManagedComponentsNodeSelector | nodeSelector for Longhorn system-managed components | -| defaultSettings.systemManagedPodsImagePullPolicy | This setting defines the Image Pull Policy of Longhorn system managed pod. E.g. instance manager, engine image, CSI driver, etc. The new Image Pull Policy will only apply after the system-managed pods restart. | -| defaultSettings.taintToleration | taintToleration for Longhorn system-managed components | -| defaultSettings.upgradeChecker | Upgrade Checker will check for a new Longhorn version periodically. When there is a new version available, a notification will appear in the UI. By default, true. | -| defaultSettings.v1DataEngine | Setting that allows you to enable the V1 Data Engine. This setting is enabled by default. | +| defaultSettings.recurringSuccessfulJobsHistoryLimit | Maximum number of successful recurring backup and snapshot jobs to be retained. When the value is "0", a history of successful recurring jobs is not retained. | +| defaultSettings.removeSnapshotsDuringFilesystemTrim | Setting that allows Longhorn to automatically mark the latest snapshot and its parent files as removed during a filesystem trim. Longhorn does not remove snapshots containing multiple child files. | +| defaultSettings.replicaAutoBalance | Setting that automatically rebalances replicas when an available node is discovered. | +| defaultSettings.replicaDiskSoftAntiAffinity | Setting that allows scheduling on disks with existing healthy replicas of the same volume. This setting is enabled by default. | +| defaultSettings.replicaFileSyncHttpClientTimeout | Number of seconds that an HTTP client waits for a response from a File Sync server before considering the connection to have failed. | +| defaultSettings.replicaReplenishmentWaitInterval | Number of seconds that Longhorn waits before reusing existing data on a failed replica instead of creating a new replica of a degraded volume. | +| defaultSettings.replicaSoftAntiAffinity | Setting that allows scheduling on nodes with healthy replicas of the same volume. This setting is disabled by default. | +| defaultSettings.replicaZoneSoftAntiAffinity | Setting that allows Longhorn to schedule new replicas of a volume to nodes in the same zone as existing healthy replicas. Nodes that do not belong to any zone are treated as existing in the zone that contains healthy replicas. When identifying zones, Longhorn relies on the label "topology.kubernetes.io/zone=" in the Kubernetes node object. | +| defaultSettings.restoreConcurrentLimit | Maximum number of worker threads that can concurrently run for each restore operation. | +| defaultSettings.restoreVolumeRecurringJobs | Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration. | +| defaultSettings.snapshotDataIntegrity | Setting that allows you to enable and disable snapshot hashing and data integrity checks. | +| defaultSettings.snapshotDataIntegrityCronjob | Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format. | +| defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation | Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance. | +| defaultSettings.storageMinimalAvailablePercentage | Percentage of minimum available disk capacity. When the minimum available capacity exceeds the total available capacity, the disk becomes unschedulable until more space is made available for use. The default value is "25". | +| defaultSettings.storageNetwork | Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network. | +| defaultSettings.storageOverProvisioningPercentage | Percentage of storage that can be allocated relative to hard drive capacity. The default value is "100". | +| defaultSettings.storageReservedPercentageForDefaultDisk | Percentage of disk space that is not allocated to the default disk on each new Longhorn node. | +| defaultSettings.supportBundleFailedHistoryLimit | Maximum number of failed support bundles that can exist in the cluster. When the value is "0", Longhorn automatically purges all failed support bundles. | +| defaultSettings.systemManagedComponentsNodeSelector | Node selector for system-managed Longhorn components. | +| defaultSettings.systemManagedPodsImagePullPolicy | Image pull policy for system-managed pods, such as Instance Manager, engine images, and CSI Driver. Changes to the image pull policy are applied only after the system-managed pods restart. | +| defaultSettings.taintToleration | Taint or toleration for system-managed Longhorn components. | +| defaultSettings.upgradeChecker | Upgrade Checker that periodically checks for new Longhorn versions. When a new version is available, a notification appears on the Longhorn UI. This setting is enabled by default | +| defaultSettings.v1DataEngine | Setting that allows you to enable the V1 Data Engine. | | defaultSettings.v2DataEngine | Setting that allows you to enable the V2 Data Engine, which is based on the Storage Performance Development Kit (SPDK). The V2 Data Engine is a preview feature and should not be used in production environments. | -| defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU | Number of millicpus on each node to be reserved for each instance manager pod when the V2 Data Engine is enabled. The default value is 1250 millicpus. | +| defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU | Number of millicpus on each node to be reserved for each Instance Manager pod when the V2 Data Engine is enabled. The default value is "1250". | +| defaultSettings.v2DataEngineHugepageLimit | Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. | --- Please see [link](https://github.com/longhorn/longhorn) for more information. diff --git a/chart/README.md.gotmpl b/chart/README.md.gotmpl index 1fa01f5bb6..f199a2ae13 100644 --- a/chart/README.md.gotmpl +++ b/chart/README.md.gotmpl @@ -131,8 +131,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. ### Longhorn Manager Settings -Longhorn system contains user deployed components (e.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (e.g, instance manager, engine image, CSI driver, etc.). -These settings only apply to Longhorn manager component. +Longhorn consists of user-deployed components (for example, Longhorn Manager, Longhorn Driver, and Longhorn UI) and system-managed components (for example, Instance Manager, Backing Image Manager, Share Manager, CSI Driver, and Engine Image). The following settings only apply to Longhorn Manager. | Key | Type | Default | Description | |-----|------|---------|-------------| @@ -144,8 +143,7 @@ These settings only apply to Longhorn manager component. ### Longhorn Driver Settings -Longhorn system contains user deployed components (e.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (e.g, instance manager, engine image, CSI driver, etc.). -These settings only apply to Longhorn driver component. +Longhorn consists of user-deployed components (for example, Longhorn Manager, Longhorn Driver, and Longhorn UI) and system-managed components (for example, Instance Manager, Backing Image Manager, Share Manager, CSI Driver, and Engine Image). The following settings only apply to Longhorn Driver. | Key | Type | Default | Description | |-----|------|---------|-------------| @@ -157,8 +155,7 @@ These settings only apply to Longhorn driver component. ### Longhorn UI Settings -Longhorn system contains user deployed components (e.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (e.g, instance manager, engine image, CSI driver, etc.). -These settings only apply to Longhorn UI component. +Longhorn consists of user-deployed components (for example, Longhorn Manager, Longhorn Driver, and Longhorn UI) and system-managed components (for example, Instance Manager, Backing Image Manager, Share Manager, CSI Driver, and Engine Image). The following settings only apply to Longhorn UI. | Key | Type | Default | Description | |-----|------|---------|-------------| @@ -180,7 +177,7 @@ These settings only apply to Longhorn UI component. ### Private Registry Settings -Longhorn can be installed in an air gapped environment with private registry settings. Please refer to **Air Gap Installation** in our official site [link](https://longhorn.io/docs) +You can install Longhorn in an air-gapped environment with a private registry. For more information, see the **Air Gap Installation** section of the [documentation](https://longhorn.io/docs). | Key | Description | |-----|-------------| @@ -192,9 +189,9 @@ Longhorn can be installed in an air gapped environment with private registry set ### OS/Kubernetes Distro Settings -#### Opensift Settings +#### OpenShift Settings -Please also refer to this document [ocp-readme](https://github.com/longhorn/longhorn/blob/master/chart/ocp-readme.md) for more details +For more details, see the [ocp-readme](https://github.com/longhorn/longhorn/blob/master/chart/ocp-readme.md). | Key | Type | Default | Description | |-----|------|---------|-------------| @@ -228,9 +225,7 @@ Please also refer to this document [ocp-readme](https://github.com/longhorn/long ### System Default Settings -For system default settings, you can first leave blank to use default values which will be applied when installing Longhorn. -You can then change them through UI after installation. -For more details like types or options, you can refer to **Settings Reference** in our official site [link](https://longhorn.io/docs) +During installation, you can either allow Longhorn to use the default system settings or use specific flags to modify the default values. After installation, you can modify the settings using the Longhorn UI. For more information, see the **Settings Reference** section of the [documentation](https://longhorn.io/docs). | Key | Description | |-----|-------------| diff --git a/chart/questions.yaml b/chart/questions.yaml index cb93b06699..a2ddefad1f 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -12,175 +12,205 @@ questions: subquestions: - variable: image.longhorn.manager.repository default: longhornio/longhorn-manager - description: "Specify Longhorn Manager Image Repository" + description: "Repository for the Longhorn Manager image." type: string label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag +<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Manager Image Tag" +======= + default: master-head + description: "Tag for the Longhorn Manager image." +>>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Manager Image Tag group: "Longhorn Images Settings" - variable: image.longhorn.engine.repository default: longhornio/longhorn-engine - description: "Specify Longhorn Engine Image Repository" + description: "Repository for the Longhorn Engine image." type: string label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag +<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Engine Image Tag" +======= + default: master-head + description: "Tag for the Longhorn Engine image." +>>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Engine Image Tag group: "Longhorn Images Settings" - variable: image.longhorn.ui.repository default: longhornio/longhorn-ui - description: "Specify Longhorn UI Image Repository" + description: "Repository for the Longhorn UI image." type: string label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag +<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn UI Image Tag" +======= + default: master-head + description: "Tag for the Longhorn UI image." +>>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn UI Image Tag group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.repository default: longhornio/longhorn-instance-manager - description: "Specify Longhorn Instance Manager Image Repository" + description: "Repository for the Longhorn Instance Manager image." type: string label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag +<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Instance Manager Image Tag" +======= + default: v2_20221123 + description: "Tag for the Longhorn Instance Manager image." +>>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Instance Manager Image Tag group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.repository default: longhornio/longhorn-share-manager - description: "Specify Longhorn Share Manager Image Repository" + description: "Repository for the Longhorn Share Manager image." type: string label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag +<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Share Manager Image Tag" +======= + default: v1_20220914 + description: "Tag for the Longhorn Share Manager image." +>>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Share Manager Image Tag group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.repository default: longhornio/backing-image-manager - description: "Specify Longhorn Backing Image Manager Image Repository" + description: "Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value." type: string label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag +<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Backing Image Manager Image Tag" +======= + default: v3_20220808 + description: "Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value." +>>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Backing Image Manager Image Tag group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.repository default: longhornio/support-bundle-kit - description: "Specify Longhorn Support Bundle Manager Image Repository" + description: "Repository for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag default: v0.0.33 - description: "Specify Longhorn Support Bundle Manager Image Tag" + description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag group: "Longhorn Images Settings" - variable: image.csi.attacher.repository default: longhornio/csi-attacher - description: "Specify CSI attacher image repository. Leave blank to autodetect." + description: "Repository for the CSI attacher image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Attacher Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.attacher.tag default: v4.4.2 - description: "Specify CSI attacher image tag. Leave blank to autodetect." + description: "Tag for the CSI attacher image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Attacher Image Tag group: "Longhorn CSI Driver Images" - variable: image.csi.provisioner.repository default: longhornio/csi-provisioner - description: "Specify CSI provisioner image repository. Leave blank to autodetect." + description: "Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Provisioner Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.provisioner.tag default: v3.6.2 - description: "Specify CSI provisioner image tag. Leave blank to autodetect." + description: "Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Provisioner Image Tag group: "Longhorn CSI Driver Images" - variable: image.csi.nodeDriverRegistrar.repository default: longhornio/csi-node-driver-registrar - description: "Specify CSI Node Driver Registrar image repository. Leave blank to autodetect." + description: "Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Node Driver Registrar Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.nodeDriverRegistrar.tag default: v2.9.2 - description: "Specify CSI Node Driver Registrar image tag. Leave blank to autodetect." + description: "Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Node Driver Registrar Image Tag group: "Longhorn CSI Driver Images" - variable: image.csi.resizer.repository default: longhornio/csi-resizer - description: "Specify CSI Driver Resizer image repository. Leave blank to autodetect." + description: "Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Resizer Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.resizer.tag default: v1.9.2 - description: "Specify CSI Driver Resizer image tag. Leave blank to autodetect." + description: "Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Resizer Image Tag group: "Longhorn CSI Driver Images" - variable: image.csi.snapshotter.repository default: longhornio/csi-snapshotter - description: "Specify CSI Driver Snapshotter image repository. Leave blank to autodetect." + description: "Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Snapshotter Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.snapshotter.tag default: v6.3.2 - description: "Specify CSI Driver Snapshotter image tag. Leave blank to autodetect." + description: "Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Snapshotter Image Tag group: "Longhorn CSI Driver Images" - variable: image.csi.livenessProbe.repository default: longhornio/livenessprobe - description: "Specify CSI liveness probe image repository. Leave blank to autodetect." + description: "Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Liveness Probe Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.livenessProbe.tag default: v2.11.0 - description: "Specify CSI liveness probe image tag. Leave blank to autodetect." + description: "Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Liveness Probe Image Tag group: "Longhorn CSI Driver Images" - variable: privateRegistry.registryUrl label: Private registry URL - description: "URL of private registry. Leave blank to apply system default registry." + description: "URL of a private registry. When unspecified, Longhorn uses the default system registry." group: "Private Registry Settings" type: string default: "" - variable: privateRegistry.registrySecret label: Private registry secret name - description: "If create a new private registry secret is true, create a Kubernetes secret with this name; else use the existing secret of this name. Use it to pull images from your private registry." + description: "Kubernetes secret that allows you to pull images from a private registry. This setting applies only when creation of private registry secrets is enabled. You must include the private registry name in the secret name." group: "Private Registry Settings" type: string default: "" - variable: privateRegistry.createSecret default: "true" - description: "Create a new private registry secret" + description: "Setting that allows you to create a private registry secret." type: boolean group: "Private Registry Settings" label: Create Secret for Private Registry Settings @@ -188,12 +218,12 @@ questions: subquestions: - variable: privateRegistry.registryUser label: Private registry user - description: "User used to authenticate to private registry." + description: "User account used for authenticating with a private registry." type: string default: "" - variable: privateRegistry.registryPasswd label: Private registry password - description: "Password used to authenticate to private registry." + description: "Password for authenticating with a private registry." type: password default: "" - variable: longhorn.default_setting @@ -206,7 +236,7 @@ questions: subquestions: - variable: csi.kubeletRootDir default: - description: "Specify kubelet root-dir. Leave blank to autodetect." + description: "kubelet root directory. When unspecified, Longhorn uses the default value." type: string label: Kubelet Root Directory group: "Longhorn CSI Driver Settings" @@ -215,7 +245,7 @@ questions: default: 3 min: 1 max: 10 - description: "Specify replica count of CSI Attacher. By default 3." + description: "Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3")." label: Longhorn CSI Attacher replica count group: "Longhorn CSI Driver Settings" - variable: csi.provisionerReplicaCount @@ -223,7 +253,7 @@ questions: default: 3 min: 1 max: 10 - description: "Specify replica count of CSI Provisioner. By default 3." + description: "Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3")." label: Longhorn CSI Provisioner replica count group: "Longhorn CSI Driver Settings" - variable: csi.resizerReplicaCount @@ -231,7 +261,7 @@ questions: default: 3 min: 1 max: 10 - description: "Specify replica count of CSI Resizer. By default 3." + description: "Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3")." label: Longhorn CSI Resizer replica count group: "Longhorn CSI Driver Settings" - variable: csi.snapshotterReplicaCount @@ -239,42 +269,42 @@ questions: default: 3 min: 1 max: 10 - description: "Specify replica count of CSI Snapshotter. By default 3." + description: "Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3")." label: Longhorn CSI Snapshotter replica count group: "Longhorn CSI Driver Settings" - variable: defaultSettings.backupTarget label: Backup Target - description: "The endpoint used to access the backupstore. Available: NFS, CIFS, AWS, GCP, AZURE" + description: "Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")" group: "Longhorn Default Settings" type: string default: - variable: defaultSettings.backupTargetCredentialSecret label: Backup Target Credential Secret - description: "The name of the Kubernetes secret associated with the backup target." + description: "Name of the Kubernetes secret associated with the backup target." group: "Longhorn Default Settings" type: string default: - variable: defaultSettings.allowRecurringJobWhileVolumeDetached label: Allow Recurring Job While Volume Is Detached - description: 'If this setting is enabled, Longhorn will automatically attach the volume and takes snapshot/backup when it is the time to do recurring snapshot/backup.' + description: 'Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run.' group: "Longhorn Default Settings" type: boolean default: "false" - variable: defaultSettings.createDefaultDiskLabeledNodes label: Create Default Disk on Labeled Nodes - description: 'Create default Disk automatically only on Nodes with the label "node.longhorn.io/create-default-disk=true" if no other disks exist. If disabled, the default disk will be created on all new nodes when each node is first added.' + description: 'Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster.' group: "Longhorn Default Settings" type: boolean default: "false" - variable: defaultSettings.defaultDataPath label: Default Data Path - description: 'Default path to use for storing data on a host. By default, "/var/lib/longhorn/"' + description: 'Default path for storing data on a host. The default value is "/var/lib/longhorn/".' group: "Longhorn Default Settings" type: string default: "/var/lib/longhorn/" - variable: defaultSettings.defaultDataLocality label: Default Data Locality - description: 'Longhorn volume has data locality if there is a local replica of the volume on the same node as the pod which is using the volume.' + description: 'Default data locality. A Longhorn volume has data locality if a local replica of the volume exists on the same node as the pod that is using the volume.' group: "Longhorn Default Settings" type: enum options: @@ -322,13 +352,13 @@ questions: default: 30 - variable: defaultSettings.upgradeChecker label: Enable Upgrade Checker - description: 'Upgrade Checker will check for a new Longhorn version periodically. When there is a new version available, a notification will appear in the UI. By default, true.' + description: 'Upgrade Checker that periodically checks for new Longhorn versions. When a new version is available, a notification appears on the Longhorn UI. This setting is enabled by default.' group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.defaultReplicaCount label: Default Replica Count - description: "The default number of replicas when a volume is created from the Longhorn UI. For Kubernetes configuration, update the `numberOfReplicas` in the StorageClass. By default, 3." + description: "Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3"." group: "Longhorn Default Settings" type: int min: 1 @@ -336,20 +366,20 @@ questions: default: 3 - variable: defaultSettings.defaultLonghornStaticStorageClass label: Default Longhorn Static StorageClass Name - description: "The 'storageClassName' is given to PVs and PVCs that are created for an existing Longhorn volume. The StorageClass name can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. By default, 'longhorn-static'." + description: "Default Longhorn StorageClass. "storageClassName" is assigned to PVs and PVCs that are created for an existing Longhorn volume. "storageClassName" can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. The default value is "longhorn-static"." group: "Longhorn Default Settings" type: string default: "longhorn-static" - variable: defaultSettings.backupstorePollInterval label: Backupstore Poll Interval - description: "In seconds. The backup store poll interval determines how often Longhorn checks the backup store for new backups. Set to 0 to disable the polling. By default, 300." + description: "Number of seconds that Longhorn waits before checking the backupstore for new backups. The default value is "300". When the value is "0", polling is disabled." group: "Longhorn Default Settings" type: int min: 0 default: 300 - variable: defaultSettings.failedBackupTTL label: Failed Backup Time to Live - description: "In minutes. This setting determines how long Longhorn will keep the backup resource that was failed. Set to 0 to disable the auto-deletion." + description: "Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled." group: "Longhorn Default Settings" type: int min: 0 @@ -369,7 +399,7 @@ questions: default: 1 - variable: defaultSettings.recurringFailedJobsHistoryLimit label: Cronjob Failed Jobs History Limit - description: "This setting specifies how many failed backup or snapshot job histories should be retained. History will not be retained if the value is 0." + description: 'Maximum number of failed recurring backup and snapshot jobs to be retained. When the value is "0", a history of failed recurring jobs is not retained.' group: "Longhorn Default Settings" type: int min: 0 @@ -389,19 +419,19 @@ questions: default: 1 - 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." + description: "Setting that allows Longhorn to automatically salvage volumes when all replicas become faulty (for example, when the network connection is interrupted). Longhorn determines which replicas are usable and then uses these replicas for the volume. This setting is enabled by default." group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly label: Automatically Delete Workload Pod when The Volume Is Detached Unexpectedly - description: 'If enabled, Longhorn will automatically delete the workload pod managed by a controller (e.g. Deployment, Statefulset, Daemonset, etc...) when Longhorn volume is detached unexpectedly (e.g., during Kubernetes upgrade, Docker reboot, or network disconnect). By deleting the pod, its controller restarts the pod and Kubernetes handles volume reattachment and remount.' + description: 'Setting that allows Longhorn to automatically delete a workload pod that is managed by a controller (for example, daemonset) whenever a Longhorn volume is detached unexpectedly (for example, during Kubernetes upgrades). After deletion, the controller restarts the pod and then Kubernetes handles volume reattachment and remounting.' group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.disableSchedulingOnCordonedNode label: Disable Scheduling On Cordoned Node - description: "Disable Longhorn manager to schedule replica on Kubernetes cordoned node. By default, true." + description: "Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default." group: "Longhorn Default Settings" type: boolean default: "true" @@ -419,19 +449,19 @@ questions: default: "true" - variable: defaultSettings.allowEmptyNodeSelectorVolume label: Allow Empty Node Selector Volume - description: "Allow Scheduling Empty Node Selector Volumes To Any Node" + description: "Setting that allows scheduling of empty node selector volumes to any node." group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.allowEmptyDiskSelectorVolume label: Allow Empty Disk Selector Volume - description: "Allow Scheduling Empty Disk Selector Volumes To Any Disk" + description: "Setting that allows scheduling of empty disk selector volumes to any disk." group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.nodeDownPodDeletionPolicy label: Pod Deletion Policy When Node is Down - description: "Defines the Longhorn action when a Volume is stuck with a StatefulSet/Deployment Pod on a node that is down." + description: "Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed." group: "Longhorn Default Settings" type: enum options: @@ -442,7 +472,7 @@ questions: default: "do-nothing" - variable: defaultSettings.nodeDrainPolicy label: Node Drain Policy - description: "Define the policy to use when a node with the last healthy replica of a volume is drained." + description: "Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained." group: "Longhorn Default Settings" type: enum options: @@ -454,13 +484,13 @@ questions: default: "block-if-contains-last-replica" - variable: defaultSettings.detachManuallyAttachedVolumesWhenCordoned label: Detach Manually Attached Volumes When Cordoned - description: "Automatically detach volumes that are attached manually when the node is cordoned." + description: "Setting that allows automatic detaching of manually-attached volumes when a node is cordoned." group: "Longhorn Default Settings" type: boolean default: "false" - variable: defaultSettings.priorityClass label: Priority Class - description: "The name of the Priority Class to set on the Longhorn components. This setting can help prevent Longhorn components from being evicted under Node Pressure. Longhorn system contains user deployed components (E.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (E.g, instance manager, engine image, CSI driver, etc.) Note that this will be applied to Longhorn user-deployed components by default if there are no priority class values set yet, such as `longhornManager.priorityClass`. WARNING: DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES." + description: "PriorityClass for system-managed Longhorn components. This setting can help prevent Longhorn components from being evicted under Node Pressure. Longhorn system contains user deployed components (E.g, Longhorn manager, Longhorn driver, Longhorn UI) and system managed components (E.g, instance manager, engine image, CSI driver, etc.) Note that this will be applied to Longhorn user-deployed components by default if there are no priority class values set yet, such as `longhornManager.priorityClass`. WARNING: DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES." group: "Longhorn Default Settings" type: string default: "longhorn-critical" @@ -473,7 +503,7 @@ questions: default: 600 - variable: defaultSettings.concurrentReplicaRebuildPerNodeLimit label: Concurrent Replica Rebuild Per Node Limit - description: "This setting controls how many replicas on a node can be rebuilt simultaneously. + description: "Maximum number of replicas that can be concurrently rebuilt on each node. WARNING: - The old setting "Disable Replica Rebuild" is replaced by this setting. - Different from relying on replica starting delay to limit the concurrent rebuilding, if the rebuilding is disabled, replica object replenishment will be directly skipped. @@ -484,20 +514,20 @@ questions: default: 5 - variable: defaultSettings.concurrentVolumeBackupRestorePerNodeLimit label: Concurrent Volume Backup Restore Per Node Limit - description: "This setting controls how many volumes on a node can restore the backup concurrently. Set the value to **0** to disable backup restore." + description: "Maximum number of volumes that can be concurrently restored on each node using a backup. When the value is "0", restoration of volumes using a backup is disabled." group: "Longhorn Default Settings" type: int min: 0 default: 5 - variable: defaultSettings.disableRevisionCounter label: Disable Revision Counter - description: "This setting is only for volumes created by UI. By default, this is false, meaning there will be a revision counter file to track every write to the volume. During salvage-recovering, Longhorn will pick the replica with the largest revision counter as a candidate to recover the whole volume. If the revision counter is disabled, Longhorn will not track every write to the volume. During the salvage recovering, Longhorn will use the 'volume-head-xxx.img' file last modification time and file size to pick the replica candidate to recover the whole volume." + description: "Setting that disables the revision counter and thereby prevents Longhorn from tracking all write operations to a volume. When salvaging a volume, Longhorn uses properties of the "volume-head-xxx.img" file (the last file size and the last time the file was modified) to select the replica to be used for volume recovery. This setting applies only to volumes created using the Longhorn UI." group: "Longhorn Default Settings" type: boolean default: "false" - variable: defaultSettings.systemManagedPodsImagePullPolicy label: System Managed Pod Image Pull Policy - description: "This setting defines the Image Pull Policy of Longhorn system-managed pods, E.g. instance manager, engine image, CSI driver, etc. The new Image Pull Policy will only apply after the system-managed pods restart." + description: "Image pull policy for system-managed pods, such as Instance Manager, engine images, and CSI Driver. Changes to the image pull policy are applied only after the system-managed pods restart." group: "Longhorn Default Settings" type: enum options: @@ -507,46 +537,46 @@ questions: default: "if-not-present" - variable: defaultSettings.allowVolumeCreationWithDegradedAvailability label: Allow Volume Creation with Degraded Availability - description: "This setting allows user to create and attach a volume that doesn't have all the replicas scheduled at the time of creation." + description: "Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation." group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.autoCleanupSystemGeneratedSnapshot label: Automatically Cleanup System Generated Snapshot - description: "This setting enables Longhorn to automatically clean up the system-generated snapshot after replica rebuild is done." + description: "Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed." group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.autoCleanupRecurringJobBackupSnapshot label: Automatically Cleanup Recurring Job Backup Snapshot - description: "This setting enables Longhorn to automatically cleanup the snapshot generated by a recurring backup job." + description: "Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job." group: "Longhorn Default Settings" type: boolean default: "true" - variable: defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit label: Concurrent Automatic Engine Upgrade Per Node Limit - description: "This setting controls how Longhorn automatically upgrades volumes' engines to the new default engine image after upgrading Longhorn manager. The value of this setting specifies the maximum number of engines per node that are allowed to upgrade to the default engine image at the same time. If the value is 0, Longhorn will not automatically upgrade volumes' engines to the default version of engine image." + description: "Maximum number of engines that are allowed to concurrently upgrade on each node after Longhorn Manager is upgraded. When the value is "0", Longhorn does not automatically upgrade volume engines to the new default engine image version." group: "Longhorn Default Settings" type: int min: 0 default: 0 - variable: defaultSettings.backingImageCleanupWaitInterval label: Backing Image Cleanup Wait Interval - description: "This interval in minutes determines how long Longhorn will wait before cleaning up the backing image file when there is no replica in the disk using it." + description: "Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it." group: "Longhorn Default Settings" type: int min: 0 default: 60 - variable: defaultSettings.backingImageRecoveryWaitInterval label: Backing Image Recovery Wait Interval - description: "This interval in seconds determines how long Longhorn will wait before re-downloading the backing image file when all disk files of this backing image become failed or unknown." + description: "Number of seconds that Longhorn waits before downloading a backing image file again when the status of all image disk files changes to "failed" or "unknown"." group: "Longhorn Default Settings" type: int min: 0 default: 300 - variable: defaultSettings.guaranteedInstanceManagerCPU label: Guaranteed Instance Manager CPU - description: "Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is 12 percent. + description: "Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is "12". WARNING: - Value 0 means removing the CPU requests from spec of instance manager pods. - Considering the possible number of new instance manager pods in a further system upgrade, this integer value ranges from 0 to 40. @@ -560,13 +590,13 @@ questions: default: 12 - variable: defaultSettings.logLevel label: Log Level - description: "The log level Panic, Fatal, Error, Warn, Info, Debug, Trace used in longhorn manager. Default to Info." + description: 'Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace")' group: "Longhorn Default Settings" type: string default: "Info" - variable: defaultSettings.disableSnapshotPurge label: Disable Snapshot Purge - description: "Temporarily prevent all attempts to purge volume snapshots." + description: "Setting that temporarily prevents all attempts to purge volume snapshots." group: "Longhorn Default Settings" type: boolean default: "false" @@ -580,7 +610,7 @@ questions: default: false - variable: defaultSettings.orphanAutoDeletion label: Orphaned Data Cleanup - description: "This setting allows Longhorn to delete the orphan resource and its corresponding orphaned data automatically like stale replicas. Orphan resources on down or unknown nodes will not be cleaned up automatically." + description: "Setting that allows Longhorn to automatically delete an orphaned resource and the corresponding data (for example, stale replicas). Orphaned resources on failed or unknown nodes are not automatically cleaned up." group: "Longhorn Default Settings" type: boolean default: false @@ -594,13 +624,13 @@ questions: default: - variable: defaultSettings.deletingConfirmationFlag label: Deleting Confirmation Flag - description: "This flag is designed to prevent Longhorn from being accidentally uninstalled which will lead to data lost." + description: "Flag that prevents accidental uninstallation of Longhorn." group: "Longhorn Default Settings" type: boolean default: "false" - variable: defaultSettings.engineReplicaTimeout label: Timeout between Engine and Replica - description: "In seconds. The setting specifies the timeout between the engine and replica(s), and the value should be between 8 and 30 seconds. The default value is 8 seconds." + description: "Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8"." group: "Longhorn Default Settings" type: int default: "8" @@ -630,7 +660,7 @@ questions: default: "false" - variable: defaultSettings.fastReplicaRebuildEnabled label: Fast Replica Rebuild Enabled - description: "This feature supports the fast replica rebuilding. It relies on the checksum of snapshot disk files, so setting the snapshot-data-integrity to **enable** or **fast-check** is a prerequisite." + description: "Setting that allows fast rebuilding of replicas using the checksum of snapshot disk files. Before enabling this setting, you must set the snapshot-data-integrity value to "enable" or "fast-check"." group: "Longhorn Default Settings" type: boolean default: false @@ -642,13 +672,13 @@ questions: default: "30" - variable: defaultSettings.backupCompressionMethod label: Backup Compression Method - description: "This setting allows users to specify backup compression method." + description: "Setting that allows you to specify a backup compression method." group: "Longhorn Default Settings" type: string default: "lz4" - variable: defaultSettings.backupConcurrentLimit label: Backup Concurrent Limit Per Backup - description: "This setting controls how many worker threads per backup concurrently." + description: "Maximum number of worker threads that can concurrently run for each backup." group: "Longhorn Default Settings" type: int min: 1 @@ -662,7 +692,7 @@ questions: default: 2 - variable: defaultSettings.allowCollectingLonghornUsageMetrics label: Allow Collecting Longhorn Usage Metrics - description: "Enabling this setting will allow Longhorn to provide additional usage metrics to https://metrics.longhorn.io/. This information will help us better understand how Longhorn is being used, which will ultimately contribute to future improvements." + description: "Setting that allows Longhorn to periodically collect anonymous usage data for product improvement purposes. Longhorn sends collected data to the [Upgrade Responder](https://github.com/longhorn/upgrade-responder) server, which is the data source of the Longhorn Public Metrics Dashboard (https://metrics.longhorn.io). The Upgrade Responder server does not store data that can be used to identify clients, including IP addresses." group: "Longhorn Default Settings" type: boolean default: true @@ -674,7 +704,7 @@ questions: default: true - variable: defaultSettings.v2DataEngine label: V2 Data Engine - description: "This allows users to activate v2 data engine based on SPDK. Currently, it is in the preview phase and should not be utilized in a production environment. + description: "Setting that allows you to enable the V2 Data Engine, which is based on the Storage Performance Development Kit (SPDK). The V2 Data Engine is a preview feature and should not be used in production environments. WARNING: - DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES. Longhorn will block this setting update when there are attached volumes. - When the V2 Data Engine is enabled, each instance-manager pod utilizes 1 CPU core. This high CPU usage is attributed to the spdk_tgt process running within each instance-manager pod. The spdk_tgt process is responsible for handling input/output (IO) operations and requires intensive polling. As a result, it consumes 100% of a dedicated CPU core to efficiently manage and process the IO requests, ensuring optimal performance and responsiveness for storage operations." @@ -689,7 +719,7 @@ questions: default: "2048" - variable: defaultSettings.offlineReplicaRebuilding label: Offline Replica Rebuilding - description: "This setting allows users to enable the offline replica rebuilding for volumes using v2 data engine." + description: "Setting that allows rebuilding of offline replicas for volumes using the V2 Data Engine." group: "Longhorn V2 Data Engine (Preview Feature) Settings" required: true type: enum @@ -699,14 +729,14 @@ questions: default: "enabled" - variable: persistence.defaultClass default: "true" - description: "Set as default StorageClass for Longhorn" + description: "Setting that allows you to specify the default Longhorn StorageClass." label: Default Storage Class group: "Longhorn Storage Class Settings" required: true type: boolean - variable: persistence.reclaimPolicy label: Storage Class Retain Policy - description: "Define reclaim policy. Options: `Retain`, `Delete`" + description: "Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete")" group: "Longhorn Storage Class Settings" required: true type: enum @@ -715,7 +745,7 @@ questions: - "Retain" default: "Delete" - variable: persistence.defaultClassReplicaCount - description: "Set replica count for Longhorn StorageClass" + description: "Replica count of the default Longhorn StorageClass." label: Default Storage Class Replica Count group: "Longhorn Storage Class Settings" type: int @@ -723,7 +753,7 @@ questions: max: 10 default: 3 - variable: persistence.defaultDataLocality - description: "Set data locality for Longhorn StorageClass. Options: `disabled`, `best-effort`" + description: "Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort")" label: Default Storage Class Data Locality group: "Longhorn Storage Class Settings" type: enum @@ -732,7 +762,7 @@ questions: - "best-effort" default: "disabled" - variable: persistence.recurringJobSelector.enable - description: "Enable recurring job selector for Longhorn StorageClass" + description: "Setting that allows you to enable the recurring job selector for a Longhorn StorageClass." group: "Longhorn Storage Class Settings" label: Enable Storage Class Recurring Job Selector type: boolean @@ -740,13 +770,13 @@ questions: show_subquestion_if: true subquestions: - variable: persistence.recurringJobSelector.jobList - description: 'Recurring job selector list for Longhorn StorageClass. Please be careful of quotes of input. E.g., [{"name":"backup", "isGroup":true}]' + description: 'Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`)' label: Storage Class Recurring Job Selector List group: "Longhorn Storage Class Settings" type: string default: - variable: persistence.defaultNodeSelector.enable - description: "Enable Node selector for Longhorn StorageClass" + description: "Setting that allows you to enable the node selector for the default Longhorn StorageClass." group: "Longhorn Storage Class Settings" label: Enable Storage Class Node Selector type: boolean @@ -755,12 +785,12 @@ questions: subquestions: - variable: persistence.defaultNodeSelector.selector label: Storage Class Node Selector - description: 'This selector enables only certain nodes having these tags to be used for the volume. E.g. `"storage,fast"`' + description: 'Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast")' group: "Longhorn Storage Class Settings" type: string default: - variable: persistence.backingImage.enable - description: "Set backing image for Longhorn StorageClass" + description: "Setting that allows you to use a backing image in a Longhorn StorageClass." group: "Longhorn Storage Class Settings" label: Default Storage Class Backing Image type: boolean @@ -768,13 +798,13 @@ questions: show_subquestion_if: true subquestions: - variable: persistence.backingImage.name - description: 'Specify a backing image that will be used by Longhorn volumes in Longhorn StorageClass. If not exists, the backing image data source type and backing image data source parameters should be specified so that Longhorn will create the backing image before using it.' + description: 'Backing image to be used for creating and restoring volumes in a Longhorn StorageClass. When no backing images are available, specify the data source type and parameters that Longhorn can use to create a backing image.' label: Storage Class Backing Image Name group: "Longhorn Storage Class Settings" type: string default: - variable: persistence.backingImage.expectedChecksum - description: 'Specify the expected SHA512 checksum of the selected backing image in Longhorn StorageClass. + description: 'Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass. WARNING: - If the backing image name is not specified, setting this field is meaningless. - It is not recommended to set this field if the data source type is \"export-from-volume\".' @@ -783,8 +813,7 @@ questions: type: string default: - variable: persistence.backingImage.dataSourceType - description: 'Specify the data source type for the backing image used in Longhorn StorageClass. - If the backing image does not exists, Longhorn will use this field to create a backing image. Otherwise, Longhorn will use it to verify the selected backing image. + description: 'Data source type of a backing image used in a Longhorn StorageClass. If the backing image exists in the cluster, Longhorn uses this setting to verify the image. If the backing image does not exist, Longhorn creates one using the specified data source type. WARNING: - If the backing image name is not specified, setting this field is meaningless. - As for backing image creation with data source type \"upload\", it is recommended to do it via UI rather than StorageClass here. Uploading requires file data sending to the Longhorn backend after the object creation, which is complicated if you want to handle it manually.' @@ -798,9 +827,7 @@ questions: - "export-from-volume" default: "" - variable: persistence.backingImage.dataSourceParameters - description: "Specify the data source parameters for the backing image used in Longhorn StorageClass. - If the backing image does not exists, Longhorn will use this field to create a backing image. Otherwise, Longhorn will use it to verify the selected backing image. - This option accepts a json string of a map. E.g., '{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'. + description: "Data source parameters of a backing image used in a Longhorn StorageClass. You can specify a JSON string of a map. (Example: `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`) WARNING: - If the backing image name is not specified, setting this field is meaningless. - Be careful of the quotes here." @@ -809,7 +836,7 @@ questions: type: string default: - variable: persistence.removeSnapshotsDuringFilesystemTrim - description: "Allow automatically removing snapshots during filesystem trim for Longhorn StorageClass. Options: `ignored`, `enabled`, `disabled`" + description: "Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")" label: Default Storage Class Remove Snapshots During Filesystem Trim group: "Longhorn Storage Class Settings" type: enum @@ -828,19 +855,19 @@ questions: subquestions: - variable: ingress.host default: "xip.io" - description: "layer 7 Load Balancer hostname" + description: "Hostname of the Layer 7 load balancer." type: hostname required: true label: Layer 7 Load Balancer Hostname - variable: ingress.path default: "/" - description: "If ingress is enabled you can set the default ingress path" + description: "Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}." type: string required: true label: Ingress Path - variable: service.ui.type default: "Rancher-Proxy" - description: "Define the Longhorn UI service type. Options: `ClusterIP`, `NodePort`, `LoadBalancer`, `Rancher-Proxy`" + description: "Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")" type: enum options: - "ClusterIP" @@ -854,7 +881,7 @@ questions: subquestions: - variable: service.ui.nodePort default: "" - description: "NodePort port number(to set explicitly, chooses port between 30000-32767)" + description: "NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767." type: int min: 30000 max: 32767 @@ -862,18 +889,18 @@ questions: label: UI Service NodePort number - variable: enablePSP default: "false" - description: "Setup a pod security policy for Longhorn workloads." + description: "Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled." label: Pod Security Policy type: boolean group: "Other Settings" - variable: global.cattle.windowsCluster.enabled default: "false" - description: "Enable this to allow Longhorn to run on the Rancher-deployed Windows cluster." + description: "Setting that allows Longhorn to run on a Rancher Windows cluster." label: Rancher Windows Cluster type: boolean group: "Other Settings" - variable: networkPolicies.enabled - description: "Enable NetworkPolicies to limit access to the longhorn pods. + description: "Setting that allows you to enable network policies that control access to Longhorn pods. Warning: The Rancher Proxy will not work if this feature is enabled and a custom NetworkPolicy must be added." group: "Other Settings" label: Network Policies @@ -882,7 +909,7 @@ questions: subquestions: - variable: networkPolicies.type label: Network Policies for Ingress - description: "Create the policy based on your distribution to allow access for the ingress. Options: `k3s`, `rke2`, `rke1`" + description: "Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")" show_if: "networkPolicies.enabled=true&&ingress.enabled=true" type: enum default: "rke2" @@ -892,11 +919,11 @@ questions: - "k3s" - variable: defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU label: Guaranteed Instance Manager CPU for V2 Data Engine - description: "Number of millicpus on each node to be reserved for each instance manager pod when the V2 Data Engine is enabled. By default, the Storage Performance Development Kit (SPDK) target daemon within each instance manager pod uses 1 CPU core. Configuring a minimum CPU usage value is essential for maintaining engine and replica stability, especially during periods of high node workload. The default value is 1250 millicpus. + description: 'Number of millicpus on each node to be reserved for each Instance Manager pod when the V2 Data Engine is enabled. The default value is "1250". WARNING: - Specifying a value of 0 disables CPU requests for instance manager pods. You must specify an integer between 1000 and 8000. - This is a global setting. Modifying the value triggers an automatic restart of the instance manager pods. Do not modify the value while volumes are still attached." - group: "Longhorn Default Settings" + group: "Longhorn Default Settings' type: int min: 1000 max: 8000 diff --git a/chart/values.yaml b/chart/values.yaml index d841560607..9ef0916a6e 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -3,376 +3,372 @@ # Declare variables to be passed into your templates. global: cattle: - # -- System default registry + # -- Default system registry. systemDefaultRegistry: "" windowsCluster: - # -- Enable this to allow Longhorn to run on the Rancher-deployed Windows cluster + # -- Setting that allows Longhorn to run on a Rancher Windows cluster. enabled: false - # -- Tolerate Linux nodes to run Longhorn user deployed components + # -- Toleration for Linux nodes that can run user-deployed Longhorn components. tolerations: - key: "cattle.io/os" value: "linux" effect: "NoSchedule" operator: "Equal" - # -- Select Linux nodes to run Longhorn user deployed components + # -- Node selector for Linux nodes that can run user-deployed Longhorn components. nodeSelector: kubernetes.io/os: "linux" defaultSetting: - # -- Toleration for Longhorn system managed components + # -- Toleration for system-managed Longhorn components. taintToleration: cattle.io/os=linux:NoSchedule - # -- Node selector for Longhorn system managed components + # -- Node selector for system-managed Longhorn components. systemManagedComponentsNodeSelector: kubernetes.io/os:linux networkPolicies: - # -- Enable NetworkPolicies to limit access to the Longhorn pods + # -- Setting that allows you to enable network policies that control access to Longhorn pods. enabled: false - # -- Create the policy based on your distribution to allow access for the ingress. Options: `k3s`, `rke2`, `rke1` + # -- Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1") type: "k3s" image: longhorn: engine: - # -- Specify Longhorn engine image repository + # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine +<<<<<<< HEAD # -- Specify Longhorn engine image tag tag: v1.6.0-rc1 +======= + # -- Tag for the Longhorn Engine image. + tag: master-head +>>>>>>> ea910b7 (fix(doc): update the description in helm values) manager: - # -- Specify Longhorn manager image repository + # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager +<<<<<<< HEAD # -- Specify Longhorn manager image tag tag: v1.6.0-rc1 +======= + # -- Tag for the Longhorn Manager image. + tag: master-head +>>>>>>> ea910b7 (fix(doc): update the description in helm values) ui: - # -- Specify Longhorn ui image repository + # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui +<<<<<<< HEAD # -- Specify Longhorn ui image tag tag: v1.6.0-rc1 +======= + # -- Tag for the Longhorn UI image. + tag: master-head +>>>>>>> ea910b7 (fix(doc): update the description in helm values) instanceManager: - # -- Specify Longhorn instance manager image repository + # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager +<<<<<<< HEAD # -- Specify Longhorn instance manager image tag tag: v1.6.0-rc1 +======= + # -- Tag for the Longhorn Instance Manager image. + tag: master-head +>>>>>>> ea910b7 (fix(doc): update the description in helm values) shareManager: - # -- Specify Longhorn share manager image repository + # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager +<<<<<<< HEAD # -- Specify Longhorn share manager image tag tag: v1.6.0-rc1 +======= + # -- Tag for the Longhorn Share Manager image. + tag: master-head +>>>>>>> ea910b7 (fix(doc): update the description in helm values) backingImageManager: - # -- Specify Longhorn backing image manager image repository + # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager +<<<<<<< HEAD # -- Specify Longhorn backing image manager image tag tag: v1.6.0-rc1 +======= + # -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. + tag: master-head +>>>>>>> ea910b7 (fix(doc): update the description in helm values) supportBundleKit: - # -- Specify Longhorn support bundle manager image repository + # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit - # -- Specify Longhorn support bundle manager image tag + # -- Tag for the Longhorn Support Bundle Manager image. tag: v0.0.33 csi: attacher: - # -- Specify CSI attacher image repository. Leave blank to autodetect + # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-attacher - # -- Specify CSI attacher image tag. Leave blank to autodetect + # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. tag: v4.4.2 provisioner: - # -- Specify CSI provisioner image repository. Leave blank to autodetect + # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-provisioner - # -- Specify CSI provisioner image tag. Leave blank to autodetect + # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. tag: v3.6.2 nodeDriverRegistrar: - # -- Specify CSI node driver registrar image repository. Leave blank to autodetect + # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-node-driver-registrar - # -- Specify CSI node driver registrar image tag. Leave blank to autodetect + # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. tag: v2.9.2 resizer: - # -- Specify CSI driver resizer image repository. Leave blank to autodetect + # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-resizer - # -- Specify CSI driver resizer image tag. Leave blank to autodetect + # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. tag: v1.9.2 snapshotter: - # -- Specify CSI driver snapshotter image repository. Leave blank to autodetect + # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-snapshotter - # -- Specify CSI driver snapshotter image tag. Leave blank to autodetect. + # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. tag: v6.3.2 livenessProbe: - # -- Specify CSI liveness probe image repository. Leave blank to autodetect + # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. repository: longhornio/livenessprobe - # -- Specify CSI liveness probe image tag. Leave blank to autodetect + # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. tag: v2.11.0 openshift: oauthProxy: - # -- For openshift user. Specify oauth proxy image repository + # -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users. repository: quay.io/openshift/origin-oauth-proxy - # -- For openshift user. Specify oauth proxy image tag. Note: Use your OCP/OKD 4.X Version, Current Stable is 4.14 + # -- Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.14. tag: 4.14 - # -- Image pull policy which applies to all Longhorn user-deployed components. E.g., Longhorn manager, Longhorn driver, Longhorn UI + # -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. pullPolicy: IfNotPresent service: ui: - # -- Define the Longhorn UI service type. Options: `ClusterIP`, `NodePort`, `LoadBalancer`, `Rancher-Proxy` + # -- Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy") type: ClusterIP - # -- NodePort port number (to set explicitly, chooses port between 30000-32767) + # -- NodePort port number for Longhorn UI. When unspecified, Longhorn selects a free port between 30000 and 32767. nodePort: null manager: - # -- Define the Longhorn manager service type. + # -- Service type for Longhorn Manager. type: ClusterIP - # -- NodePort port number (to set explicitly, chooses port between 30000-32767) + # -- NodePort port number for Longhorn Manager. When unspecified, Longhorn selects a free port between 30000 and 32767. nodePort: "" persistence: - # -- Set Longhorn StorageClass as default + # -- Setting that allows you to specify the default Longhorn StorageClass. defaultClass: true - # -- Set filesystem type for Longhorn StorageClass + # -- Filesystem type of the default Longhorn StorageClass. defaultFsType: ext4 - # -- Set mkfs options for Longhorn StorageClass + # -- mkfs parameters of the default Longhorn StorageClass. defaultMkfsParams: "" - # -- Set replica count for Longhorn StorageClass + # -- Replica count of the default Longhorn StorageClass. defaultClassReplicaCount: 3 - # -- Set data locality for Longhorn StorageClass. Options: `disabled`, `best-effort` + # -- Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort") defaultDataLocality: disabled - # -- Define reclaim policy. Options: `Retain`, `Delete` + # -- Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete") reclaimPolicy: Delete - # -- Set volume migratable for Longhorn StorageClass + # -- Setting that allows you to enable live migration of a Longhorn volume from one node to another. migratable: false # -- Set NFS mount options for Longhorn StorageClass for RWX volumes nfsOptions: "" recurringJobSelector: - # -- Enable recurring job selector for Longhorn StorageClass + # -- Setting that allows you to enable the recurring job selector for a Longhorn StorageClass. enable: false - # -- Recurring job selector list for Longhorn StorageClass. Please be careful of quotes of input. E.g., `[{"name":"backup", "isGroup":true}]` + # -- Recurring job selector for a Longhorn StorageClass. Ensure that quotes are used correctly when specifying job parameters. (Example: `[{"name":"backup", "isGroup":true}]`) jobList: [] backingImage: - # -- Set backing image for Longhorn StorageClass + # -- Setting that allows you to use a backing image in a Longhorn StorageClass. enable: false - # -- Specify a backing image that will be used by Longhorn volumes in Longhorn StorageClass. If not exists, the backing image data source type and backing image data source parameters should be specified so that Longhorn will create the backing image before using it + # -- Backing image to be used for creating and restoring volumes in a Longhorn StorageClass. When no backing images are available, specify the data source type and parameters that Longhorn can use to create a backing image. name: ~ - # -- Specify the data source type for the backing image used in Longhorn StorageClass. - # If the backing image does not exist, Longhorn will use this field to create a backing image. - # Otherwise, Longhorn will use it to verify the selected backing image. + # -- Data source type of a backing image used in a Longhorn StorageClass. + # If the backing image exists in the cluster, Longhorn uses this setting to verify the image. + # If the backing image does not exist, Longhorn creates one using the specified data source type. dataSourceType: ~ - # -- Specify the data source parameters for the backing image used in Longhorn StorageClass. - # This option accepts a json string of a map. E.g., `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`. + # -- Data source parameters of a backing image used in a Longhorn StorageClass. + # You can specify a JSON string of a map. (Example: `'{\"url\":\"https://backing-image-example.s3-region.amazonaws.com/test-backing-image\"}'`) dataSourceParameters: ~ - # -- Specify the expected SHA512 checksum of the selected backing image in Longhorn StorageClass + # -- Expected SHA-512 checksum of a backing image used in a Longhorn StorageClass. expectedChecksum: ~ defaultNodeSelector: - # -- Enable Node selector for Longhorn StorageClass + # -- Setting that allows you to enable the node selector for the default Longhorn StorageClass. enable: false - # -- This selector enables only certain nodes having these tags to be used for the volume. E.g. `"storage,fast"` + # -- Node selector for the default Longhorn StorageClass. Longhorn uses only nodes with the specified tags for storing volume data. (Examples: "storage,fast") selector: "" - # -- Allow automatically removing snapshots during filesystem trim for Longhorn StorageClass. Options: `ignored`, `enabled`, `disabled` + # -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled") removeSnapshotsDuringFilesystemTrim: ignored preUpgradeChecker: - # -- Setting that allows Longhorn to perform pre-upgrade checks before starting the Longhorn Manager DaemonSet Pods. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. + # -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. jobEnabled: true - # -- Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`, but it's not recommended to disable it. + # -- Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled. upgradeVersionCheck: true csi: - # -- Specify kubelet root-dir. Leave blank to autodetect + # -- kubelet root directory. When unspecified, Longhorn uses the default value. kubeletRootDir: ~ - # -- Specify replica count of CSI Attacher. Leave blank to use default count: 3 + # -- Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3"). attacherReplicaCount: ~ - # -- Specify replica count of CSI Provisioner. Leave blank to use default count: 3 + # -- Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3"). provisionerReplicaCount: ~ - # -- Specify replica count of CSI Resizer. Leave blank to use default count: 3 + # -- Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3"). resizerReplicaCount: ~ - # -- Specify replica count of CSI Snapshotter. Leave blank to use default count: 3 + # -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3"). snapshotterReplicaCount: ~ defaultSettings: - # -- The endpoint used to access the backupstore. Available: NFS, CIFS, AWS, GCP, AZURE. + # -- Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE") backupTarget: ~ - # -- The name of the Kubernetes secret associated with the backup target. + # -- Name of the Kubernetes secret associated with the backup target. backupTargetCredentialSecret: ~ - # -- If this setting is enabled, Longhorn will automatically attach the volume and takes snapshot/backup - # when it is the time to do recurring snapshot/backup. + # -- Setting that allows Longhorn to automatically attach a volume and create snapshots or backups when recurring jobs are run. allowRecurringJobWhileVolumeDetached: ~ - # -- Create default Disk automatically only on Nodes with the label "node.longhorn.io/create-default-disk=true" if no other disks exist. - # If disabled, the default disk will be created on all new nodes when each node is first added. + # -- Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster. createDefaultDiskLabeledNodes: ~ - # -- Default path to use for storing data on a host. By default, "/var/lib/longhorn/" + # -- Default path for storing data on a host. The default value is "/var/lib/longhorn/". defaultDataPath: ~ - # -- Longhorn volume has data locality if there is a local replica of the volume on the same node as the pod which is using the volume. + # -- Default data locality. A Longhorn volume has data locality if a local replica of the volume exists on the same node as the pod that is using the volume. defaultDataLocality: ~ - # -- Allow scheduling on nodes with existing healthy replicas of the same volume. By default, false. + # -- Setting that allows scheduling on nodes with healthy replicas of the same volume. This setting is disabled by default. replicaSoftAntiAffinity: ~ - # -- Enable this setting automatically re-balances replicas when discovered an available node. + # -- Setting that automatically rebalances replicas when an available node is discovered. replicaAutoBalance: ~ - # -- Percentage of storage that can be allocated relative to hard drive capacity. The default value is 100. + # -- Percentage of storage that can be allocated relative to hard drive capacity. The default value is "100". storageOverProvisioningPercentage: ~ - # -- If the minimum available disk capacity exceeds the actual percentage of available disk capacity, - # the disk becomes unschedulable until more space is freed up. By default, 25. + # -- Percentage of minimum available disk capacity. When the minimum available capacity exceeds the total available capacity, the disk becomes unschedulable until more space is made available for use. The default value is "25". storageMinimalAvailablePercentage: ~ - # -- The reserved percentage specifies the percentage of disk space that will not be allocated to the default disk on each new Longhorn node. + # -- Percentage of disk space that is not allocated to the default disk on each new Longhorn node. storageReservedPercentageForDefaultDisk: ~ - # -- Upgrade Checker will check for a new Longhorn version periodically. - # When there is a new version available, a notification will appear in the UI. By default, true. + # -- Upgrade Checker that periodically checks for new Longhorn versions. When a new version is available, a notification appears on the Longhorn UI. This setting is enabled by default upgradeChecker: ~ - # -- The default number of replicas when a volume is created from the Longhorn UI. - # For Kubernetes configuration, update the `numberOfReplicas` in the StorageClass. By default, 3. + # -- Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3". defaultReplicaCount: ~ - # -- The 'storageClassName' is given to PVs and PVCs that are created for an existing Longhorn volume. The StorageClass name can also be used as a label, - # so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. - # By default, 'longhorn-static'. + # -- Default Longhorn StorageClass. "storageClassName" is assigned to PVs and PVCs that are created for an existing Longhorn volume. "storageClassName" can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. The default value is "longhorn-static". defaultLonghornStaticStorageClass: ~ - # -- In seconds. The backup store poll interval determines how often Longhorn checks the backup store for new backups. - # Set to 0 to disable the polling. By default, 300. + # -- Number of seconds that Longhorn waits before checking the backupstore for new backups. The default value is "300". When the value is "0", polling is disabled. backupstorePollInterval: ~ - # -- In minutes. This setting determines how long Longhorn will keep the backup resource that was failed. Set to 0 to disable the auto-deletion. + # -- Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled. failedBackupTTL: ~ - # -- Restore recurring jobs from the backup volume on the backup target and create recurring jobs if not exist during a backup restoration. + # -- Setting that restores recurring jobs from a backup volume on a backup target and creates recurring jobs if none exist during backup restoration. restoreVolumeRecurringJobs: ~ - # -- This setting specifies how many successful backup or snapshot job histories should be retained. History will not be retained if the value is 0. + # -- Maximum number of successful recurring backup and snapshot jobs to be retained. When the value is "0", a history of successful recurring jobs is not retained. recurringSuccessfulJobsHistoryLimit: ~ - # -- This setting specifies how many failed backup or snapshot job histories should be retained. History will not be retained if the value is 0. + # -- Maximum number of failed recurring backup and snapshot jobs to be retained. When the value is "0", a history of failed recurring jobs is not retained. recurringFailedJobsHistoryLimit: ~ # -- Maximum number of snapshots or backups to be retained. recurringJobMaxRetention: ~ - # -- This setting specifies how many failed support bundles can exist in the cluster. - # Set this value to **0** to have Longhorn automatically purge all failed support bundles. + # -- Maximum number of failed support bundles that can exist in the cluster. When the value is "0", Longhorn automatically purges all failed support bundles. supportBundleFailedHistoryLimit: ~ - # -- taintToleration for Longhorn system-managed components + # -- Taint or toleration for system-managed Longhorn components. taintToleration: ~ - # -- nodeSelector for Longhorn system-managed components + # -- Node selector for system-managed Longhorn components. systemManagedComponentsNodeSelector: ~ - # -- priorityClass for Longhorn system-managed components + # -- PriorityClass for system-managed Longhorn components. # This setting can help prevent Longhorn components from being evicted under Node Pressure. # Notice that this will be applied to Longhorn user-deployed components by default if there are no priority class values set yet, such as `longhornManager.priorityClass`. priorityClass: &defaultPriorityClassNameRef "longhorn-critical" - # -- 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. + # -- Setting that allows Longhorn to automatically salvage volumes when all replicas become faulty (for example, when the network connection is interrupted). Longhorn determines which replicas are usable and then uses these replicas for the volume. This setting is enabled by default. autoSalvage: ~ - # -- If enabled, Longhorn will automatically delete the workload pod managed by a controller (e.g., Deployment, StatefulSet, DaemonSet, etc...) - # when Longhorn volume is detached unexpectedly (e.g., during Kubernetes upgrade, Docker reboot, or network disconnect). - # By deleting the pod, its controller restarts the pod and Kubernetes handles volume reattachment and remount. + # -- Setting that allows Longhorn to automatically delete a workload pod that is managed by a controller (for example, daemonset) whenever a Longhorn volume is detached unexpectedly (for example, during Kubernetes upgrades). After deletion, the controller restarts the pod and then Kubernetes handles volume reattachment and remounting. autoDeletePodWhenVolumeDetachedUnexpectedly: ~ - # -- Disable Longhorn manager to schedule replica on Kubernetes cordoned node. By default, true. + # -- Setting that prevents Longhorn Manager from scheduling replicas on a cordoned Kubernetes node. This setting is enabled by default. disableSchedulingOnCordonedNode: ~ - # -- Allow scheduling new Replicas of Volume to the Nodes in the same Zone as existing healthy Replicas. - # Nodes don't belong to any Zone will be treated as in the same Zone. - # Notice that Longhorn relies on label `topology.kubernetes.io/zone=` in the Kubernetes node object to identify the zone. - # By default, true. + # -- Setting that allows Longhorn to schedule new replicas of a volume to nodes in the same zone as existing healthy replicas. Nodes that do not belong to any zone are treated as existing in the zone that contains healthy replicas. When identifying zones, Longhorn relies on the label "topology.kubernetes.io/zone=" in the Kubernetes node object. replicaZoneSoftAntiAffinity: ~ - # -- Allow scheduling on disks with existing healthy replicas of the same volume. By default, true. + # -- Setting that allows scheduling on disks with existing healthy replicas of the same volume. This setting is enabled by default. replicaDiskSoftAntiAffinity: ~ - # -- Defines the Longhorn action when a Volume is stuck with a StatefulSet/Deployment Pod on a node that is down. + # -- Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed. nodeDownPodDeletionPolicy: ~ - # -- Define the policy to use when a node with the last healthy replica of a volume is drained. + # -- Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained. nodeDrainPolicy: ~ - # -- Automatically detach volumes that are attached manually when the node is cordoned. + # -- Setting that allows automatic detaching of manually-attached volumes when a node is cordoned. detachManuallyAttachedVolumesWhenCordoned: ~ - # -- The interval in seconds determines how long Longhorn will at least wait to reuse the existing data on a failed replica - # rather than directly creating a new replica for a degraded volume. + # -- Number of seconds that Longhorn waits before reusing existing data on a failed replica instead of creating a new replica of a degraded volume. replicaReplenishmentWaitInterval: ~ - # -- This setting controls how many replicas on a node can be rebuilt simultaneously. + # -- Maximum number of replicas that can be concurrently rebuilt on each node. concurrentReplicaRebuildPerNodeLimit: ~ - # -- This setting controls how many volumes on a node can restore the backup concurrently. Set the value to **0** to disable backup restore. + # -- Maximum number of volumes that can be concurrently restored on each node using a backup. When the value is "0", restoration of volumes using a backup is disabled. concurrentVolumeBackupRestorePerNodeLimit: ~ - # -- This setting is only for volumes created by UI. - # By default, this is false, meaning there will be a revision counter file to track every write to the volume. - # During salvage-recovering, Longhorn will pick the replica with the largest revision counter as a candidate to recover the whole volume. - # If the revision counter is disabled, Longhorn will not track every write to the volume. - # During the salvage recovering, Longhorn will use the 'volume-head-xxx.img' file last modification time and - # file size to pick the replica candidate to recover the whole volume. + # -- Setting that disables the revision counter and thereby prevents Longhorn from tracking all write operations to a volume. When salvaging a volume, Longhorn uses properties of the "volume-head-xxx.img" file (the last file size and the last time the file was modified) to select the replica to be used for volume recovery. This setting applies only to volumes created using the Longhorn UI. disableRevisionCounter: ~ - # -- This setting defines the Image Pull Policy of Longhorn system managed pod. - # E.g. instance manager, engine image, CSI driver, etc. - # The new Image Pull Policy will only apply after the system-managed pods restart. + # -- Image pull policy for system-managed pods, such as Instance Manager, engine images, and CSI Driver. Changes to the image pull policy are applied only after the system-managed pods restart. systemManagedPodsImagePullPolicy: ~ - # -- This setting allows user to create and attach a volume that doesn't have all the replicas scheduled at the time of creation. + # -- Setting that allows you to create and attach a volume without having all replicas scheduled at the time of creation. allowVolumeCreationWithDegradedAvailability: ~ - # -- This setting enables Longhorn to automatically clean up the system-generated snapshot after replica rebuild is done. + # -- Setting that allows Longhorn to automatically clean up the system-generated snapshot after replica rebuilding is completed. autoCleanupSystemGeneratedSnapshot: ~ - # -- This setting enables Longhorn to automatically cleanup the snapshot generated by a recurring backup job. + # -- Setting that allows Longhorn to automatically clean up the snapshot generated by a recurring backup job. autoCleanupRecurringJobBackupSnapshot: ~ - # -- This setting controls how Longhorn automatically upgrades volumes' engines to the new default engine image after upgrading Longhorn manager. - # The value of this setting specifies the maximum number of engines per node that are allowed to upgrade to the default engine image at the same time. - # If the value is 0, Longhorn will not automatically upgrade volumes' engines to the default version of engine image. + # -- Maximum number of engines that are allowed to concurrently upgrade on each node after Longhorn Manager is upgraded. When the value is "0", Longhorn does not automatically upgrade volume engines to the new default engine image version. concurrentAutomaticEngineUpgradePerNodeLimit: ~ - # -- This interval in minutes determines how long Longhorn will wait before cleaning up the backing image file when there is no replica in the disk using it. + # -- Number of minutes that Longhorn waits before cleaning up the backing image file when no replicas in the disk are using it. backingImageCleanupWaitInterval: ~ - # -- This interval in seconds determines how long Longhorn will wait before re-downloading the backing image file - # when all disk files of this backing image become failed or unknown. + # -- Number of seconds that Longhorn waits before downloading a backing image file again when the status of all image disk files changes to "failed" or "unknown". backingImageRecoveryWaitInterval: ~ - # -- Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. - # The default value is 12 percent. + # -- Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is "12". guaranteedInstanceManagerCPU: ~ # -- Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. kubernetesClusterAutoscalerEnabled: ~ - # -- This setting allows Longhorn to delete the orphan resource and its corresponding orphaned data automatically like stale replicas. - # Orphan resources on down or unknown nodes will not be cleaned up automatically. + # -- Setting that allows Longhorn to automatically delete an orphaned resource and the corresponding data (for example, stale replicas). Orphaned resources on failed or unknown nodes are not automatically cleaned up. orphanAutoDeletion: ~ - # -- Longhorn uses the storage network for in-cluster data traffic. Leave this blank to use the Kubernetes cluster network. + # -- Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network. storageNetwork: ~ - # -- This flag is designed to prevent Longhorn from being accidentally uninstalled which will lead to data lost. + # -- Flag that prevents accidental uninstallation of Longhorn. deletingConfirmationFlag: ~ - # -- In seconds. The setting specifies the timeout between the engine and replica(s), and the value should be between 8 and 30 seconds. - # The default value is 8 seconds. + # -- Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8". engineReplicaTimeout: ~ - # -- This setting allows users to enable or disable snapshot hashing and data integrity checking. + # -- Setting that allows you to enable and disable snapshot hashing and data integrity checks. snapshotDataIntegrity: ~ - # -- Hashing snapshot disk files impacts the performance of the system. - # The immediate snapshot hashing and checking can be disabled to minimize the impact after creating a snapshot. + # -- Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance. snapshotDataIntegrityImmediateCheckAfterSnapshotCreation: ~ - # -- Unix-cron string format. The setting specifies when Longhorn checks the data integrity of snapshot disk files. + # -- Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format. snapshotDataIntegrityCronjob: ~ - # -- This setting allows Longhorn filesystem trim feature to automatically mark the latest snapshot and - # its ancestors as removed and stops at the snapshot containing multiple children. + # -- Setting that allows Longhorn to automatically mark the latest snapshot and its parent files as removed during a filesystem trim. Longhorn does not remove snapshots containing multiple child files. removeSnapshotsDuringFilesystemTrim: ~ - # -- This feature supports the fast replica rebuilding. - # It relies on the checksum of snapshot disk files, so setting the snapshot-data-integrity to **enable** or **fast-check** is a prerequisite. + # -- Setting that allows fast rebuilding of replicas using the checksum of snapshot disk files. Before enabling this setting, you must set the snapshot-data-integrity value to "enable" or "fast-check". fastReplicaRebuildEnabled: ~ - # -- In seconds. The setting specifies the HTTP client timeout to the file sync server. + # -- Number of seconds that an HTTP client waits for a response from a File Sync server before considering the connection to have failed. replicaFileSyncHttpClientTimeout: ~ - # -- The log level Panic, Fatal, Error, Warn, Info, Debug, Trace used in longhorn manager. Default to Info. + # -- Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace") logLevel: ~ - # -- This setting allows users to specify backup compression method. + # -- Setting that allows you to specify a backup compression method. backupCompressionMethod: ~ - # -- This setting controls how many worker threads per backup concurrently. + # -- Maximum number of worker threads that can concurrently run for each backup. backupConcurrentLimit: ~ - # -- This setting controls how many worker threads per restore concurrently. + # -- Maximum number of worker threads that can concurrently run for each restore operation. restoreConcurrentLimit: ~ - # -- Setting that allows you to enable the V1 Data Engine. This setting is enabled by default. + # -- Setting that allows you to enable the V1 Data Engine. v1DataEngine: ~ - # -- Setting that allows you to enable the V2 Data Engine, which is based on the Storage Performance Development Kit (SPDK). - # The V2 Data Engine is a preview feature and should not be used in production environments. + # -- Setting that allows you to enable the V2 Data Engine, which is based on the Storage Performance Development Kit (SPDK). The V2 Data Engine is a preview feature and should not be used in production environments. v2DataEngine: ~ - # -- Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. + # -- Setting that allows you to configure maximum huge page size (in MiB) for the V2 Data Engine. v2DataEngineHugepageLimit: ~ - # -- This setting allows users to enable the offline replica rebuilding for volumes using v2 data engine. + # -- Setting that allows rebuilding of offline replicas for volumes using the V2 Data Engine. offlineReplicaRebuilding: ~ - # -- Number of millicpus on each node to be reserved for each instance manager pod when the V2 Data Engine is enabled. - # The default value is 1250 millicpus. + # -- Number of millicpus on each node to be reserved for each Instance Manager pod when the V2 Data Engine is enabled. The default value is "1250". v2DataEngineGuaranteedInstanceManagerCPU: ~ - # -- Allow Scheduling Empty Node Selector Volumes To Any Node + # -- Setting that allows scheduling of empty node selector volumes to any node. allowEmptyNodeSelectorVolume: ~ - # -- Allow Scheduling Empty Disk Selector Volumes To Any Disk + # -- Setting that allows scheduling of empty disk selector volumes to any disk. allowEmptyDiskSelectorVolume: ~ - # -- Enabling this setting will allow Longhorn to provide additional usage metrics to https://metrics.longhorn.io/. This information will help us better understand how Longhorn is being used, which will ultimately contribute to future improvements. + # -- Setting that allows Longhorn to periodically collect anonymous usage data for product improvement purposes. Longhorn sends collected data to the [Upgrade Responder](https://github.com/longhorn/upgrade-responder) server, which is the data source of the Longhorn Public Metrics Dashboard (https://metrics.longhorn.io). The Upgrade Responder server does not store data that can be used to identify clients, including IP addresses. allowCollectingLonghornUsageMetrics: ~ - # -- Temporarily prevent all attempts to purge volume snapshots. + # -- Setting that temporarily prevents all attempts to purge volume snapshots. disableSnapshotPurge: ~ privateRegistry: - # -- Set `true` to create a new private registry secret + # -- Setting that allows you to create a private registry secret. createSecret: ~ - # -- URL of private registry. Leave blank to apply system default registry + # -- URL of a private registry. When unspecified, Longhorn uses the default system registry. registryUrl: ~ - # -- User used to authenticate to private registry + # -- User account used for authenticating with a private registry. registryUser: ~ - # -- Password used to authenticate to private registry + # -- Password for authenticating with a private registry. registryPasswd: ~ - # -- If create a new private registry secret is true, create a Kubernetes secret with this name; else use the existing secret of this name. Use it to pull images from your private registry + # -- Kubernetes secret that allows you to pull images from a private registry. This setting applies only when creation of private registry secrets is enabled. You must include the private registry name in the secret name. registrySecret: ~ longhornManager: log: - # -- Options: `plain`, `json` + # -- Format of Longhorn Manager logs. (Options: "plain", "json") format: plain - # -- Priority class for longhorn manager + # -- PriorityClass for Longhorn Manager. priorityClass: *defaultPriorityClassNameRef - # -- Tolerate nodes to run Longhorn manager + # -- Toleration for Longhorn Manager on nodes allowed to run Longhorn Manager. tolerations: [] ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above ## and uncomment this example block @@ -380,13 +376,13 @@ longhornManager: # operator: "Equal" # value: "value" # effect: "NoSchedule" - # -- Select nodes to run Longhorn manager + # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager. nodeSelector: {} ## If you want to set node selector for Longhorn Manager DaemonSet, delete the `{}` in the line above ## and uncomment this example block # label-key1: "label-value1" # label-key2: "label-value2" - # -- Annotation used in Longhorn manager service + # -- Annotation for the Longhorn Manager service. serviceAnnotations: {} ## If you want to set annotations for the Longhorn Manager service, delete the `{}` in the line above ## and uncomment this example block @@ -394,9 +390,9 @@ longhornManager: # annotation-key2: "annotation-value2" longhornDriver: - # -- Priority class for the Longhorn CSI driver + # -- PriorityClass for Longhorn Driver. priorityClass: *defaultPriorityClassNameRef - # -- Tolerate nodes to run the Longhorn CSI driver + # -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components. tolerations: [] ## If you want to set tolerations for Longhorn Driver Deployer Deployment, delete the `[]` in the line above ## and uncomment this example block @@ -404,7 +400,7 @@ longhornDriver: # operator: "Equal" # value: "value" # effect: "NoSchedule" - # -- Select nodes to run the Longhorn CSI driver + # -- Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver. nodeSelector: {} ## If you want to set node selector for Longhorn Driver Deployer Deployment, delete the `{}` in the line above ## and uncomment this example block @@ -412,11 +408,11 @@ longhornDriver: # label-key2: "label-value2" longhornUI: - # -- Replica count for longhorn UI + # -- Replica count for Longhorn UI. replicas: 2 - # -- Priority class count for Longhorn UI + # -- PriorityClass for Longhorn UI. priorityClass: *defaultPriorityClassNameRef - # -- Tolerate nodes to run Longhorn UI + # -- Toleration for Longhorn UI on nodes allowed to run Longhorn components. tolerations: [] ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above ## and uncomment this example block @@ -424,7 +420,7 @@ longhornUI: # operator: "Equal" # value: "value" # effect: "NoSchedule" - # -- Select nodes to run Longhorn UI + # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. nodeSelector: {} ## If you want to set node selector for Longhorn UI Deployment, delete the `{}` in the line above ## and uncomment this example block @@ -432,27 +428,26 @@ longhornUI: # label-key2: "label-value2" ingress: - # -- Set to true to enable ingress record generation + # -- Setting that allows Longhorn to generate ingress records for the Longhorn UI service. enabled: false - # -- Add ingressClassName to the Ingress - # Can replace the kubernetes.io/ingress.class annotation on v1.18+ + # -- IngressClass resource that contains ingress configuration, including the name of the Ingress controller. + # ingressClassName can replace the kubernetes.io/ingress.class annotation used in earlier Kubernetes releases. ingressClassName: ~ - # -- Layer 7 Load Balancer hostname + # -- Hostname of the Layer 7 load balancer. host: sslip.io - # -- Set this to true to enable TLS on the ingress record + # -- Setting that allows you to enable TLS on ingress records. tls: false - # -- Enable this to enable that the backend service will be connected at port 443 + # -- Setting that allows you to enable secure connections to the Longhorn UI service via port 443. secureBackends: false - # -- If TLS is set to true, you must declare what secret will store the key/certificate for TLS + # -- TLS secret that contains the private key and certificate to be used for TLS. This setting applies only when TLS is enabled on ingress records. tlsSecret: longhorn.local-tls - # -- If ingress is enabled, you can set the default ingress path - # then you can access the UI by using the following full path {{host}}+{{path}} + # -- Default ingress path. You can access the Longhorn UI by following the full ingress path {{host}}+{{path}}. path: / ## If you're using kube-lego, you will want to add: @@ -462,12 +457,12 @@ ingress: ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md ## ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set - # -- Ingress annotations done as key:value pairs + # -- Ingress annotations in the form of key-value pairs. annotations: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: true - # -- If you're providing your own certificates, please use this to add the certificates as secrets + # -- Secret that contains a TLS private key and certificate. Use secrets if you want to use your own certificates to secure ingresses. secrets: ## If you're providing your own certificates, please use this to add the certificates as secrets ## key and certificate should start with -----BEGIN CERTIFICATE----- or @@ -482,11 +477,10 @@ ingress: # key: # certificate: -# -- For Kubernetes < v1.25, if your cluster enables Pod Security Policy admission controller, -# set this to `true` to ship a built-in longhorn-psp PodSecurityPolicy which allow privileged Longhorn pods to start +# -- Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled. enablePSP: false -# -- Annotations to add to the Longhorn Manager DaemonSet Pods. Optional. +# -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. annotations: {} serviceAccount: @@ -500,15 +494,15 @@ metrics: ## openshift settings openshift: - # -- Enable when using openshift + # -- Setting that allows Longhorn to integrate with OpenShift. enabled: false ui: - # -- UI route in openshift environment + # -- Route for connections between Longhorn and the OpenShift web console. route: "longhorn-ui" - # -- UI port in openshift environment + # -- Port for accessing the OpenShift web console. port: 443 - # -- UI proxy in openshift environment + # -- Port for proxy that provides access to the OpenShift web console. proxy: 8443 -# -- Enable this to allow Longhorn to generate code coverage profiles +# -- Setting that allows Longhorn to generate code coverage profiles. enableGoCoverDir: false From b21efad5b44ab0f450ca141fc1d955dae36b6d6a Mon Sep 17 00:00:00 2001 From: Jack Lin Date: Tue, 16 Jan 2024 19:35:14 +0800 Subject: [PATCH 08/88] resolve conflicts Signed-off-by: Jack Lin --- chart/questions.yaml | 30 ------------------------------ chart/values.yaml | 30 ------------------------------ 2 files changed, 60 deletions(-) diff --git a/chart/questions.yaml b/chart/questions.yaml index a2ddefad1f..084febf0db 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,13 +17,8 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag -<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Manager Image Tag" -======= - default: master-head - description: "Tag for the Longhorn Manager image." ->>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Manager Image Tag group: "Longhorn Images Settings" @@ -34,13 +29,8 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag -<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Engine Image Tag" -======= - default: master-head - description: "Tag for the Longhorn Engine image." ->>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Engine Image Tag group: "Longhorn Images Settings" @@ -51,13 +41,8 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag -<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn UI Image Tag" -======= - default: master-head - description: "Tag for the Longhorn UI image." ->>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn UI Image Tag group: "Longhorn Images Settings" @@ -68,13 +53,8 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag -<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Instance Manager Image Tag" -======= - default: v2_20221123 - description: "Tag for the Longhorn Instance Manager image." ->>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Instance Manager Image Tag group: "Longhorn Images Settings" @@ -85,13 +65,8 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag -<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Share Manager Image Tag" -======= - default: v1_20220914 - description: "Tag for the Longhorn Share Manager image." ->>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Share Manager Image Tag group: "Longhorn Images Settings" @@ -102,13 +77,8 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag -<<<<<<< HEAD default: v1.6.0-rc1 description: "Specify Longhorn Backing Image Manager Image Tag" -======= - default: v3_20220808 - description: "Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value." ->>>>>>> ea910b7 (fix(doc): update the description in helm values) type: string label: Longhorn Backing Image Manager Image Tag group: "Longhorn Images Settings" diff --git a/chart/values.yaml b/chart/values.yaml index 9ef0916a6e..5d50ac5536 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -34,63 +34,33 @@ image: engine: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine -<<<<<<< HEAD # -- Specify Longhorn engine image tag tag: v1.6.0-rc1 -======= - # -- Tag for the Longhorn Engine image. - tag: master-head ->>>>>>> ea910b7 (fix(doc): update the description in helm values) manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager -<<<<<<< HEAD # -- Specify Longhorn manager image tag tag: v1.6.0-rc1 -======= - # -- Tag for the Longhorn Manager image. - tag: master-head ->>>>>>> ea910b7 (fix(doc): update the description in helm values) ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui -<<<<<<< HEAD # -- Specify Longhorn ui image tag tag: v1.6.0-rc1 -======= - # -- Tag for the Longhorn UI image. - tag: master-head ->>>>>>> ea910b7 (fix(doc): update the description in helm values) instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager -<<<<<<< HEAD # -- Specify Longhorn instance manager image tag tag: v1.6.0-rc1 -======= - # -- Tag for the Longhorn Instance Manager image. - tag: master-head ->>>>>>> ea910b7 (fix(doc): update the description in helm values) shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager -<<<<<<< HEAD # -- Specify Longhorn share manager image tag tag: v1.6.0-rc1 -======= - # -- Tag for the Longhorn Share Manager image. - tag: master-head ->>>>>>> ea910b7 (fix(doc): update the description in helm values) backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager -<<<<<<< HEAD # -- Specify Longhorn backing image manager image tag tag: v1.6.0-rc1 -======= - # -- Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. - tag: master-head ->>>>>>> ea910b7 (fix(doc): update the description in helm values) supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit From 7a40621dee1408bd90cf9bf92e41ed626f3d0221 Mon Sep 17 00:00:00 2001 From: David Ko Date: Fri, 19 Jan 2024 09:54:32 +0000 Subject: [PATCH 09/88] release: v1.6.0-rc2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 702f79a395..b58f856582 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.0-rc1 -appVersion: v1.6.0-rc1 +version: 1.6.0-rc2 +appVersion: v1.6.0-rc2 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 084febf0db..b668c48d59 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.0-rc1 + default: v1.6.0-rc2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.0-rc1 + default: v1.6.0-rc2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.0-rc1 + default: v1.6.0-rc2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.0-rc1 + default: v1.6.0-rc2 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.0-rc1 + default: v1.6.0-rc2 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.0-rc1 + default: v1.6.0-rc2 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 5d50ac5536..cc1bd42006 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.0-rc1 + tag: v1.6.0-rc2 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.0-rc1 + tag: v1.6.0-rc2 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.0-rc1 + tag: v1.6.0-rc2 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.0-rc1 + tag: v1.6.0-rc2 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.0-rc1 + tag: v1.6.0-rc2 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.0-rc1 + tag: v1.6.0-rc2 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index b80522d8d6..4707503bcc 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.11.0 -longhornio/backing-image-manager:v1.6.0-rc1 -longhornio/longhorn-engine:v1.6.0-rc1 -longhornio/longhorn-instance-manager:v1.6.0-rc1 -longhornio/longhorn-manager:v1.6.0-rc1 -longhornio/longhorn-share-manager:v1.6.0-rc1 -longhornio/longhorn-ui:v1.6.0-rc1 +longhornio/backing-image-manager:v1.6.0-rc2 +longhornio/longhorn-engine:v1.6.0-rc2 +longhornio/longhorn-instance-manager:v1.6.0-rc2 +longhornio/longhorn-manager:v1.6.0-rc2 +longhornio/longhorn-share-manager:v1.6.0-rc2 +longhornio/longhorn-ui:v1.6.0-rc2 longhornio/support-bundle-kit:v0.0.33 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 5ec013d405..338d7f2ddb 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 data: storageclass.yaml: | kind: StorageClass @@ -105,7 +105,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -277,7 +277,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -453,7 +453,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -754,7 +754,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: backups.longhorn.io spec: @@ -950,7 +950,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1133,7 +1133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1300,7 +1300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1498,7 +1498,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1873,7 +1873,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2141,7 +2141,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2392,7 +2392,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2663,7 +2663,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2898,7 +2898,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: settings.longhorn.io spec: @@ -2990,7 +2990,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3105,7 +3105,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3232,7 +3232,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3358,7 +3358,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3486,7 +3486,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3588,7 +3588,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3972,7 +3972,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4101,7 +4101,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 rules: - apiGroups: - apiextensions.k8s.io @@ -4167,7 +4167,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4185,7 +4185,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4202,7 +4202,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4223,7 +4223,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4244,7 +4244,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4265,7 +4265,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4286,7 +4286,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4307,7 +4307,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4323,7 +4323,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4339,7 +4339,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4352,12 +4352,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.0-rc1 + image: longhornio/longhorn-manager:v1.6.0-rc2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4366,17 +4366,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.0-rc1" + - "longhornio/longhorn-engine:v1.6.0-rc2" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.0-rc1" + - "longhornio/longhorn-instance-manager:v1.6.0-rc2" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.0-rc1" + - "longhornio/longhorn-share-manager:v1.6.0-rc2" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.0-rc1" + - "longhornio/backing-image-manager:v1.6.0-rc2" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.33" - --manager-image - - "longhornio/longhorn-manager:v1.6.0-rc1" + - "longhornio/longhorn-manager:v1.6.0-rc2" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4446,7 +4446,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 spec: replicas: 1 selector: @@ -4457,23 +4457,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.0-rc1 + image: longhornio/longhorn-manager:v1.6.0-rc2 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.0-rc1 + image: longhornio/longhorn-manager:v1.6.0-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.0-rc1" + - "longhornio/longhorn-manager:v1.6.0-rc2" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4513,7 +4513,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4527,7 +4527,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc1 + app.kubernetes.io/version: v1.6.0-rc2 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4545,7 +4545,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.0-rc1 + image: longhornio/longhorn-ui:v1.6.0-rc2 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 51ab6f0d45..36d8691e40 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.0-rc1 + image: longhornio/longhorn-manager:v1.6.0-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager From 274e7bcf2f42f2921f415baa6a7d093af12c653e Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 23 Jan 2024 08:51:47 +0800 Subject: [PATCH 10/88] fix(namespace): add the field namespaceOverride back. This field is used to override the Longhorn namespace when Longhorn is a sub-chart such as a sub-chart of the Harvester. Ref longhorn/longhorn#6527 Signed-off-by: James Lu (cherry picked from commit 6ecba5608a660397b20dab3fe080dbf3b35011b5) --- chart/README.md | 1 + chart/templates/_helpers.tpl | 4 ++++ chart/values.yaml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/chart/README.md b/chart/README.md index 4912b4bca9..d7e2814775 100644 --- a/chart/README.md +++ b/chart/README.md @@ -243,6 +243,7 @@ For more details, see the [ocp-readme](https://github.com/longhorn/longhorn/blob | enableGoCoverDir | `false` | Setting that allows Longhorn to generate code coverage profiles. | | enablePSP | `false` | Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled. | | metrics.serviceMonitor.enabled | `false` | Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. | +| namespaceOverride | `""` | Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`. | | preUpgradeChecker.jobEnabled | `true` | Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. | | preUpgradeChecker.upgradeVersionCheck | `true` | Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled. | diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index a5c7f4bcb4..3fbc2ac02f 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -58,5 +58,9 @@ app.kubernetes.io/version: {{ .Chart.AppVersion }} define the longhorn release namespace */ -}} {{- define "release_namespace" -}} +{{- if .Values.namespaceOverride -}} +{{- .Values.namespaceOverride -}} +{{- else -}} {{- .Release.Namespace -}} {{- end -}} +{{- end -}} diff --git a/chart/values.yaml b/chart/values.yaml index cc1bd42006..7cfd2fa777 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -450,6 +450,9 @@ ingress: # -- Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled. enablePSP: false +# -- Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`. +namespaceOverride: "" + # -- Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. annotations: {} From 078bddf73b68809fe5119e16fe61d825b7d9c1da Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Wed, 17 Jan 2024 15:51:00 -0600 Subject: [PATCH 11/88] Remove sessionAffinity ClientIP from services Longhorn 7399 Signed-off-by: Eric Weber (cherry picked from commit b0568e92894ea8881c72e228e3e6ecd0e053067d) --- chart/templates/daemonset-sa.yaml | 1 - chart/templates/services.yaml | 3 --- deploy/longhorn.yaml | 4 ---- 3 files changed, 8 deletions(-) diff --git a/chart/templates/daemonset-sa.yaml b/chart/templates/daemonset-sa.yaml index cb0714747c..2fa1cbc243 100644 --- a/chart/templates/daemonset-sa.yaml +++ b/chart/templates/daemonset-sa.yaml @@ -156,7 +156,6 @@ metadata: {{- end }} spec: type: {{ .Values.service.manager.type }} - sessionAffinity: ClientIP selector: app: longhorn-manager ports: diff --git a/chart/templates/services.yaml b/chart/templates/services.yaml index 7da9d1892f..8baef021f3 100644 --- a/chart/templates/services.yaml +++ b/chart/templates/services.yaml @@ -7,7 +7,6 @@ metadata: namespace: {{ include "release_namespace" . }} spec: type: ClusterIP - sessionAffinity: ClientIP selector: app: longhorn-manager ports: @@ -24,7 +23,6 @@ metadata: namespace: {{ include "release_namespace" . }} spec: type: ClusterIP - sessionAffinity: ClientIP selector: app: longhorn-manager ports: @@ -41,7 +39,6 @@ metadata: namespace: {{ include "release_namespace" . }} spec: type: ClusterIP - sessionAffinity: ClientIP selector: app: longhorn-manager ports: diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 338d7f2ddb..b784391ced 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4208,7 +4208,6 @@ metadata: namespace: longhorn-system spec: type: ClusterIP - sessionAffinity: ClientIP selector: app: longhorn-manager ports: @@ -4250,7 +4249,6 @@ metadata: namespace: longhorn-system spec: type: ClusterIP - sessionAffinity: ClientIP selector: app: longhorn-manager ports: @@ -4271,7 +4269,6 @@ metadata: namespace: longhorn-system spec: type: ClusterIP - sessionAffinity: ClientIP selector: app: longhorn-manager ports: @@ -4292,7 +4289,6 @@ metadata: namespace: longhorn-system spec: type: ClusterIP - sessionAffinity: ClientIP selector: app: longhorn-manager ports: From b34b8735e0c98daa9e4d200d3f17c5cb6056e1f3 Mon Sep 17 00:00:00 2001 From: Phan Le Date: Wed, 24 Jan 2024 17:59:28 -0800 Subject: [PATCH 12/88] Fix bug invalid questions.yaml file There are unescaped " characters that render the questions.yaml an invalid yaml file longhorn-7496 Signed-off-by: Phan Le (cherry picked from commit c3a9f120e30287d5ba1b954a0227f637309dff81) --- chart/questions.yaml | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/chart/questions.yaml b/chart/questions.yaml index b668c48d59..7f589f9362 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -215,7 +215,7 @@ questions: default: 3 min: 1 max: 10 - description: "Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3")." + description: "Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value (\"3\")." label: Longhorn CSI Attacher replica count group: "Longhorn CSI Driver Settings" - variable: csi.provisionerReplicaCount @@ -223,7 +223,7 @@ questions: default: 3 min: 1 max: 10 - description: "Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3")." + description: "Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value (\"3\")." label: Longhorn CSI Provisioner replica count group: "Longhorn CSI Driver Settings" - variable: csi.resizerReplicaCount @@ -231,7 +231,7 @@ questions: default: 3 min: 1 max: 10 - description: "Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3")." + description: "Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value (\"3\")." label: Longhorn CSI Resizer replica count group: "Longhorn CSI Driver Settings" - variable: csi.snapshotterReplicaCount @@ -239,12 +239,12 @@ questions: default: 3 min: 1 max: 10 - description: "Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3")." + description: "Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value (\"3\")." label: Longhorn CSI Snapshotter replica count group: "Longhorn CSI Driver Settings" - variable: defaultSettings.backupTarget label: Backup Target - description: "Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")" + description: "Endpoint used to access the backupstore. (Options: \"NFS\", \"CIFS\", \"AWS\", \"GCP\", \"AZURE\")" group: "Longhorn Default Settings" type: string default: @@ -328,7 +328,7 @@ questions: default: "true" - variable: defaultSettings.defaultReplicaCount label: Default Replica Count - description: "Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3"." + description: "Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is \"3\"." group: "Longhorn Default Settings" type: int min: 1 @@ -336,20 +336,20 @@ questions: default: 3 - variable: defaultSettings.defaultLonghornStaticStorageClass label: Default Longhorn Static StorageClass Name - description: "Default Longhorn StorageClass. "storageClassName" is assigned to PVs and PVCs that are created for an existing Longhorn volume. "storageClassName" can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. The default value is "longhorn-static"." + description: "Default Longhorn StorageClass. \"storageClassName\" is assigned to PVs and PVCs that are created for an existing Longhorn volume. \"storageClassName\" can also be used as a label, so it is possible to use a Longhorn StorageClass to bind a workload to an existing PV without creating a Kubernetes StorageClass object. The default value is \"longhorn-static\"." group: "Longhorn Default Settings" type: string default: "longhorn-static" - variable: defaultSettings.backupstorePollInterval label: Backupstore Poll Interval - description: "Number of seconds that Longhorn waits before checking the backupstore for new backups. The default value is "300". When the value is "0", polling is disabled." + description: "Number of seconds that Longhorn waits before checking the backupstore for new backups. The default value is \"300\". When the value is \"0\", polling is disabled." group: "Longhorn Default Settings" type: int min: 0 default: 300 - variable: defaultSettings.failedBackupTTL label: Failed Backup Time to Live - description: "Number of minutes that Longhorn keeps a failed backup resource. When the value is "0", automatic deletion is disabled." + description: "Number of minutes that Longhorn keeps a failed backup resource. When the value is \"0\", automatic deletion is disabled." group: "Longhorn Default Settings" type: int min: 0 @@ -475,7 +475,7 @@ questions: label: Concurrent Replica Rebuild Per Node Limit description: "Maximum number of replicas that can be concurrently rebuilt on each node. WARNING: - - The old setting "Disable Replica Rebuild" is replaced by this setting. + - The old setting \"Disable Replica Rebuild\" is replaced by this setting. - Different from relying on replica starting delay to limit the concurrent rebuilding, if the rebuilding is disabled, replica object replenishment will be directly skipped. - When the value is 0, the eviction and data locality feature won't work. But this shouldn't have any impact to any current replica rebuild and backup restore." group: "Longhorn Default Settings" @@ -484,14 +484,14 @@ questions: default: 5 - variable: defaultSettings.concurrentVolumeBackupRestorePerNodeLimit label: Concurrent Volume Backup Restore Per Node Limit - description: "Maximum number of volumes that can be concurrently restored on each node using a backup. When the value is "0", restoration of volumes using a backup is disabled." + description: "Maximum number of volumes that can be concurrently restored on each node using a backup. When the value is \"0\", restoration of volumes using a backup is disabled." group: "Longhorn Default Settings" type: int min: 0 default: 5 - variable: defaultSettings.disableRevisionCounter label: Disable Revision Counter - description: "Setting that disables the revision counter and thereby prevents Longhorn from tracking all write operations to a volume. When salvaging a volume, Longhorn uses properties of the "volume-head-xxx.img" file (the last file size and the last time the file was modified) to select the replica to be used for volume recovery. This setting applies only to volumes created using the Longhorn UI." + description: "Setting that disables the revision counter and thereby prevents Longhorn from tracking all write operations to a volume. When salvaging a volume, Longhorn uses properties of the \"volume-head-xxx.img\" file (the last file size and the last time the file was modified) to select the replica to be used for volume recovery. This setting applies only to volumes created using the Longhorn UI." group: "Longhorn Default Settings" type: boolean default: "false" @@ -525,7 +525,7 @@ questions: default: "true" - variable: defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit label: Concurrent Automatic Engine Upgrade Per Node Limit - description: "Maximum number of engines that are allowed to concurrently upgrade on each node after Longhorn Manager is upgraded. When the value is "0", Longhorn does not automatically upgrade volume engines to the new default engine image version." + description: "Maximum number of engines that are allowed to concurrently upgrade on each node after Longhorn Manager is upgraded. When the value is \"0\", Longhorn does not automatically upgrade volume engines to the new default engine image version." group: "Longhorn Default Settings" type: int min: 0 @@ -539,19 +539,19 @@ questions: default: 60 - variable: defaultSettings.backingImageRecoveryWaitInterval label: Backing Image Recovery Wait Interval - description: "Number of seconds that Longhorn waits before downloading a backing image file again when the status of all image disk files changes to "failed" or "unknown"." + description: "Number of seconds that Longhorn waits before downloading a backing image file again when the status of all image disk files changes to \"failed\" or \"unknown\"." group: "Longhorn Default Settings" type: int min: 0 default: 300 - variable: defaultSettings.guaranteedInstanceManagerCPU label: Guaranteed Instance Manager CPU - description: "Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is "12". + description: "Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is \"12\". WARNING: - Value 0 means removing the CPU requests from spec of instance manager pods. - Considering the possible number of new instance manager pods in a further system upgrade, this integer value ranges from 0 to 40. - One more set of instance manager pods may need to be deployed when the Longhorn system is upgraded. If current available CPUs of the nodes are not enough for the new instance manager pods, you need to detach the volumes using the oldest instance manager pods so that Longhorn can clean up the old pods automatically and release the CPU resources. And the new pods with the latest instance manager image will be launched then. - - This global setting will be ignored for a node if the field "InstanceManagerCPURequest" on the node is set. + - This global setting will be ignored for a node if the field \"InstanceManagerCPURequest\" on the node is set. - After this setting is changed, all instance manager pods using this global setting on all the nodes will be automatically restarted. In other words, DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES." group: "Longhorn Default Settings" type: int @@ -600,7 +600,7 @@ questions: default: "false" - variable: defaultSettings.engineReplicaTimeout label: Timeout between Engine and Replica - description: "Timeout between the Longhorn Engine and replicas. Specify a value between "8" and "30" seconds. The default value is "8"." + description: "Timeout between the Longhorn Engine and replicas. Specify a value between \"8\" and \"30\" seconds. The default value is \"8\"." group: "Longhorn Default Settings" type: int default: "8" @@ -630,7 +630,7 @@ questions: default: "false" - variable: defaultSettings.fastReplicaRebuildEnabled label: Fast Replica Rebuild Enabled - description: "Setting that allows fast rebuilding of replicas using the checksum of snapshot disk files. Before enabling this setting, you must set the snapshot-data-integrity value to "enable" or "fast-check"." + description: "Setting that allows fast rebuilding of replicas using the checksum of snapshot disk files. Before enabling this setting, you must set the snapshot-data-integrity value to \"enable\" or \"fast-check\"." group: "Longhorn Default Settings" type: boolean default: false @@ -706,7 +706,7 @@ questions: type: boolean - variable: persistence.reclaimPolicy label: Storage Class Retain Policy - description: "Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete")" + description: "Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: \"Retain\", \"Delete\")" group: "Longhorn Storage Class Settings" required: true type: enum @@ -723,7 +723,7 @@ questions: max: 10 default: 3 - variable: persistence.defaultDataLocality - description: "Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort")" + description: "Data locality of the default Longhorn StorageClass. (Options: \"disabled\", \"best-effort\")" label: Default Storage Class Data Locality group: "Longhorn Storage Class Settings" type: enum @@ -806,7 +806,7 @@ questions: type: string default: - variable: persistence.removeSnapshotsDuringFilesystemTrim - description: "Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")" + description: "Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: \"ignored\", \"enabled\", \"disabled\")" label: Default Storage Class Remove Snapshots During Filesystem Trim group: "Longhorn Storage Class Settings" type: enum @@ -837,7 +837,7 @@ questions: label: Ingress Path - variable: service.ui.type default: "Rancher-Proxy" - description: "Service type for Longhorn UI. (Options: "ClusterIP", "NodePort", "LoadBalancer", "Rancher-Proxy")" + description: "Service type for Longhorn UI. (Options: \"ClusterIP\", \"NodePort\", \"LoadBalancer\", \"Rancher-Proxy\")" type: enum options: - "ClusterIP" @@ -879,7 +879,7 @@ questions: subquestions: - variable: networkPolicies.type label: Network Policies for Ingress - description: "Distribution that determines the policy for allowing access for an ingress. (Options: "k3s", "rke2", "rke1")" + description: "Distribution that determines the policy for allowing access for an ingress. (Options: \"k3s\", \"rke2\", \"rke1\")" show_if: "networkPolicies.enabled=true&&ingress.enabled=true" type: enum default: "rke2" From 06b094c2892c850e2b4f2a55a572c2ba6d1d3aca Mon Sep 17 00:00:00 2001 From: David Ko Date: Fri, 26 Jan 2024 15:35:11 +0000 Subject: [PATCH 13/88] release: v1.6.0-rc3 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index b58f856582..3c009d3b20 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.0-rc2 -appVersion: v1.6.0-rc2 +version: 1.6.0-rc3 +appVersion: v1.6.0-rc3 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 7f589f9362..56181873af 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.0-rc2 + default: v1.6.0-rc3 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.0-rc2 + default: v1.6.0-rc3 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.0-rc2 + default: v1.6.0-rc3 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.0-rc2 + default: v1.6.0-rc3 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.0-rc2 + default: v1.6.0-rc3 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.0-rc2 + default: v1.6.0-rc3 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 7cfd2fa777..03df93a0dc 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.0-rc2 + tag: v1.6.0-rc3 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.0-rc2 + tag: v1.6.0-rc3 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.0-rc2 + tag: v1.6.0-rc3 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.0-rc2 + tag: v1.6.0-rc3 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.0-rc2 + tag: v1.6.0-rc3 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.0-rc2 + tag: v1.6.0-rc3 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 4707503bcc..59a87202dc 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.11.0 -longhornio/backing-image-manager:v1.6.0-rc2 -longhornio/longhorn-engine:v1.6.0-rc2 -longhornio/longhorn-instance-manager:v1.6.0-rc2 -longhornio/longhorn-manager:v1.6.0-rc2 -longhornio/longhorn-share-manager:v1.6.0-rc2 -longhornio/longhorn-ui:v1.6.0-rc2 +longhornio/backing-image-manager:v1.6.0-rc3 +longhornio/longhorn-engine:v1.6.0-rc3 +longhornio/longhorn-instance-manager:v1.6.0-rc3 +longhornio/longhorn-manager:v1.6.0-rc3 +longhornio/longhorn-share-manager:v1.6.0-rc3 +longhornio/longhorn-ui:v1.6.0-rc3 longhornio/support-bundle-kit:v0.0.33 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index b784391ced..e6b97c0e9b 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 data: storageclass.yaml: | kind: StorageClass @@ -105,7 +105,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -277,7 +277,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -453,7 +453,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -754,7 +754,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: backups.longhorn.io spec: @@ -950,7 +950,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1133,7 +1133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1300,7 +1300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1498,7 +1498,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1873,7 +1873,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2141,7 +2141,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2392,7 +2392,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2663,7 +2663,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2898,7 +2898,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: settings.longhorn.io spec: @@ -2990,7 +2990,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3105,7 +3105,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3232,7 +3232,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3358,7 +3358,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3486,7 +3486,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3588,7 +3588,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3972,7 +3972,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4101,7 +4101,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 rules: - apiGroups: - apiextensions.k8s.io @@ -4167,7 +4167,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4185,7 +4185,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4202,7 +4202,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4222,7 +4222,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4243,7 +4243,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4263,7 +4263,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4283,7 +4283,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4303,7 +4303,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4319,7 +4319,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4335,7 +4335,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4348,12 +4348,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.0-rc2 + image: longhornio/longhorn-manager:v1.6.0-rc3 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4362,17 +4362,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.0-rc2" + - "longhornio/longhorn-engine:v1.6.0-rc3" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.0-rc2" + - "longhornio/longhorn-instance-manager:v1.6.0-rc3" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.0-rc2" + - "longhornio/longhorn-share-manager:v1.6.0-rc3" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.0-rc2" + - "longhornio/backing-image-manager:v1.6.0-rc3" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.33" - --manager-image - - "longhornio/longhorn-manager:v1.6.0-rc2" + - "longhornio/longhorn-manager:v1.6.0-rc3" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4442,7 +4442,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 spec: replicas: 1 selector: @@ -4453,23 +4453,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.0-rc2 + image: longhornio/longhorn-manager:v1.6.0-rc3 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.0-rc2 + image: longhornio/longhorn-manager:v1.6.0-rc3 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.0-rc2" + - "longhornio/longhorn-manager:v1.6.0-rc3" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4509,7 +4509,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4523,7 +4523,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc2 + app.kubernetes.io/version: v1.6.0-rc3 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4541,7 +4541,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.0-rc2 + image: longhornio/longhorn-ui:v1.6.0-rc3 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 36d8691e40..948f3e2a44 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.0-rc2 + image: longhornio/longhorn-manager:v1.6.0-rc3 imagePullPolicy: IfNotPresent command: - longhorn-manager From 32a205fef1fe6876b85a4505a7e73298c26d3fb5 Mon Sep 17 00:00:00 2001 From: David Ko Date: Thu, 1 Feb 2024 01:38:00 +0000 Subject: [PATCH 14/88] release: v1.6.0 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 3c009d3b20..ad09cd70b0 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.0-rc3 -appVersion: v1.6.0-rc3 +version: 1.6.0 +appVersion: v1.6.0 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 56181873af..0cab64ae54 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.0-rc3 + default: v1.6.0 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.0-rc3 + default: v1.6.0 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.0-rc3 + default: v1.6.0 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.0-rc3 + default: v1.6.0 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.0-rc3 + default: v1.6.0 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.0-rc3 + default: v1.6.0 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 03df93a0dc..0a49caaf09 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.0-rc3 + tag: v1.6.0 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.0-rc3 + tag: v1.6.0 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.0-rc3 + tag: v1.6.0 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.0-rc3 + tag: v1.6.0 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.0-rc3 + tag: v1.6.0 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.0-rc3 + tag: v1.6.0 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 59a87202dc..7265a7c558 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.11.0 -longhornio/backing-image-manager:v1.6.0-rc3 -longhornio/longhorn-engine:v1.6.0-rc3 -longhornio/longhorn-instance-manager:v1.6.0-rc3 -longhornio/longhorn-manager:v1.6.0-rc3 -longhornio/longhorn-share-manager:v1.6.0-rc3 -longhornio/longhorn-ui:v1.6.0-rc3 +longhornio/backing-image-manager:v1.6.0 +longhornio/longhorn-engine:v1.6.0 +longhornio/longhorn-instance-manager:v1.6.0 +longhornio/longhorn-manager:v1.6.0 +longhornio/longhorn-share-manager:v1.6.0 +longhornio/longhorn-ui:v1.6.0 longhornio/support-bundle-kit:v0.0.33 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index e6b97c0e9b..c3c2e0154f 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 data: storageclass.yaml: | kind: StorageClass @@ -105,7 +105,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -277,7 +277,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -453,7 +453,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -754,7 +754,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: backups.longhorn.io spec: @@ -950,7 +950,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1133,7 +1133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1300,7 +1300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1498,7 +1498,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1873,7 +1873,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2141,7 +2141,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2392,7 +2392,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2663,7 +2663,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2898,7 +2898,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: settings.longhorn.io spec: @@ -2990,7 +2990,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3105,7 +3105,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3232,7 +3232,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3358,7 +3358,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3486,7 +3486,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3588,7 +3588,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3972,7 +3972,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4101,7 +4101,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 rules: - apiGroups: - apiextensions.k8s.io @@ -4167,7 +4167,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4185,7 +4185,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4202,7 +4202,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4222,7 +4222,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4243,7 +4243,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4263,7 +4263,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4283,7 +4283,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4303,7 +4303,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4319,7 +4319,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4335,7 +4335,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4348,12 +4348,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.0-rc3 + image: longhornio/longhorn-manager:v1.6.0 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4362,17 +4362,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.0-rc3" + - "longhornio/longhorn-engine:v1.6.0" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.0-rc3" + - "longhornio/longhorn-instance-manager:v1.6.0" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.0-rc3" + - "longhornio/longhorn-share-manager:v1.6.0" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.0-rc3" + - "longhornio/backing-image-manager:v1.6.0" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.33" - --manager-image - - "longhornio/longhorn-manager:v1.6.0-rc3" + - "longhornio/longhorn-manager:v1.6.0" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4442,7 +4442,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 spec: replicas: 1 selector: @@ -4453,23 +4453,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.0-rc3 + image: longhornio/longhorn-manager:v1.6.0 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.0-rc3 + image: longhornio/longhorn-manager:v1.6.0 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.0-rc3" + - "longhornio/longhorn-manager:v1.6.0" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4509,7 +4509,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4523,7 +4523,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0-rc3 + app.kubernetes.io/version: v1.6.0 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4541,7 +4541,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.0-rc3 + image: longhornio/longhorn-ui:v1.6.0 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 948f3e2a44..2be04a2341 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.0-rc3 + image: longhornio/longhorn-manager:v1.6.0 imagePullPolicy: IfNotPresent command: - longhorn-manager From f6f76fc44f038ff8e0d97654a19725612d8bac5f Mon Sep 17 00:00:00 2001 From: Bradley O'Connell Date: Fri, 2 Feb 2024 03:57:16 -0500 Subject: [PATCH 15/88] Fix grammatical errors making error messages confusing Fixed a double negative ("neither...nor...not...") Fixed confusing wording on NFS clients not found error Signed-off-by: Bradley O'Connell (cherry picked from commit 48c3137189cf82bf4468bdc9efa1161d43548ff2) --- scripts/environment_check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/environment_check.sh b/scripts/environment_check.sh index 7a60b1c0fd..a8d2378e7e 100755 --- a/scripts/environment_check.sh +++ b/scripts/environment_check.sh @@ -313,7 +313,7 @@ check_iscsid() { kubectl exec ${pod} -- nsenter --mount=/proc/1/ns/mnt -- bash -c "systemctl status --no-pager iscsid.socket" > /dev/null 2>&1 if [ $? -ne 0 ]; then node=$(kubectl get ${pod} --no-headers -o=custom-columns=:.spec.nodeName) - error "Neither iscsid.service nor iscsid.socket is not running on ${node}" + error "Neither iscsid.service nor iscsid.socket is running on ${node}" return 1 fi fi @@ -385,7 +385,7 @@ check_nfs_client() { fi done - error "NFS clients ${options[*]} should be enabled at least one." + error "NFS clients ${options[*]} not found. At least one should be enabled" return 1 } From c5bad5172579ec1db371661476e19871dd29154c Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Fri, 26 Jan 2024 14:59:34 -0600 Subject: [PATCH 16/88] Add LastFailedAt and LastHealthyAt replica fields Longhorn 7425 Signed-off-by: Eric Weber (cherry picked from commit a08eead4972eb8b27b417425e7a941cbc7d8f47b) --- chart/templates/crds.yaml | 8 ++++++++ deploy/longhorn.yaml | 36 ++++++++++++++++++++++-------------- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index b6bc248455..5699e07dca 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -2648,13 +2648,21 @@ spec: evictionRequested: type: boolean failedAt: + description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. type: string hardNodeAffinity: type: string healthyAt: + description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. type: string image: type: string + lastFailedAt: + description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. + type: string + lastHealthyAt: + description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. + type: string logRequested: type: boolean nodeID: diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index c3c2e0154f..346d0be855 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -5,20 +5,6 @@ kind: Namespace metadata: name: longhorn-system --- -# Source: longhorn/templates/priorityclass.yaml -apiVersion: scheduling.k8s.io/v1 -kind: PriorityClass -metadata: - name: "longhorn-critical" - labels: - app.kubernetes.io/name: longhorn - app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 -description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" -globalDefault: false -preemptionPolicy: PreemptLowerPriority -value: 1000000000 ---- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount @@ -2795,13 +2781,21 @@ spec: evictionRequested: type: boolean failedAt: + description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. type: string hardNodeAffinity: type: string healthyAt: + description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. type: string image: type: string + lastFailedAt: + description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. + type: string + lastHealthyAt: + description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. + type: string logRequested: type: boolean nodeID: @@ -4569,3 +4563,17 @@ spec: --- # Source: longhorn/templates/validate-psp-install.yaml # +--- +# Source: longhorn/templates/priorityclass.yaml +apiVersion: scheduling.k8s.io/v1 +kind: PriorityClass +metadata: + name: "longhorn-critical" + labels: + app.kubernetes.io/name: longhorn + app.kubernetes.io/instance: longhorn + app.kubernetes.io/version: v1.6.0 +description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" +globalDefault: false +preemptionPolicy: PreemptLowerPriority +value: 1000000000 From 3e04f753f2449ef9d91b623b4b4263c6c843bd9b Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Thu, 8 Feb 2024 16:47:46 -0600 Subject: [PATCH 17/88] Make InstanceProcessStatus.Conditions nullable Longhorn 7887 Signed-off-by: Eric Weber (cherry picked from commit e64e70da840f82aa58195a0b16513bf498126846) --- chart/templates/crds.yaml | 3 +++ deploy/longhorn.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index 5699e07dca..f9861afa58 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -1871,6 +1871,7 @@ spec: conditions: additionalProperties: type: boolean + nullable: true type: object endpoint: type: string @@ -1913,6 +1914,7 @@ spec: conditions: additionalProperties: type: boolean + nullable: true type: object endpoint: type: string @@ -1955,6 +1957,7 @@ spec: conditions: additionalProperties: type: boolean + nullable: true type: object endpoint: type: string diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 346d0be855..e0336f0f2f 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -1991,6 +1991,7 @@ spec: conditions: additionalProperties: type: boolean + nullable: true type: object endpoint: type: string @@ -2033,6 +2034,7 @@ spec: conditions: additionalProperties: type: boolean + nullable: true type: object endpoint: type: string @@ -2075,6 +2077,7 @@ spec: conditions: additionalProperties: type: boolean + nullable: true type: object endpoint: type: string From 1565904d5070904bed0575aad3559595ba6a5711 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Wed, 7 Feb 2024 15:11:37 -0600 Subject: [PATCH 18/88] Use livenessprobe version with upstream fix Longhorn 7428 Signed-off-by: Eric Weber (cherry picked from commit ce17dcb2ba3da3216b902d7b5c61d679b38a757c) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index d7e2814775..da075d4075 100644 --- a/chart/README.md +++ b/chart/README.md @@ -94,7 +94,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.attacher.tag | string | `"v4.4.2"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | -| image.csi.livenessProbe.tag | string | `"v2.11.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | +| image.csi.livenessProbe.tag | string | `"v2.12.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.tag | string | `"v2.9.2"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 0cab64ae54..3fc39fb8c4 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -161,7 +161,7 @@ questions: label: Longhorn CSI Liveness Probe Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.livenessProbe.tag - default: v2.11.0 + default: v2.12.0 description: "Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Liveness Probe Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 0a49caaf09..01d76d5e48 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -96,7 +96,7 @@ image: # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. repository: longhornio/livenessprobe # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. - tag: v2.11.0 + tag: v2.12.0 openshift: oauthProxy: # -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 7265a7c558..740dc66d0b 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -3,7 +3,7 @@ longhornio/csi-provisioner:v3.6.2 longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 -longhornio/livenessprobe:v2.11.0 +longhornio/livenessprobe:v2.12.0 longhornio/backing-image-manager:v1.6.0 longhornio/longhorn-engine:v1.6.0 longhornio/longhorn-instance-manager:v1.6.0 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index e0336f0f2f..f738103f72 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4493,7 +4493,7 @@ spec: - name: CSI_SNAPSHOTTER_IMAGE value: "longhornio/csi-snapshotter:v6.3.2" - name: CSI_LIVENESS_PROBE_IMAGE - value: "longhornio/livenessprobe:v2.11.0" + value: "longhornio/livenessprobe:v2.12.0" priorityClassName: "longhorn-critical" serviceAccountName: longhorn-service-account securityContext: From 8ef1bb18c1c8a8eee7cf99ae7762e5df15461b29 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Mon, 12 Feb 2024 13:08:51 -0600 Subject: [PATCH 19/88] Explicitly set preserveUnknownFields to false Longhorn 7887 Signed-off-by: Eric Weber (cherry picked from commit b600c227583815dd25448a99956b5e14cc9e19fb) --- chart/templates/crds.yaml | 8 ++++---- deploy/longhorn.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index f9861afa58..669c26c602 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -1367,7 +1367,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: engines.longhorn.io @@ -1380,6 +1379,7 @@ spec: shortNames: - lhe singular: engine + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -1738,7 +1738,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: instancemanagers.longhorn.io @@ -1751,6 +1750,7 @@ spec: shortNames: - lhim singular: instancemanager + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -2518,7 +2518,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: replicas.longhorn.io @@ -2531,6 +2530,7 @@ spec: shortNames: - lhr singular: replica + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -2757,7 +2757,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: settings.longhorn.io @@ -2770,6 +2769,7 @@ spec: shortNames: - lhs singular: setting + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index f738103f72..a8869fc6e0 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -1480,7 +1480,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -1496,6 +1495,7 @@ spec: shortNames: - lhe singular: engine + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -1855,7 +1855,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -1871,6 +1870,7 @@ spec: shortNames: - lhim singular: instancemanager + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -2648,7 +2648,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -2664,6 +2663,7 @@ spec: shortNames: - lhr singular: replica + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -2891,7 +2891,6 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -2907,6 +2906,7 @@ spec: shortNames: - lhs singular: setting + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: From 6c6aa0b60fa1d486549e47d9f924438f3a769b9f Mon Sep 17 00:00:00 2001 From: James Munson Date: Mon, 19 Feb 2024 14:04:07 -0700 Subject: [PATCH 20/88] fix(env_check): Add check for kernel ranges known to have NFS issues. Signed-off-by: James Munson (cherry picked from commit 0ab860afcfee03cdf2db281f51063807ad52b69d) --- scripts/environment_check.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/scripts/environment_check.sh b/scripts/environment_check.sh index a8d2378e7e..6f3ff782ee 100755 --- a/scripts/environment_check.sh +++ b/scripts/environment_check.sh @@ -291,18 +291,33 @@ verlt() { ! verlte "$2" "$1" } +kernel_in_range() { + verlte "$2" "$1" && verlt "$1" "$3" +} + check_kernel_release() { local pod=$1 + local node=$(kubectl get ${pod} --no-headers -o=custom-columns=:.spec.nodeName) recommended_kernel_release="5.8" local kernel=$(detect_node_kernel_release ${pod}) if verlt "$kernel" "$recommended_kernel_release" ; then - local node=$(kubectl get ${pod} --no-headers -o=custom-columns=:.spec.nodeName) warn "Node $node has outdated kernel release: $kernel. Recommending kernel release >= $recommended_kernel_release" return 1 fi + + local broken_kernel=("5.15.0-94" "6.5.6") + local fixed_kernel=("5.15.0-100" "6.5.7") + + for i in ${!broken_kernel[@]}; do + if kernel_in_range "$kernel" "${broken_kernel[$i]}" "${fixed_kernel[$i]}" ; then + warn "Node $node has a kernel version $kernel known to have a breakage that affects Longhorn. See description and solution at https://longhorn.io/kb/troubleshooting-rwx-volume-fails-to-attached-caused-by-protocol-not-supported.md" + return 1 + fi + done + } check_iscsid() { From 9bad1cd5e38e8f9f92f706fe0dfbf5a2ff905076 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Thu, 8 Feb 2024 20:26:09 +0000 Subject: [PATCH 21/88] chart: Add Snapshot Maximum Count to the Settings It was missing Signed-off-by: Yarden Shoham (cherry picked from commit 90fef11749390fc2017db37bd27d271300519308) --- chart/README.md | 1 + chart/questions.yaml | 8 ++++++++ chart/templates/default-setting.yaml | 3 +++ chart/values.yaml | 2 ++ 4 files changed, 14 insertions(+) diff --git a/chart/README.md b/chart/README.md index da075d4075..a7e7ca4dd9 100644 --- a/chart/README.md +++ b/chart/README.md @@ -288,6 +288,7 @@ During installation, you can either allow Longhorn to use the default system set | defaultSettings.guaranteedInstanceManagerCPU | Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is "12". | | defaultSettings.kubernetesClusterAutoscalerEnabled | Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. | | defaultSettings.logLevel | Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace") | +| defaultSettings.maxSnapshotNum | Maximum snapshot count for a volume. The value should be between 2 to 250 | | defaultSettings.nodeDownPodDeletionPolicy | Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed. | | defaultSettings.nodeDrainPolicy | Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained. | | defaultSettings.offlineReplicaRebuilding | Setting that allows rebuilding of offline replicas for volumes using the V2 Data Engine. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 3fc39fb8c4..85ab6a3a41 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -260,6 +260,14 @@ questions: group: "Longhorn Default Settings" type: boolean default: "false" + - variable: defaultSettings.maxSnapshotNum + label: Snapshot Maximum Count + description: 'Maximum snapshot count for a volume. The value should be between 2 to 250.' + group: "Longhorn Default Settings" + type: int + min: 2 + max: 250 + default: 250 - variable: defaultSettings.createDefaultDiskLabeledNodes label: Create Default Disk on Labeled Nodes description: 'Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster.' diff --git a/chart/templates/default-setting.yaml b/chart/templates/default-setting.yaml index 112873595b..59e4d07f44 100644 --- a/chart/templates/default-setting.yaml +++ b/chart/templates/default-setting.yaml @@ -223,4 +223,7 @@ data: {{- end }} {{- if not (kindIs "invalid" .Values.defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU) }} v2-data-engine-guaranteed-instance-manager-cpu: {{ .Values.defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU }} + {{- end }} + {{- if not (kindIs "invalid" .Values.defaultSettings.maxSnapshotNum) }} + max-snapshotum: {{ .Values.defaultSettings.maxSnapshotNum }} {{- end }} \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index 01d76d5e48..c3a3499106 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -319,6 +319,8 @@ defaultSettings: allowCollectingLonghornUsageMetrics: ~ # -- Setting that temporarily prevents all attempts to purge volume snapshots. disableSnapshotPurge: ~ + # -- Maximum snapshot count for a volume. The value should be between 2 to 250 + maxSnapshotNum: ~ privateRegistry: # -- Setting that allows you to create a private registry secret. From 3aa4bc76e3d86a6460ca4ab686b1ea8ff24c4dca Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Thu, 8 Feb 2024 21:01:48 +0000 Subject: [PATCH 22/88] defaultSettings.maxSnapshotNum -> defaultSettings.snapshotMaxCount Signed-off-by: Yarden Shoham (cherry picked from commit cdac54f22f89530751e71d62899839f3836f708b) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/templates/default-setting.yaml | 4 ++-- chart/values.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index a7e7ca4dd9..e016fd66fd 100644 --- a/chart/README.md +++ b/chart/README.md @@ -288,7 +288,7 @@ During installation, you can either allow Longhorn to use the default system set | defaultSettings.guaranteedInstanceManagerCPU | Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is "12". | | defaultSettings.kubernetesClusterAutoscalerEnabled | Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. | | defaultSettings.logLevel | Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace") | -| defaultSettings.maxSnapshotNum | Maximum snapshot count for a volume. The value should be between 2 to 250 | +| defaultSettings.snapshotMaxCount | Maximum snapshot count for a volume. The value should be between 2 to 250 | | defaultSettings.nodeDownPodDeletionPolicy | Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed. | | defaultSettings.nodeDrainPolicy | Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained. | | defaultSettings.offlineReplicaRebuilding | Setting that allows rebuilding of offline replicas for volumes using the V2 Data Engine. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 85ab6a3a41..7a282a6c12 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -260,7 +260,7 @@ questions: group: "Longhorn Default Settings" type: boolean default: "false" - - variable: defaultSettings.maxSnapshotNum + - variable: defaultSettings.snapshotMaxCount label: Snapshot Maximum Count description: 'Maximum snapshot count for a volume. The value should be between 2 to 250.' group: "Longhorn Default Settings" diff --git a/chart/templates/default-setting.yaml b/chart/templates/default-setting.yaml index 59e4d07f44..5261f7fef8 100644 --- a/chart/templates/default-setting.yaml +++ b/chart/templates/default-setting.yaml @@ -224,6 +224,6 @@ data: {{- if not (kindIs "invalid" .Values.defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU) }} v2-data-engine-guaranteed-instance-manager-cpu: {{ .Values.defaultSettings.v2DataEngineGuaranteedInstanceManagerCPU }} {{- end }} - {{- if not (kindIs "invalid" .Values.defaultSettings.maxSnapshotNum) }} - max-snapshotum: {{ .Values.defaultSettings.maxSnapshotNum }} + {{- if not (kindIs "invalid" .Values.defaultSettings.snapshotMaxCount) }} + snapshot-max-count: {{ .Values.defaultSettings.snapshotMaxCount }} {{- end }} \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index c3a3499106..d900b61b78 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -320,7 +320,7 @@ defaultSettings: # -- Setting that temporarily prevents all attempts to purge volume snapshots. disableSnapshotPurge: ~ # -- Maximum snapshot count for a volume. The value should be between 2 to 250 - maxSnapshotNum: ~ + snapshotMaxCount: ~ privateRegistry: # -- Setting that allows you to create a private registry secret. From bcec10555f7c9bcdd510c9d8cee92d443529ad28 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Tue, 20 Feb 2024 09:37:15 +0000 Subject: [PATCH 23/88] Run `./scripts/helm-docs.sh` Signed-off-by: Yarden Shoham (cherry picked from commit 578031e8f3b6bcae13b6f6ada5d309bea4c7ef05) --- chart/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/README.md b/chart/README.md index e016fd66fd..6c369eb4c0 100644 --- a/chart/README.md +++ b/chart/README.md @@ -288,7 +288,6 @@ During installation, you can either allow Longhorn to use the default system set | defaultSettings.guaranteedInstanceManagerCPU | Percentage of the total allocatable CPU resources on each node to be reserved for each instance manager pod when the V1 Data Engine is enabled. The default value is "12". | | defaultSettings.kubernetesClusterAutoscalerEnabled | Setting that notifies Longhorn that the cluster is using the Kubernetes Cluster Autoscaler. | | defaultSettings.logLevel | Log levels that indicate the type and severity of logs in Longhorn Manager. The default value is "Info". (Options: "Panic", "Fatal", "Error", "Warn", "Info", "Debug", "Trace") | -| defaultSettings.snapshotMaxCount | Maximum snapshot count for a volume. The value should be between 2 to 250 | | defaultSettings.nodeDownPodDeletionPolicy | Policy that defines the action Longhorn takes when a volume is stuck with a StatefulSet or Deployment pod on a node that failed. | | defaultSettings.nodeDrainPolicy | Policy that defines the action Longhorn takes when a node with the last healthy replica of a volume is drained. | | defaultSettings.offlineReplicaRebuilding | Setting that allows rebuilding of offline replicas for volumes using the V2 Data Engine. | @@ -309,6 +308,7 @@ During installation, you can either allow Longhorn to use the default system set | defaultSettings.snapshotDataIntegrity | Setting that allows you to enable and disable snapshot hashing and data integrity checks. | | defaultSettings.snapshotDataIntegrityCronjob | Setting that defines when Longhorn checks the integrity of data in snapshot disk files. You must use the Unix cron expression format. | | defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation | Setting that allows disabling of snapshot hashing after snapshot creation to minimize impact on system performance. | +| defaultSettings.snapshotMaxCount | Maximum snapshot count for a volume. The value should be between 2 to 250 | | defaultSettings.storageMinimalAvailablePercentage | Percentage of minimum available disk capacity. When the minimum available capacity exceeds the total available capacity, the disk becomes unschedulable until more space is made available for use. The default value is "25". | | defaultSettings.storageNetwork | Storage network for in-cluster traffic. When unspecified, Longhorn uses the Kubernetes cluster network. | | defaultSettings.storageOverProvisioningPercentage | Percentage of storage that can be allocated relative to hard drive capacity. The default value is "100". | From 3382579e6a0ab7dc702b4dc49c68e38c4b1715f2 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Sat, 10 Feb 2024 13:35:13 +0000 Subject: [PATCH 24/88] Fix `removeSnapshotsDuringFilesystemTrim` not being used in helm chart Also ran `./scripts/generate-longhorn-yaml.sh` Signed-off-by: Yarden Shoham (cherry picked from commit 5e47f97c1d7ca2dbf0e7eb498cc68fd3c11a9875) --- chart/templates/storageclass.yaml | 3 +++ deploy/longhorn.yaml | 29 +++++++++++++++-------------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/chart/templates/storageclass.yaml b/chart/templates/storageclass.yaml index 5f61f62421..f79699f5e0 100644 --- a/chart/templates/storageclass.yaml +++ b/chart/templates/storageclass.yaml @@ -45,3 +45,6 @@ data: {{- if .Values.persistence.defaultNodeSelector.enable }} nodeSelector: "{{ .Values.persistence.defaultNodeSelector.selector }}" {{- end }} + {{- if .Values.persistence.removeSnapshotsDuringFilesystemTrim }} + unmapMarkSnapChainRemoved: "{{ .Values.persistence.removeSnapshotsDuringFilesystemTrim }}" + {{- end }} diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index a8869fc6e0..43440aa470 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -5,6 +5,20 @@ kind: Namespace metadata: name: longhorn-system --- +# Source: longhorn/templates/priorityclass.yaml +apiVersion: scheduling.k8s.io/v1 +kind: PriorityClass +metadata: + name: "longhorn-critical" + labels: + app.kubernetes.io/name: longhorn + app.kubernetes.io/instance: longhorn + app.kubernetes.io/version: v1.6.0 +description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" +globalDefault: false +preemptionPolicy: PreemptLowerPriority +value: 1000000000 +--- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount @@ -80,6 +94,7 @@ data: fromBackup: "" fsType: "ext4" dataLocality: "disabled" + unmapMarkSnapChainRemoved: "ignored" --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 @@ -4566,17 +4581,3 @@ spec: --- # Source: longhorn/templates/validate-psp-install.yaml # ---- -# Source: longhorn/templates/priorityclass.yaml -apiVersion: scheduling.k8s.io/v1 -kind: PriorityClass -metadata: - name: "longhorn-critical" - labels: - app.kubernetes.io/name: longhorn - app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 -description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" -globalDefault: false -preemptionPolicy: PreemptLowerPriority -value: 1000000000 From 6c2cb89a3fd3fc5f9e8c05cb08177a366b883741 Mon Sep 17 00:00:00 2001 From: muicoder Date: Fri, 1 Mar 2024 17:06:23 +0800 Subject: [PATCH 25/88] Remediate unavailable URLs Signed-off-by: muicoder (cherry picked from commit d6b6436baa1f234e63327a90522b7ba430111cf2) --- scripts/environment_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/environment_check.sh b/scripts/environment_check.sh index 6f3ff782ee..a05ab594f7 100755 --- a/scripts/environment_check.sh +++ b/scripts/environment_check.sh @@ -313,7 +313,7 @@ check_kernel_release() { for i in ${!broken_kernel[@]}; do if kernel_in_range "$kernel" "${broken_kernel[$i]}" "${fixed_kernel[$i]}" ; then - warn "Node $node has a kernel version $kernel known to have a breakage that affects Longhorn. See description and solution at https://longhorn.io/kb/troubleshooting-rwx-volume-fails-to-attached-caused-by-protocol-not-supported.md" + warn "Node $node has a kernel version $kernel known to have a breakage that affects Longhorn. See description and solution at https://longhorn.io/kb/troubleshooting-rwx-volume-fails-to-attached-caused-by-protocol-not-supported" return 1 fi done From 7e01ba13b41dd74689da8ec9e474baaf91363acc Mon Sep 17 00:00:00 2001 From: muicoder Date: Fri, 1 Mar 2024 17:21:00 +0800 Subject: [PATCH 26/88] Add the URL of the multipathd issue Signed-off-by: muicoder (cherry picked from commit d2b7616691e2d2f89be05004b41cfc48ea342df8) --- scripts/environment_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/environment_check.sh b/scripts/environment_check.sh index a05ab594f7..e64a897af8 100755 --- a/scripts/environment_check.sh +++ b/scripts/environment_check.sh @@ -340,7 +340,7 @@ check_multipathd() { kubectl exec $pod -- nsenter --mount=/proc/1/ns/mnt -- bash -c "systemctl status --no-pager multipathd.service" > /dev/null 2>&1 if [ $? = 0 ]; then node=$(kubectl get ${pod} --no-headers -o=custom-columns=:.spec.nodeName) - warn "multipathd is running on ${node}" + warn "multipathd is running on ${node} known to have a breakage that affects Longhorn. See description and solution at https://longhorn.io/kb/troubleshooting-volume-with-multipath" return 1 fi } From 3c88efcec6d7c50b13d2a6c87c2500de63e2064f Mon Sep 17 00:00:00 2001 From: Nicolas JENDROWIAK <75165555+shkuviak@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:43:23 +0100 Subject: [PATCH 27/88] fix(scripts): Add CIFS credentials options to restore-backup-to-file.sh script Signed-off-by: Nicolas JENDROWIAK <75165555+shkuviak@users.noreply.github.com> (cherry picked from commit 88c49e7416c9da25f1c125780e7de2026e92d7d8) --- scripts/restore-backup-to-file.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/scripts/restore-backup-to-file.sh b/scripts/restore-backup-to-file.sh index 3756512e6a..199567006f 100755 --- a/scripts/restore-backup-to-file.sh +++ b/scripts/restore-backup-to-file.sh @@ -19,6 +19,8 @@ usage () { echo " -v, --version (Required) Longhorn version, e.g., v1.3.2" echo " --aws-access-key (Optional) AWS credentials access key" echo " --aws-secret-access-key (Optional) AWS credentials access secret key" + echo " --cifs-username (Optional) CIFS credentials username" + echo " --cifs-password (Optional) CIFS credentials password" echo " -b, --backing-file (Optional) backing image. e.g., /tmp/backingfile.qcow2" echo " -h, --help Usage message" } @@ -42,6 +44,16 @@ while [[ "$#" -gt 0 ]]; do shift # past argument shift # past value ;; + --cifs-username) + cifs_username="$2" + shift # past argument + shift # past value + ;; + --cifs-password) + cifs_password="$2" + shift # past argument + shift # past value + ;; -u|--backup-url) backup_url="$2" shift # past argument @@ -92,7 +104,10 @@ fi if [[ "${backup_url}" =~ ^[Ss]3 ]]; then CUSTOMIZED_ARGS="-e AWS_ACCESS_KEY_ID="${aws_access_key}" -e AWS_SECRET_ACCESS_KEY="${aws_secret_access_key}" " else - CUSTOMIZED_ARGS="--cap-add SYS_ADMIN --security-opt apparmor:unconfined" + CUSTOMIZED_ARGS="--cap-add SYS_ADMIN --security-opt apparmor:unconfined --cap-add DAC_READ_SEARCH" +fi +if [[ "${backup_url}" =~ ^cifs ]]; then + CUSTOMIZED_ARGS+=" -e CIFS_USERNAME=${cifs_username} -e CIFS_PASSWORD=${cifs_password} " fi # Start restoring a backup to an image file. From 48de46f51409ff0ad293345ccdb70448c439a721 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Tue, 12 Mar 2024 17:44:05 +0800 Subject: [PATCH 28/88] chore(support-bundle): update image version longhorn/longhorn-8159 Signed-off-by: Chin-Ya Huang (cherry picked from commit 47b519ce515919fcccdd498a24882c8edef7e6d7) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 6c369eb4c0..1f449205b5 100644 --- a/chart/README.md +++ b/chart/README.md @@ -114,7 +114,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"master-head"` | Tag for the Longhorn Share Manager image. | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.33"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.36"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"master-head"` | Tag for the Longhorn UI image. | | image.openshift.oauthProxy.repository | string | `"quay.io/openshift/origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 7a282a6c12..20ab8d1333 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.33 + default: v0.0.36 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index d900b61b78..3438b6e182 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -65,7 +65,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.33 + tag: v0.0.36 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 740dc66d0b..294cdcd897 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -10,4 +10,4 @@ longhornio/longhorn-instance-manager:v1.6.0 longhornio/longhorn-manager:v1.6.0 longhornio/longhorn-share-manager:v1.6.0 longhornio/longhorn-ui:v1.6.0 -longhornio/support-bundle-kit:v0.0.33 +longhornio/support-bundle-kit:v0.0.36 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 43440aa470..66be31b2d7 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4382,7 +4382,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.0" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.33" + - "longhornio/support-bundle-kit:v0.0.36" - --manager-image - "longhornio/longhorn-manager:v1.6.0" - --service-account From ce73be226d87ff611e4070a00e07ef0e6651eafd Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Mon, 11 Mar 2024 14:39:35 -0500 Subject: [PATCH 29/88] Track replica mode transition times with replicaTransitionTimeMap Longhorn 8114 Signed-off-by: Eric Weber (cherry picked from commit b801a6e7bc20f4ab8a4b4817a5ed8c94c4320b8b) --- chart/templates/crds.yaml | 13 +++++++++---- deploy/longhorn.yaml | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index 669c26c602..8255499658 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -1655,6 +1655,11 @@ spec: type: string nullable: true type: object + replicaTransitionTimeMap: + additionalProperties: + type: string + description: ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt). + type: object restoreStatus: additionalProperties: properties: @@ -2651,20 +2656,20 @@ spec: evictionRequested: type: boolean failedAt: - description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. + description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string hardNodeAffinity: type: string healthyAt: - description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. + description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string image: type: string lastFailedAt: - description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. + description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string lastHealthyAt: - description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. + description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string logRequested: type: boolean diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 66be31b2d7..40850861fe 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -1786,6 +1786,11 @@ spec: type: string nullable: true type: object + replicaTransitionTimeMap: + additionalProperties: + type: string + description: ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt). + type: object restoreStatus: additionalProperties: properties: @@ -2799,20 +2804,20 @@ spec: evictionRequested: type: boolean failedAt: - description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. + description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string hardNodeAffinity: type: string healthyAt: - description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. + description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string image: type: string lastFailedAt: - description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. + description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string lastHealthyAt: - description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. + description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string logRequested: type: boolean From 6e96e27235c63e97bd8d6d731fe549f2e1a782b1 Mon Sep 17 00:00:00 2001 From: David Ko Date: Wed, 13 Mar 2024 08:48:40 +0000 Subject: [PATCH 30/88] release: v1.6.1-rc1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index ad09cd70b0..9b4e33c163 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.0 -appVersion: v1.6.0 +version: 1.6.1-rc1 +appVersion: v1.6.1-rc1 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 20ab8d1333..b55cb05f62 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.0 + default: v1.6.1-rc1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.0 + default: v1.6.1-rc1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.0 + default: v1.6.1-rc1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.0 + default: v1.6.1-rc1 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.0 + default: v1.6.1-rc1 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.0 + default: v1.6.1-rc1 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 3438b6e182..c35a814c34 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.0 + tag: v1.6.1-rc1 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.0 + tag: v1.6.1-rc1 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.0 + tag: v1.6.1-rc1 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.0 + tag: v1.6.1-rc1 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.0 + tag: v1.6.1-rc1 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.0 + tag: v1.6.1-rc1 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 294cdcd897..82cc5322aa 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 -longhornio/backing-image-manager:v1.6.0 -longhornio/longhorn-engine:v1.6.0 -longhornio/longhorn-instance-manager:v1.6.0 -longhornio/longhorn-manager:v1.6.0 -longhornio/longhorn-share-manager:v1.6.0 -longhornio/longhorn-ui:v1.6.0 +longhornio/backing-image-manager:v1.6.1-rc1 +longhornio/longhorn-engine:v1.6.1-rc1 +longhornio/longhorn-instance-manager:v1.6.1-rc1 +longhornio/longhorn-manager:v1.6.1-rc1 +longhornio/longhorn-share-manager:v1.6.1-rc1 +longhornio/longhorn-ui:v1.6.1-rc1 longhornio/support-bundle-kit:v0.0.36 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 40850861fe..29e2f224d6 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -454,7 +454,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -755,7 +755,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: backups.longhorn.io spec: @@ -951,7 +951,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1134,7 +1134,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1301,7 +1301,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1498,7 +1498,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1878,7 +1878,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2150,7 +2150,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2401,7 +2401,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2671,7 +2671,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2914,7 +2914,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3007,7 +3007,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3122,7 +3122,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3249,7 +3249,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3375,7 +3375,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3503,7 +3503,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3605,7 +3605,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3989,7 +3989,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4118,7 +4118,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 rules: - apiGroups: - apiextensions.k8s.io @@ -4184,7 +4184,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4202,7 +4202,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4219,7 +4219,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4239,7 +4239,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4260,7 +4260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4280,7 +4280,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4300,7 +4300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4320,7 +4320,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4336,7 +4336,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4352,7 +4352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4365,12 +4365,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.0 + image: longhornio/longhorn-manager:v1.6.1-rc1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4379,17 +4379,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.0" + - "longhornio/longhorn-engine:v1.6.1-rc1" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.0" + - "longhornio/longhorn-instance-manager:v1.6.1-rc1" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.0" + - "longhornio/longhorn-share-manager:v1.6.1-rc1" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.0" + - "longhornio/backing-image-manager:v1.6.1-rc1" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.36" - --manager-image - - "longhornio/longhorn-manager:v1.6.0" + - "longhornio/longhorn-manager:v1.6.1-rc1" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4459,7 +4459,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 spec: replicas: 1 selector: @@ -4470,23 +4470,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.0 + image: longhornio/longhorn-manager:v1.6.1-rc1 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.0 + image: longhornio/longhorn-manager:v1.6.1-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.0" + - "longhornio/longhorn-manager:v1.6.1-rc1" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4526,7 +4526,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4540,7 +4540,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.0 + app.kubernetes.io/version: v1.6.1-rc1 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4558,7 +4558,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.0 + image: longhornio/longhorn-ui:v1.6.1-rc1 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 2be04a2341..a8d439b6ab 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.0 + image: longhornio/longhorn-manager:v1.6.1-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager From 7213254fc5ca255e6dda4ec192e26abb5a120d9a Mon Sep 17 00:00:00 2001 From: David Ko Date: Tue, 19 Mar 2024 17:47:43 +0000 Subject: [PATCH 31/88] release: v1.6.1-rc2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 9b4e33c163..9470a1789b 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.1-rc1 -appVersion: v1.6.1-rc1 +version: 1.6.1-rc2 +appVersion: v1.6.1-rc2 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index b55cb05f62..70077ef635 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.1-rc1 + default: v1.6.1-rc2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.1-rc1 + default: v1.6.1-rc2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.1-rc1 + default: v1.6.1-rc2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.1-rc1 + default: v1.6.1-rc2 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.1-rc1 + default: v1.6.1-rc2 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.1-rc1 + default: v1.6.1-rc2 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index c35a814c34..cf91ea00d6 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.1-rc1 + tag: v1.6.1-rc2 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.1-rc1 + tag: v1.6.1-rc2 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.1-rc1 + tag: v1.6.1-rc2 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.1-rc1 + tag: v1.6.1-rc2 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.1-rc1 + tag: v1.6.1-rc2 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.1-rc1 + tag: v1.6.1-rc2 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 82cc5322aa..dcdef69292 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 -longhornio/backing-image-manager:v1.6.1-rc1 -longhornio/longhorn-engine:v1.6.1-rc1 -longhornio/longhorn-instance-manager:v1.6.1-rc1 -longhornio/longhorn-manager:v1.6.1-rc1 -longhornio/longhorn-share-manager:v1.6.1-rc1 -longhornio/longhorn-ui:v1.6.1-rc1 +longhornio/backing-image-manager:v1.6.1-rc2 +longhornio/longhorn-engine:v1.6.1-rc2 +longhornio/longhorn-instance-manager:v1.6.1-rc2 +longhornio/longhorn-manager:v1.6.1-rc2 +longhornio/longhorn-share-manager:v1.6.1-rc2 +longhornio/longhorn-ui:v1.6.1-rc2 longhornio/support-bundle-kit:v0.0.36 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 29e2f224d6..9c7fb4542c 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -454,7 +454,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -755,7 +755,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: backups.longhorn.io spec: @@ -951,7 +951,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1134,7 +1134,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1301,7 +1301,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1498,7 +1498,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1878,7 +1878,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2150,7 +2150,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2401,7 +2401,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2671,7 +2671,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2914,7 +2914,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3007,7 +3007,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3122,7 +3122,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3249,7 +3249,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3375,7 +3375,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3503,7 +3503,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3605,7 +3605,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3989,7 +3989,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4118,7 +4118,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 rules: - apiGroups: - apiextensions.k8s.io @@ -4184,7 +4184,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4202,7 +4202,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4219,7 +4219,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4239,7 +4239,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4260,7 +4260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4280,7 +4280,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4300,7 +4300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4320,7 +4320,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4336,7 +4336,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4352,7 +4352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4365,12 +4365,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.1-rc1 + image: longhornio/longhorn-manager:v1.6.1-rc2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4379,17 +4379,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.1-rc1" + - "longhornio/longhorn-engine:v1.6.1-rc2" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.1-rc1" + - "longhornio/longhorn-instance-manager:v1.6.1-rc2" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.1-rc1" + - "longhornio/longhorn-share-manager:v1.6.1-rc2" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.1-rc1" + - "longhornio/backing-image-manager:v1.6.1-rc2" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.36" - --manager-image - - "longhornio/longhorn-manager:v1.6.1-rc1" + - "longhornio/longhorn-manager:v1.6.1-rc2" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4459,7 +4459,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 spec: replicas: 1 selector: @@ -4470,23 +4470,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.1-rc1 + image: longhornio/longhorn-manager:v1.6.1-rc2 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.1-rc1 + image: longhornio/longhorn-manager:v1.6.1-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.1-rc1" + - "longhornio/longhorn-manager:v1.6.1-rc2" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4526,7 +4526,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4540,7 +4540,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc1 + app.kubernetes.io/version: v1.6.1-rc2 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4558,7 +4558,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.1-rc1 + image: longhornio/longhorn-ui:v1.6.1-rc2 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index a8d439b6ab..4dd832a19f 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.1-rc1 + image: longhornio/longhorn-manager:v1.6.1-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager From 8b152835051e5827b24a23a913cc748722a5bd04 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Thu, 21 Mar 2024 08:13:38 +0000 Subject: [PATCH 32/88] environment_check.sh: add checks for dmcrypt and dmsetup utilities Longhorn 8217 Signed-off-by: Derek Su (cherry picked from commit 257a67295f6b16a3aa7b1ae283ac9e928582e311) --- scripts/environment_check.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/environment_check.sh b/scripts/environment_check.sh index e64a897af8..cb96597183 100755 --- a/scripts/environment_check.sh +++ b/scripts/environment_check.sh @@ -79,23 +79,23 @@ set_packages_and_check_cmd() { case $OS in *"debian"* | *"ubuntu"* ) CHECK_CMD='dpkg -l | grep -w' - PACKAGES=(nfs-common open-iscsi) + PACKAGES=(nfs-common open-iscsi cryptsetup dmsetup) ;; *"centos"* | *"fedora"* | *"rocky"* | *"ol"* ) CHECK_CMD='rpm -q' - PACKAGES=(nfs-utils iscsi-initiator-utils) + PACKAGES=(nfs-utils iscsi-initiator-utils cryptsetup device-mapper) ;; *"suse"* ) CHECK_CMD='rpm -q' - PACKAGES=(nfs-client open-iscsi) + PACKAGES=(nfs-client open-iscsi cryptsetup device-mapper) ;; *"arch"* ) CHECK_CMD='pacman -Q' - PACKAGES=(nfs-utils open-iscsi) + PACKAGES=(nfs-utils open-iscsi cryptsetup device-mapper) ;; *"gentoo"* ) CHECK_CMD='qlist -I' - PACKAGES=(net-fs/nfs-utils sys-block/open-iscsi) + PACKAGES=(net-fs/nfs-utils sys-block/open-iscsi sys-fs/cryptsetup sys-fs/lvm2) ;; *) CHECK_CMD='' @@ -313,7 +313,7 @@ check_kernel_release() { for i in ${!broken_kernel[@]}; do if kernel_in_range "$kernel" "${broken_kernel[$i]}" "${fixed_kernel[$i]}" ; then - warn "Node $node has a kernel version $kernel known to have a breakage that affects Longhorn. See description and solution at https://longhorn.io/kb/troubleshooting-rwx-volume-fails-to-attached-caused-by-protocol-not-supported" + warn "Node $node has a kernel version $kernel known to have a breakage that affects Longhorn. See description and solution at https://longhorn.io/kb/troubleshooting-rwx-volume-fails-to-attached-caused-by-protocol-not-supported" return 1 fi done From 1cd64d6e65dbcddb754b81fab13c8e79dfffa5ae Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Mon, 18 Mar 2024 15:02:22 -0500 Subject: [PATCH 33/88] Add an example that uses a generic ephemeral volume Longhorn 8198 Signed-off-by: Eric Weber (cherry picked from commit c557f1d9d2148798833157dd674f626c6a5454dd) --- examples/pod_with_gev.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 examples/pod_with_gev.yaml diff --git a/examples/pod_with_gev.yaml b/examples/pod_with_gev.yaml new file mode 100644 index 0000000000..57cae3820a --- /dev/null +++ b/examples/pod_with_gev.yaml @@ -0,0 +1,34 @@ +apiVersion: v1 +kind: Pod +metadata: + name: volume-test + namespace: default +spec: + restartPolicy: Always + containers: + - name: volume-test + image: nginx:stable-alpine + imagePullPolicy: IfNotPresent + livenessProbe: + exec: + command: + - ls + - /data/lost+found + initialDelaySeconds: 5 + periodSeconds: 5 + volumeMounts: + - name: volv + mountPath: /data + ports: + - containerPort: 80 + volumes: + - name: volv + ephemeral: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + storageClassName: longhorn + resources: + requests: + storage: 2Gi From 0b64ba64021188134e69890a84fff3e6a2812bf3 Mon Sep 17 00:00:00 2001 From: David Ko Date: Wed, 27 Mar 2024 09:32:28 +0000 Subject: [PATCH 34/88] release: v1.6.1-rc3 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 9470a1789b..c49849cc61 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.1-rc2 -appVersion: v1.6.1-rc2 +version: 1.6.1-rc3 +appVersion: v1.6.1-rc3 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 70077ef635..0cef018899 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.1-rc2 + default: v1.6.1-rc3 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.1-rc2 + default: v1.6.1-rc3 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.1-rc2 + default: v1.6.1-rc3 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.1-rc2 + default: v1.6.1-rc3 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.1-rc2 + default: v1.6.1-rc3 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.1-rc2 + default: v1.6.1-rc3 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index cf91ea00d6..1ec201ddea 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.1-rc2 + tag: v1.6.1-rc3 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.1-rc2 + tag: v1.6.1-rc3 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.1-rc2 + tag: v1.6.1-rc3 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.1-rc2 + tag: v1.6.1-rc3 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.1-rc2 + tag: v1.6.1-rc3 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.1-rc2 + tag: v1.6.1-rc3 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index dcdef69292..3858578b81 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 -longhornio/backing-image-manager:v1.6.1-rc2 -longhornio/longhorn-engine:v1.6.1-rc2 -longhornio/longhorn-instance-manager:v1.6.1-rc2 -longhornio/longhorn-manager:v1.6.1-rc2 -longhornio/longhorn-share-manager:v1.6.1-rc2 -longhornio/longhorn-ui:v1.6.1-rc2 +longhornio/backing-image-manager:v1.6.1-rc3 +longhornio/longhorn-engine:v1.6.1-rc3 +longhornio/longhorn-instance-manager:v1.6.1-rc3 +longhornio/longhorn-manager:v1.6.1-rc3 +longhornio/longhorn-share-manager:v1.6.1-rc3 +longhornio/longhorn-ui:v1.6.1-rc3 longhornio/support-bundle-kit:v0.0.36 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 9c7fb4542c..98c4b82163 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -454,7 +454,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -755,7 +755,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: backups.longhorn.io spec: @@ -951,7 +951,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1134,7 +1134,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1301,7 +1301,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1498,7 +1498,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1878,7 +1878,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2150,7 +2150,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2401,7 +2401,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2671,7 +2671,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2914,7 +2914,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3007,7 +3007,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3122,7 +3122,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3249,7 +3249,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3375,7 +3375,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3503,7 +3503,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3605,7 +3605,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3989,7 +3989,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4118,7 +4118,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 rules: - apiGroups: - apiextensions.k8s.io @@ -4184,7 +4184,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4202,7 +4202,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4219,7 +4219,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4239,7 +4239,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4260,7 +4260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4280,7 +4280,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4300,7 +4300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4320,7 +4320,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4336,7 +4336,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4352,7 +4352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4365,12 +4365,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.1-rc2 + image: longhornio/longhorn-manager:v1.6.1-rc3 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4379,17 +4379,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.1-rc2" + - "longhornio/longhorn-engine:v1.6.1-rc3" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.1-rc2" + - "longhornio/longhorn-instance-manager:v1.6.1-rc3" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.1-rc2" + - "longhornio/longhorn-share-manager:v1.6.1-rc3" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.1-rc2" + - "longhornio/backing-image-manager:v1.6.1-rc3" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.36" - --manager-image - - "longhornio/longhorn-manager:v1.6.1-rc2" + - "longhornio/longhorn-manager:v1.6.1-rc3" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4459,7 +4459,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 spec: replicas: 1 selector: @@ -4470,23 +4470,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.1-rc2 + image: longhornio/longhorn-manager:v1.6.1-rc3 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.1-rc2 + image: longhornio/longhorn-manager:v1.6.1-rc3 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.1-rc2" + - "longhornio/longhorn-manager:v1.6.1-rc3" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4526,7 +4526,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4540,7 +4540,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc2 + app.kubernetes.io/version: v1.6.1-rc3 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4558,7 +4558,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.1-rc2 + image: longhornio/longhorn-ui:v1.6.1-rc3 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 4dd832a19f..ab00afa3e4 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.1-rc2 + image: longhornio/longhorn-manager:v1.6.1-rc3 imagePullPolicy: IfNotPresent command: - longhorn-manager From 51c05f714c264b0d2d88543b58837ff27792e15e Mon Sep 17 00:00:00 2001 From: David Ko Date: Thu, 28 Mar 2024 23:52:01 +0000 Subject: [PATCH 35/88] release: v1.6.1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index c49849cc61..52ca99bb01 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.1-rc3 -appVersion: v1.6.1-rc3 +version: 1.6.1 +appVersion: v1.6.1 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 0cef018899..4de46a07ff 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.1-rc3 + default: v1.6.1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.1-rc3 + default: v1.6.1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.1-rc3 + default: v1.6.1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.1-rc3 + default: v1.6.1 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.1-rc3 + default: v1.6.1 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.1-rc3 + default: v1.6.1 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 1ec201ddea..6f7933431b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.1-rc3 + tag: v1.6.1 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.1-rc3 + tag: v1.6.1 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.1-rc3 + tag: v1.6.1 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.1-rc3 + tag: v1.6.1 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.1-rc3 + tag: v1.6.1 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.1-rc3 + tag: v1.6.1 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 3858578b81..8354df7281 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 -longhornio/backing-image-manager:v1.6.1-rc3 -longhornio/longhorn-engine:v1.6.1-rc3 -longhornio/longhorn-instance-manager:v1.6.1-rc3 -longhornio/longhorn-manager:v1.6.1-rc3 -longhornio/longhorn-share-manager:v1.6.1-rc3 -longhornio/longhorn-ui:v1.6.1-rc3 +longhornio/backing-image-manager:v1.6.1 +longhornio/longhorn-engine:v1.6.1 +longhornio/longhorn-instance-manager:v1.6.1 +longhornio/longhorn-manager:v1.6.1 +longhornio/longhorn-share-manager:v1.6.1 +longhornio/longhorn-ui:v1.6.1 longhornio/support-bundle-kit:v0.0.36 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 98c4b82163..4f59f5bf29 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -454,7 +454,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -755,7 +755,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backups.longhorn.io spec: @@ -951,7 +951,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1134,7 +1134,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1301,7 +1301,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1498,7 +1498,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1878,7 +1878,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2150,7 +2150,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2401,7 +2401,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2671,7 +2671,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2914,7 +2914,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3007,7 +3007,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3122,7 +3122,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3249,7 +3249,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3375,7 +3375,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3503,7 +3503,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3605,7 +3605,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3989,7 +3989,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4118,7 +4118,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 rules: - apiGroups: - apiextensions.k8s.io @@ -4184,7 +4184,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4202,7 +4202,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4219,7 +4219,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4239,7 +4239,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4260,7 +4260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4280,7 +4280,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4300,7 +4300,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4320,7 +4320,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4336,7 +4336,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4352,7 +4352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4365,12 +4365,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.1-rc3 + image: longhornio/longhorn-manager:v1.6.1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4379,17 +4379,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.1-rc3" + - "longhornio/longhorn-engine:v1.6.1" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.1-rc3" + - "longhornio/longhorn-instance-manager:v1.6.1" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.1-rc3" + - "longhornio/longhorn-share-manager:v1.6.1" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.1-rc3" + - "longhornio/backing-image-manager:v1.6.1" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.36" - --manager-image - - "longhornio/longhorn-manager:v1.6.1-rc3" + - "longhornio/longhorn-manager:v1.6.1" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4459,7 +4459,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 spec: replicas: 1 selector: @@ -4470,23 +4470,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.1-rc3 + image: longhornio/longhorn-manager:v1.6.1 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.1-rc3 + image: longhornio/longhorn-manager:v1.6.1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.1-rc3" + - "longhornio/longhorn-manager:v1.6.1" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4526,7 +4526,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4540,7 +4540,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1-rc3 + app.kubernetes.io/version: v1.6.1 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4558,7 +4558,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.1-rc3 + image: longhornio/longhorn-ui:v1.6.1 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index ab00afa3e4..b7d552e9d6 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.1-rc3 + image: longhornio/longhorn-manager:v1.6.1 imagePullPolicy: IfNotPresent command: - longhorn-manager From eb75c21f40ad76a302309a5532810ab0d1ce1856 Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Thu, 28 Mar 2024 17:43:18 +1100 Subject: [PATCH 36/88] crd: Add virtual size to backing images Related issue: https://github.com/longhorn/longhorn/issues/7923 Signed-off-by: Tim Serong (cherry picked from commit 459cd1b52ac8c4074d88f1a9a1fd7c02fdc35233) --- chart/templates/crds.yaml | 11 +++++++++++ deploy/longhorn.yaml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index 8255499658..de5046a492 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -314,6 +314,9 @@ spec: type: string uuid: type: string + virtualSize: + format: int64 + type: integer type: object nullable: true type: object @@ -413,6 +416,10 @@ spec: jsonPath: .status.size name: Size type: string + - description: The virtual size of the image (may be larger than file size) + jsonPath: .status.virtualSize + name: VirtualSize + type: string - jsonPath: .metadata.creationTimestamp name: Age type: date @@ -481,6 +488,10 @@ spec: type: integer uuid: type: string + virtualSize: + description: Virtual size of image, which may be larger than physical size. Will be zero until known (e.g. while a backing image is uploading) + format: int64 + type: integer type: object type: object served: true diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 4f59f5bf29..190b909c75 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -420,6 +420,9 @@ spec: type: string uuid: type: string + virtualSize: + format: int64 + type: integer type: object nullable: true type: object @@ -523,6 +526,10 @@ spec: jsonPath: .status.size name: Size type: string + - description: The virtual size of the image (may be larger than file size) + jsonPath: .status.virtualSize + name: VirtualSize + type: string - jsonPath: .metadata.creationTimestamp name: Age type: date @@ -591,6 +598,10 @@ spec: type: integer uuid: type: string + virtualSize: + description: Virtual size of image, which may be larger than physical size. Will be zero until known (e.g. while a backing image is uploading) + format: int64 + type: integer type: object type: object served: true From c4136529a1eeb1d775a7268b151aa02cfac1f41c Mon Sep 17 00:00:00 2001 From: Phan Le Date: Tue, 9 Apr 2024 15:19:30 -0700 Subject: [PATCH 37/88] Mirror the quay.io/openshift/origin-oauth-proxy image to Longhorn repo and update the chart longhorn-8329 Signed-off-by: Phan Le (cherry picked from commit 1bf2c76d7592e721508e771582f8e92bfecabcfd) --- chart/README.md | 2 +- chart/questions.yaml | 12 ++++++++++++ chart/values.yaml | 2 +- deploy/longhorn-images.txt | 1 + 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/chart/README.md b/chart/README.md index 1f449205b5..9a8c5ff911 100644 --- a/chart/README.md +++ b/chart/README.md @@ -117,7 +117,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.supportBundleKit.tag | string | `"v0.0.36"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"master-head"` | Tag for the Longhorn UI image. | -| image.openshift.oauthProxy.repository | string | `"quay.io/openshift/origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | +| image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | | image.openshift.oauthProxy.tag | float | `4.14` | Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.14. | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 4de46a07ff..8d1fd6acc3 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -166,6 +166,18 @@ questions: type: string label: Longhorn CSI Liveness Probe Image Tag group: "Longhorn CSI Driver Images" + - variable: image.openshift.oauthProxy.repository + default: longhornio/openshift-origin-oauth-proxy + description: "Repository for the OAuth Proxy image. This setting applies only to OpenShift users" + type: string + label: OpenShift OAuth Proxy Image Repository + group: "OpenShift Images" + - variable: image.openshift.oauthProxy.tag + default: 4.14 + description: "Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later." + type: string + label: OpenShift OAuth Proxy Image Tag + group: "OpenShift Images" - variable: privateRegistry.registryUrl label: Private registry URL description: "URL of a private registry. When unspecified, Longhorn uses the default system registry." diff --git a/chart/values.yaml b/chart/values.yaml index 6f7933431b..398e52305a 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -100,7 +100,7 @@ image: openshift: oauthProxy: # -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users. - repository: quay.io/openshift/origin-oauth-proxy + repository: longhornio/openshift-origin-oauth-proxy # -- Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.14. tag: 4.14 # -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 8354df7281..b2fc9cb7a8 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,6 +4,7 @@ longhornio/csi-resizer:v1.9.2 longhornio/csi-snapshotter:v6.3.2 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 +longhornio/openshift-origin-oauth-proxy:4.14 longhornio/backing-image-manager:v1.6.1 longhornio/longhorn-engine:v1.6.1 longhornio/longhorn-instance-manager:v1.6.1 From 95a597bda523bd02c7c7a24ce26a716b817bcedf Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 18 Apr 2024 11:52:43 +0800 Subject: [PATCH 38/88] fix(cve): update support-bundle-kit to v0.0.37 longhorn/longhorn-8372 Signed-off-by: Chin-Ya Huang (cherry picked from commit 974236bc8634b1300c67f575c1078da54904e61a) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 9a8c5ff911..02f01e0ba7 100644 --- a/chart/README.md +++ b/chart/README.md @@ -114,7 +114,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"master-head"` | Tag for the Longhorn Share Manager image. | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.36"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.37"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"master-head"` | Tag for the Longhorn UI image. | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 8d1fd6acc3..308f832c6d 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.36 + default: v0.0.37 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 398e52305a..f21acf4ff6 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -65,7 +65,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.36 + tag: v0.0.37 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index b2fc9cb7a8..d2b3ce3ed9 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -11,4 +11,4 @@ longhornio/longhorn-instance-manager:v1.6.1 longhornio/longhorn-manager:v1.6.1 longhornio/longhorn-share-manager:v1.6.1 longhornio/longhorn-ui:v1.6.1 -longhornio/support-bundle-kit:v0.0.36 +longhornio/support-bundle-kit:v0.0.37 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 190b909c75..a4726a8cc3 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4398,7 +4398,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.1" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.36" + - "longhornio/support-bundle-kit:v0.0.37" - --manager-image - "longhornio/longhorn-manager:v1.6.1" - --service-account From 46706bed50d1e3663fabd38e9c6dd9dad459bef2 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Wed, 24 Apr 2024 15:27:12 +0800 Subject: [PATCH 39/88] fix: git clone branch name in longhorn/spdk repo Signed-off-by: andy.lee --- deploy/prerequisite/longhorn-spdk-setup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/prerequisite/longhorn-spdk-setup.yaml b/deploy/prerequisite/longhorn-spdk-setup.yaml index 76d333b8b4..397fb3bd0c 100644 --- a/deploy/prerequisite/longhorn-spdk-setup.yaml +++ b/deploy/prerequisite/longhorn-spdk-setup.yaml @@ -5,7 +5,7 @@ metadata: labels: app: longhorn-spdk-setup annotations: - command: &cmd OS=$(grep -E "^ID_LIKE=" /etc/os-release | cut -d '=' -f 2); if [[ -z "${OS}" ]]; then OS=$(grep -E "^ID=" /etc/os-release | cut -d '=' -f 2); fi; if [[ "${OS}" == *"debian"* ]]; then sudo apt-get update -q -y && sudo apt-get install -q -y git; elif [[ "${OS}" == *"suse"* ]]; then sudo zypper --gpg-auto-import-keys -q refresh && sudo zypper --gpg-auto-import-keys -q install -y git; else sudo yum makecache -q -y && sudo yum --setopt=tsflags=noscripts install -q -y git; fi && if [ $? -eq 0 ]; then echo "git install successfully"; else echo "git install failed error code $?"; fi && rm -rf ${SPDK_DIR}; git clone -b longhorn https://github.com/longhorn/spdk.git ${SPDK_DIR} && bash ${SPDK_DIR}/scripts/setup.sh ${SPDK_OPTION}; if [ $? -eq 0 ]; then echo "vm.nr_hugepages=$((HUGEMEM/2))" >> /etc/sysctl.conf; echo "SPDK environment is configured successfully"; else echo "Failed to configure SPDK environment error code $?"; fi; rm -rf ${SPDK_DIR} + command: &cmd OS=$(grep -E "^ID_LIKE=" /etc/os-release | cut -d '=' -f 2); if [[ -z "${OS}" ]]; then OS=$(grep -E "^ID=" /etc/os-release | cut -d '=' -f 2); fi; if [[ "${OS}" == *"debian"* ]]; then sudo apt-get update -q -y && sudo apt-get install -q -y git; elif [[ "${OS}" == *"suse"* ]]; then sudo zypper --gpg-auto-import-keys -q refresh && sudo zypper --gpg-auto-import-keys -q install -y git; else sudo yum makecache -q -y && sudo yum --setopt=tsflags=noscripts install -q -y git; fi && if [ $? -eq 0 ]; then echo "git install successfully"; else echo "git install failed error code $?"; fi && rm -rf ${SPDK_DIR}; git clone -b longhorn-1.6 https://github.com/longhorn/spdk.git ${SPDK_DIR} && bash ${SPDK_DIR}/scripts/setup.sh ${SPDK_OPTION}; if [ $? -eq 0 ]; then echo "vm.nr_hugepages=$((HUGEMEM/2))" >> /etc/sysctl.conf; echo "SPDK environment is configured successfully"; else echo "Failed to configure SPDK environment error code $?"; fi; rm -rf ${SPDK_DIR} spec: selector: matchLabels: From 222ab90484183fa5778818bec1bb4312db00db5a Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Wed, 1 May 2024 16:03:37 -0500 Subject: [PATCH 40/88] Bump sidecar container versions for csi-lib-utils issue We cannot bump external-provisioner to a new major version in a patch release, so bump it to v3.6.4 (which does not eliminate the issue) instead. We cannot bump external-snapshotter to a new major version in a patch release, so bump it to v6.3.4 (which does not eliminate the issue) instead. Longhorn 8427 Signed-off-by: Eric Weber (cherry picked from commit ea1d18a62699b7fd1ba70af1951f190dafdbb094) --- chart/README.md | 8 ++++---- chart/questions.yaml | 8 ++++---- chart/values.yaml | 8 ++++---- deploy/longhorn-images.txt | 8 ++++---- deploy/longhorn.yaml | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/chart/README.md b/chart/README.md index 02f01e0ba7..a27db4a719 100644 --- a/chart/README.md +++ b/chart/README.md @@ -92,17 +92,17 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | Key | Type | Default | Description | |-----|------|---------|-------------| | image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | -| image.csi.attacher.tag | string | `"v4.4.2"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | +| image.csi.attacher.tag | string | `"v4.5.1"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.tag | string | `"v2.12.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.tag | string | `"v2.9.2"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | -| image.csi.provisioner.tag | string | `"v3.6.2"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | +| image.csi.provisioner.tag | string | `"v3.6.4"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | -| image.csi.resizer.tag | string | `"v1.9.2"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | +| image.csi.resizer.tag | string | `"v1.10.1"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | -| image.csi.snapshotter.tag | string | `"v6.3.2"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | +| image.csi.snapshotter.tag | string | `"v6.3.4"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.tag | string | `"master-head"` | Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | | image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Repository for the Longhorn Engine image. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 308f832c6d..831de42009 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -101,7 +101,7 @@ questions: label: Longhorn CSI Attacher Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.attacher.tag - default: v4.4.2 + default: v4.5.1 description: "Tag for the CSI attacher image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Attacher Image Tag @@ -113,7 +113,7 @@ questions: label: Longhorn CSI Provisioner Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.provisioner.tag - default: v3.6.2 + default: v3.6.4 description: "Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Provisioner Image Tag @@ -137,7 +137,7 @@ questions: label: Longhorn CSI Driver Resizer Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.resizer.tag - default: v1.9.2 + default: v1.10.1 description: "Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Resizer Image Tag @@ -149,7 +149,7 @@ questions: label: Longhorn CSI Driver Snapshotter Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.snapshotter.tag - default: v6.3.2 + default: v6.3.4 description: "Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Snapshotter Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index f21acf4ff6..7b8edddbdf 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -71,12 +71,12 @@ image: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-attacher # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. - tag: v4.4.2 + tag: v4.5.1 provisioner: # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-provisioner # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. - tag: v3.6.2 + tag: v3.6.4 nodeDriverRegistrar: # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-node-driver-registrar @@ -86,12 +86,12 @@ image: # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-resizer # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. - tag: v1.9.2 + tag: v1.10.1 snapshotter: # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-snapshotter # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. - tag: v6.3.2 + tag: v6.3.4 livenessProbe: # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. repository: longhornio/livenessprobe diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index d2b3ce3ed9..0b6588ea8e 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,7 +1,7 @@ -longhornio/csi-attacher:v4.4.2 -longhornio/csi-provisioner:v3.6.2 -longhornio/csi-resizer:v1.9.2 -longhornio/csi-snapshotter:v6.3.2 +longhornio/csi-attacher:v4.5.1 +longhornio/csi-provisioner:v3.6.4 +longhornio/csi-resizer:v1.10.1 +longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 longhornio/openshift-origin-oauth-proxy:4.14 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index a4726a8cc3..e59c0fcc99 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4514,15 +4514,15 @@ spec: fieldRef: fieldPath: spec.serviceAccountName - name: CSI_ATTACHER_IMAGE - value: "longhornio/csi-attacher:v4.4.2" + value: "longhornio/csi-attacher:v4.5.1" - name: CSI_PROVISIONER_IMAGE - value: "longhornio/csi-provisioner:v3.6.2" + value: "longhornio/csi-provisioner:v3.6.4" - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE value: "longhornio/csi-node-driver-registrar:v2.9.2" - name: CSI_RESIZER_IMAGE - value: "longhornio/csi-resizer:v1.9.2" + value: "longhornio/csi-resizer:v1.10.1" - name: CSI_SNAPSHOTTER_IMAGE - value: "longhornio/csi-snapshotter:v6.3.2" + value: "longhornio/csi-snapshotter:v6.3.4" - name: CSI_LIVENESS_PROBE_IMAGE value: "longhornio/livenessprobe:v2.12.0" priorityClassName: "longhorn-critical" From 28559b2071bfd26ccd3f34689e31846c60ba037b Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Fri, 3 May 2024 16:49:47 -0500 Subject: [PATCH 41/88] Correct default container versions in v1.6.x Helm doc Signed-off-by: Eric Weber --- chart/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/chart/README.md b/chart/README.md index a27db4a719..202d9a09c1 100644 --- a/chart/README.md +++ b/chart/README.md @@ -104,19 +104,19 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.tag | string | `"v6.3.4"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | -| image.longhorn.backingImageManager.tag | string | `"master-head"` | Tag for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | +| image.longhorn.backingImageManager.tag | string | `"v1.6.1"` | Specify Longhorn backing image manager image tag | | image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Repository for the Longhorn Engine image. | -| image.longhorn.engine.tag | string | `"master-head"` | Tag for the Longhorn Engine image. | +| image.longhorn.engine.tag | string | `"v1.6.1"` | Specify Longhorn engine image tag | | image.longhorn.instanceManager.repository | string | `"longhornio/longhorn-instance-manager"` | Repository for the Longhorn Instance Manager image. | -| image.longhorn.instanceManager.tag | string | `"master-head"` | Tag for the Longhorn Instance Manager image. | +| image.longhorn.instanceManager.tag | string | `"v1.6.1"` | Specify Longhorn instance manager image tag | | image.longhorn.manager.repository | string | `"longhornio/longhorn-manager"` | Repository for the Longhorn Manager image. | -| image.longhorn.manager.tag | string | `"master-head"` | Tag for the Longhorn Manager image. | +| image.longhorn.manager.tag | string | `"v1.6.1"` | Specify Longhorn manager image tag | | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | -| image.longhorn.shareManager.tag | string | `"master-head"` | Tag for the Longhorn Share Manager image. | +| image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | | image.longhorn.supportBundleKit.tag | string | `"v0.0.37"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | -| image.longhorn.ui.tag | string | `"master-head"` | Tag for the Longhorn UI image. | +| image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | | image.openshift.oauthProxy.tag | float | `4.14` | Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.14. | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. | From 15f14f84aef6b1348c735f088ab17125a706724a Mon Sep 17 00:00:00 2001 From: David Ko Date: Fri, 10 May 2024 05:08:21 +0000 Subject: [PATCH 42/88] release: v1.6.2-rc1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 52ca99bb01..d9ca4d0bfb 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.1 -appVersion: v1.6.1 +version: 1.6.2-rc1 +appVersion: v1.6.2-rc1 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 831de42009..8e32ff978a 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.1 + default: v1.6.2-rc1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.1 + default: v1.6.2-rc1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.1 + default: v1.6.2-rc1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.1 + default: v1.6.2-rc1 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.1 + default: v1.6.2-rc1 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.1 + default: v1.6.2-rc1 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 7b8edddbdf..af356cf0e0 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.1 + tag: v1.6.2-rc1 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.1 + tag: v1.6.2-rc1 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.1 + tag: v1.6.2-rc1 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.1 + tag: v1.6.2-rc1 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.1 + tag: v1.6.2-rc1 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.1 + tag: v1.6.2-rc1 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 0b6588ea8e..d811b22cd9 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -5,10 +5,10 @@ longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 longhornio/openshift-origin-oauth-proxy:4.14 -longhornio/backing-image-manager:v1.6.1 -longhornio/longhorn-engine:v1.6.1 -longhornio/longhorn-instance-manager:v1.6.1 -longhornio/longhorn-manager:v1.6.1 -longhornio/longhorn-share-manager:v1.6.1 -longhornio/longhorn-ui:v1.6.1 +longhornio/backing-image-manager:v1.6.2-rc1 +longhornio/longhorn-engine:v1.6.2-rc1 +longhornio/longhorn-instance-manager:v1.6.2-rc1 +longhornio/longhorn-manager:v1.6.2-rc1 +longhornio/longhorn-share-manager:v1.6.2-rc1 +longhornio/longhorn-ui:v1.6.2-rc1 longhornio/support-bundle-kit:v0.0.37 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index e59c0fcc99..bdbf48ab82 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -457,7 +457,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -766,7 +766,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: backups.longhorn.io spec: @@ -962,7 +962,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1145,7 +1145,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1312,7 +1312,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1509,7 +1509,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1889,7 +1889,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2161,7 +2161,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2412,7 +2412,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2682,7 +2682,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2925,7 +2925,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3018,7 +3018,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3133,7 +3133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3260,7 +3260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3386,7 +3386,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3514,7 +3514,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4000,7 +4000,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4129,7 +4129,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 rules: - apiGroups: - apiextensions.k8s.io @@ -4195,7 +4195,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4213,7 +4213,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4230,7 +4230,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4250,7 +4250,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4271,7 +4271,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4291,7 +4291,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4311,7 +4311,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4331,7 +4331,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4347,7 +4347,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4363,7 +4363,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4376,12 +4376,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.1 + image: longhornio/longhorn-manager:v1.6.2-rc1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4390,17 +4390,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.1" + - "longhornio/longhorn-engine:v1.6.2-rc1" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.1" + - "longhornio/longhorn-instance-manager:v1.6.2-rc1" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.1" + - "longhornio/longhorn-share-manager:v1.6.2-rc1" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.1" + - "longhornio/backing-image-manager:v1.6.2-rc1" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.37" - --manager-image - - "longhornio/longhorn-manager:v1.6.1" + - "longhornio/longhorn-manager:v1.6.2-rc1" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4470,7 +4470,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 spec: replicas: 1 selector: @@ -4481,23 +4481,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.1 + image: longhornio/longhorn-manager:v1.6.2-rc1 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.1 + image: longhornio/longhorn-manager:v1.6.2-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.1" + - "longhornio/longhorn-manager:v1.6.2-rc1" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4537,7 +4537,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4551,7 +4551,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.1 + app.kubernetes.io/version: v1.6.2-rc1 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4569,7 +4569,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.1 + image: longhornio/longhorn-ui:v1.6.2-rc1 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index b7d552e9d6..940e83067f 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.1 + image: longhornio/longhorn-manager:v1.6.2-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager From a54aa52123e9266508f3c74dcb63c6f501053dda Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Wed, 8 May 2024 13:54:42 -0500 Subject: [PATCH 43/88] Clarify syntax of taintToleration Helm value Longhorn 6313 Signed-off-by: Eric Weber (cherry picked from commit b16fca6fb2c7820f111be1d7f7f647ca889eb256) --- chart/README.md | 2 +- chart/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chart/README.md b/chart/README.md index 202d9a09c1..fc558fab85 100644 --- a/chart/README.md +++ b/chart/README.md @@ -316,7 +316,7 @@ During installation, you can either allow Longhorn to use the default system set | defaultSettings.supportBundleFailedHistoryLimit | Maximum number of failed support bundles that can exist in the cluster. When the value is "0", Longhorn automatically purges all failed support bundles. | | defaultSettings.systemManagedComponentsNodeSelector | Node selector for system-managed Longhorn components. | | defaultSettings.systemManagedPodsImagePullPolicy | Image pull policy for system-managed pods, such as Instance Manager, engine images, and CSI Driver. Changes to the image pull policy are applied only after the system-managed pods restart. | -| defaultSettings.taintToleration | Taint or toleration for system-managed Longhorn components. | +| defaultSettings.taintToleration | Taint or toleration for system-managed Longhorn components. Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect). | | defaultSettings.upgradeChecker | Upgrade Checker that periodically checks for new Longhorn versions. When a new version is available, a notification appears on the Longhorn UI. This setting is enabled by default | | defaultSettings.v1DataEngine | Setting that allows you to enable the V1 Data Engine. | | defaultSettings.v2DataEngine | Setting that allows you to enable the V2 Data Engine, which is based on the Storage Performance Development Kit (SPDK). The V2 Data Engine is a preview feature and should not be used in production environments. | diff --git a/chart/values.yaml b/chart/values.yaml index af356cf0e0..b6a9340c3a 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -224,6 +224,7 @@ defaultSettings: # -- Maximum number of failed support bundles that can exist in the cluster. When the value is "0", Longhorn automatically purges all failed support bundles. supportBundleFailedHistoryLimit: ~ # -- Taint or toleration for system-managed Longhorn components. + # Specify values using a semicolon-separated list in `kubectl taint` syntax (Example: key1=value1:effect; key2=value2:effect). taintToleration: ~ # -- Node selector for system-managed Longhorn components. systemManagedComponentsNodeSelector: ~ From ee8bede812f48420b22de75a7536ff95c1f6e728 Mon Sep 17 00:00:00 2001 From: David Ko Date: Wed, 15 May 2024 10:36:40 +0000 Subject: [PATCH 44/88] release: v1.6.2-rc2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index d9ca4d0bfb..8fdbefc65e 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.2-rc1 -appVersion: v1.6.2-rc1 +version: 1.6.2-rc2 +appVersion: v1.6.2-rc2 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 8e32ff978a..73e938e6ab 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.2-rc1 + default: v1.6.2-rc2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.2-rc1 + default: v1.6.2-rc2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.2-rc1 + default: v1.6.2-rc2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.2-rc1 + default: v1.6.2-rc2 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.2-rc1 + default: v1.6.2-rc2 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.2-rc1 + default: v1.6.2-rc2 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index b6a9340c3a..ab4ad8ca29 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.2-rc1 + tag: v1.6.2-rc2 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.2-rc1 + tag: v1.6.2-rc2 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.2-rc1 + tag: v1.6.2-rc2 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.2-rc1 + tag: v1.6.2-rc2 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.2-rc1 + tag: v1.6.2-rc2 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.2-rc1 + tag: v1.6.2-rc2 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index d811b22cd9..5301fc01b6 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -5,10 +5,10 @@ longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 longhornio/openshift-origin-oauth-proxy:4.14 -longhornio/backing-image-manager:v1.6.2-rc1 -longhornio/longhorn-engine:v1.6.2-rc1 -longhornio/longhorn-instance-manager:v1.6.2-rc1 -longhornio/longhorn-manager:v1.6.2-rc1 -longhornio/longhorn-share-manager:v1.6.2-rc1 -longhornio/longhorn-ui:v1.6.2-rc1 +longhornio/backing-image-manager:v1.6.2-rc2 +longhornio/longhorn-engine:v1.6.2-rc2 +longhornio/longhorn-instance-manager:v1.6.2-rc2 +longhornio/longhorn-manager:v1.6.2-rc2 +longhornio/longhorn-share-manager:v1.6.2-rc2 +longhornio/longhorn-ui:v1.6.2-rc2 longhornio/support-bundle-kit:v0.0.37 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index bdbf48ab82..acae8d76fd 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -457,7 +457,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -766,7 +766,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: backups.longhorn.io spec: @@ -962,7 +962,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1145,7 +1145,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1312,7 +1312,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1509,7 +1509,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1889,7 +1889,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2161,7 +2161,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2412,7 +2412,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2682,7 +2682,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2925,7 +2925,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3018,7 +3018,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3133,7 +3133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3260,7 +3260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3386,7 +3386,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3514,7 +3514,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4000,7 +4000,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4129,7 +4129,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 rules: - apiGroups: - apiextensions.k8s.io @@ -4195,7 +4195,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4213,7 +4213,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4230,7 +4230,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4250,7 +4250,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4271,7 +4271,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4291,7 +4291,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4311,7 +4311,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4331,7 +4331,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4347,7 +4347,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4363,7 +4363,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4376,12 +4376,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.2-rc1 + image: longhornio/longhorn-manager:v1.6.2-rc2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4390,17 +4390,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.2-rc1" + - "longhornio/longhorn-engine:v1.6.2-rc2" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.2-rc1" + - "longhornio/longhorn-instance-manager:v1.6.2-rc2" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.2-rc1" + - "longhornio/longhorn-share-manager:v1.6.2-rc2" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.2-rc1" + - "longhornio/backing-image-manager:v1.6.2-rc2" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.37" - --manager-image - - "longhornio/longhorn-manager:v1.6.2-rc1" + - "longhornio/longhorn-manager:v1.6.2-rc2" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4470,7 +4470,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 spec: replicas: 1 selector: @@ -4481,23 +4481,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.2-rc1 + image: longhornio/longhorn-manager:v1.6.2-rc2 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.2-rc1 + image: longhornio/longhorn-manager:v1.6.2-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.2-rc1" + - "longhornio/longhorn-manager:v1.6.2-rc2" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4537,7 +4537,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4551,7 +4551,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc1 + app.kubernetes.io/version: v1.6.2-rc2 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4569,7 +4569,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.2-rc1 + image: longhornio/longhorn-ui:v1.6.2-rc2 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 940e83067f..8f91abb117 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.2-rc1 + image: longhornio/longhorn-manager:v1.6.2-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager From c7a70c96c31a4b1710a6a9dd4a5092551aac1e14 Mon Sep 17 00:00:00 2001 From: David Ko Date: Wed, 22 May 2024 05:05:43 +0000 Subject: [PATCH 45/88] release: v1.6.2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 104 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 8fdbefc65e..34e123f5ce 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.2-rc2 -appVersion: v1.6.2-rc2 +version: 1.6.2 +appVersion: v1.6.2 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 73e938e6ab..455c454f79 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.2-rc2 + default: v1.6.2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.2-rc2 + default: v1.6.2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.2-rc2 + default: v1.6.2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.2-rc2 + default: v1.6.2 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.2-rc2 + default: v1.6.2 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.2-rc2 + default: v1.6.2 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index ab4ad8ca29..c7dfe64314 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -35,32 +35,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.2-rc2 + tag: v1.6.2 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.2-rc2 + tag: v1.6.2 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.2-rc2 + tag: v1.6.2 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.2-rc2 + tag: v1.6.2 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.2-rc2 + tag: v1.6.2 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.2-rc2 + tag: v1.6.2 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 5301fc01b6..ece113301a 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -5,10 +5,10 @@ longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 longhornio/openshift-origin-oauth-proxy:4.14 -longhornio/backing-image-manager:v1.6.2-rc2 -longhornio/longhorn-engine:v1.6.2-rc2 -longhornio/longhorn-instance-manager:v1.6.2-rc2 -longhornio/longhorn-manager:v1.6.2-rc2 -longhornio/longhorn-share-manager:v1.6.2-rc2 -longhornio/longhorn-ui:v1.6.2-rc2 +longhornio/backing-image-manager:v1.6.2 +longhornio/longhorn-engine:v1.6.2 +longhornio/longhorn-instance-manager:v1.6.2 +longhornio/longhorn-manager:v1.6.2 +longhornio/longhorn-share-manager:v1.6.2 +longhornio/longhorn-ui:v1.6.2 longhornio/support-bundle-kit:v0.0.37 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index acae8d76fd..d8c1a56b9a 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -457,7 +457,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -766,7 +766,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: backups.longhorn.io spec: @@ -962,7 +962,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1145,7 +1145,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1312,7 +1312,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1509,7 +1509,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1889,7 +1889,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2161,7 +2161,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2412,7 +2412,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2682,7 +2682,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2925,7 +2925,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3018,7 +3018,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3133,7 +3133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3260,7 +3260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3386,7 +3386,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3514,7 +3514,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4000,7 +4000,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4129,7 +4129,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 rules: - apiGroups: - apiextensions.k8s.io @@ -4195,7 +4195,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4213,7 +4213,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4230,7 +4230,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4250,7 +4250,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4271,7 +4271,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4291,7 +4291,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4311,7 +4311,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4331,7 +4331,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4347,7 +4347,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4363,7 +4363,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4376,12 +4376,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.2-rc2 + image: longhornio/longhorn-manager:v1.6.2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4390,17 +4390,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.2-rc2" + - "longhornio/longhorn-engine:v1.6.2" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.2-rc2" + - "longhornio/longhorn-instance-manager:v1.6.2" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.2-rc2" + - "longhornio/longhorn-share-manager:v1.6.2" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.2-rc2" + - "longhornio/backing-image-manager:v1.6.2" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.37" - --manager-image - - "longhornio/longhorn-manager:v1.6.2-rc2" + - "longhornio/longhorn-manager:v1.6.2" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4470,7 +4470,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 spec: replicas: 1 selector: @@ -4481,23 +4481,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.2-rc2 + image: longhornio/longhorn-manager:v1.6.2 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.2-rc2 + image: longhornio/longhorn-manager:v1.6.2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.2-rc2" + - "longhornio/longhorn-manager:v1.6.2" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4537,7 +4537,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4551,7 +4551,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2-rc2 + app.kubernetes.io/version: v1.6.2 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4569,7 +4569,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.2-rc2 + image: longhornio/longhorn-ui:v1.6.2 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 8f91abb117..21a7fe7181 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.2-rc2 + image: longhornio/longhorn-manager:v1.6.2 imagePullPolicy: IfNotPresent command: - longhorn-manager From 155cf704329066a45ff6764ce0b202cf1c7f139b Mon Sep 17 00:00:00 2001 From: Jack Lin Date: Wed, 20 Mar 2024 16:32:47 +0800 Subject: [PATCH 46/88] feat(chart): introduce global tolerations and nodeselectors for user deployed components ref: longhorn/longhorn 5089 Signed-off-by: Jack Lin (cherry picked from commit 8aad95b0d2703f15bc4cd539ab1115de343c9ba7) --- chart/README.md | 4 +++- chart/templates/daemonset-sa.yaml | 12 ++++++------ chart/templates/deployment-driver.yaml | 12 ++++++------ chart/templates/deployment-ui.yaml | 12 ++++++------ chart/templates/postupgrade-job.yaml | 12 ++++++------ chart/templates/preupgrade-job.yaml | 12 ++++++------ chart/templates/uninstall-job.yaml | 12 ++++++------ chart/values.yaml | 6 +++++- 8 files changed, 44 insertions(+), 38 deletions(-) diff --git a/chart/README.md b/chart/README.md index fc558fab85..09839f5ef2 100644 --- a/chart/README.md +++ b/chart/README.md @@ -79,6 +79,8 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | global.cattle.windowsCluster.enabled | bool | `false` | Setting that allows Longhorn to run on a Rancher Windows cluster. | | global.cattle.windowsCluster.nodeSelector | object | `{"kubernetes.io/os":"linux"}` | Node selector for Linux nodes that can run user-deployed Longhorn components. | | global.cattle.windowsCluster.tolerations | list | `[{"effect":"NoSchedule","key":"cattle.io/os","operator":"Equal","value":"linux"}]` | Toleration for Linux nodes that can run user-deployed Longhorn components. | +| global.nodeSelector | object | `{}` | Node selector for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer. | +| global.tolerations | list | `[]` | Toleration for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer. | ### Network Policies @@ -173,7 +175,7 @@ Longhorn consists of user-deployed components (for example, Longhorn Manager, Lo | longhornManager.nodeSelector | object | `{}` | Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager. | | longhornManager.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn Manager. | | longhornManager.serviceAnnotations | object | `{}` | Annotation for the Longhorn Manager service. | -| longhornManager.tolerations | list | `[]` | Toleration for Longhorn Manager on nodes allowed to run Longhorn Manager. | +| longhornManager.tolerations | list | `[]` | Toleration for Longhorn Manager on nodes allowed to run Longhorn components. | ### Longhorn Driver Settings diff --git a/chart/templates/daemonset-sa.yaml b/chart/templates/daemonset-sa.yaml index 2fa1cbc243..bbcd59fd1e 100644 --- a/chart/templates/daemonset-sa.yaml +++ b/chart/templates/daemonset-sa.yaml @@ -120,22 +120,22 @@ spec: {{- if .Values.longhornManager.priorityClass }} priorityClassName: {{ .Values.longhornManager.priorityClass | quote }} {{- end }} - {{- if or .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} tolerations: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.tolerations }} {{ toYaml .Values.global.cattle.windowsCluster.tolerations | indent 6 }} {{- end }} - {{- if .Values.longhornManager.tolerations }} -{{ toYaml .Values.longhornManager.tolerations | indent 6 }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations }} +{{ default .Values.global.tolerations .Values.longhornManager.tolerations | toYaml | indent 6 }} {{- end }} {{- end }} - {{- if or .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} nodeSelector: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.nodeSelector }} {{ toYaml .Values.global.cattle.windowsCluster.nodeSelector | indent 8 }} {{- end }} - {{- if .Values.longhornManager.nodeSelector }} -{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector }} +{{ default .Values.global.nodeSelector .Values.longhornManager.nodeSelector | toYaml | indent 8 }} {{- end }} {{- end }} serviceAccountName: longhorn-service-account diff --git a/chart/templates/deployment-driver.yaml b/chart/templates/deployment-driver.yaml index cd2ab3a344..3ac582dcbc 100644 --- a/chart/templates/deployment-driver.yaml +++ b/chart/templates/deployment-driver.yaml @@ -102,22 +102,22 @@ spec: {{- if .Values.longhornDriver.priorityClass }} priorityClassName: {{ .Values.longhornDriver.priorityClass | quote }} {{- end }} - {{- if or .Values.longhornDriver.tolerations .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.tolerations .Values.longhornDriver.tolerations .Values.global.cattle.windowsCluster.enabled }} tolerations: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.tolerations }} {{ toYaml .Values.global.cattle.windowsCluster.tolerations | indent 6 }} {{- end }} - {{- if .Values.longhornDriver.tolerations }} -{{ toYaml .Values.longhornDriver.tolerations | indent 6 }} + {{- if or .Values.global.tolerations .Values.longhornDriver.tolerations }} +{{ default .Values.global.tolerations .Values.longhornDriver.tolerations | toYaml | indent 6 }} {{- end }} {{- end }} - {{- if or .Values.longhornDriver.nodeSelector .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.nodeSelector .Values.longhornDriver.nodeSelector .Values.global.cattle.windowsCluster.enabled }} nodeSelector: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.nodeSelector }} {{ toYaml .Values.global.cattle.windowsCluster.nodeSelector | indent 8 }} {{- end }} - {{- if .Values.longhornDriver.nodeSelector }} -{{ toYaml .Values.longhornDriver.nodeSelector | indent 8 }} + {{- if or .Values.global.nodeSelector .Values.longhornDriver.nodeSelector }} +{{ default .Values.global.nodeSelector .Values.longhornDriver.nodeSelector | toYaml | indent 8 }} {{- end }} {{- end }} serviceAccountName: longhorn-service-account diff --git a/chart/templates/deployment-ui.yaml b/chart/templates/deployment-ui.yaml index 0ee86c7904..22c443aeba 100644 --- a/chart/templates/deployment-ui.yaml +++ b/chart/templates/deployment-ui.yaml @@ -128,22 +128,22 @@ spec: {{- if .Values.longhornUI.priorityClass }} priorityClassName: {{ .Values.longhornUI.priorityClass | quote }} {{- end }} - {{- if or .Values.longhornUI.tolerations .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.tolerations .Values.longhornUI.tolerations .Values.global.cattle.windowsCluster.enabled }} tolerations: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.tolerations }} {{ toYaml .Values.global.cattle.windowsCluster.tolerations | indent 6 }} {{- end }} - {{- if .Values.longhornUI.tolerations }} -{{ toYaml .Values.longhornUI.tolerations | indent 6 }} + {{- if or .Values.global.tolerations .Values.longhornUI.tolerations }} +{{ default .Values.global.tolerations .Values.longhornUI.tolerations | toYaml | indent 6 }} {{- end }} {{- end }} - {{- if or .Values.longhornUI.nodeSelector .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.nodeSelector .Values.longhornUI.nodeSelector .Values.global.cattle.windowsCluster.enabled }} nodeSelector: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.nodeSelector }} {{ toYaml .Values.global.cattle.windowsCluster.nodeSelector | indent 8 }} {{- end }} - {{- if .Values.longhornUI.nodeSelector }} -{{ toYaml .Values.longhornUI.nodeSelector | indent 8 }} + {{- if or .Values.global.nodeSelector .Values.longhornUI.nodeSelector }} +{{ default .Values.global.nodeSelector .Values.longhornUI.nodeSelector | toYaml | indent 8 }} {{- end }} {{- end }} --- diff --git a/chart/templates/postupgrade-job.yaml b/chart/templates/postupgrade-job.yaml index bb25a54d4e..56efd38e9b 100644 --- a/chart/templates/postupgrade-job.yaml +++ b/chart/templates/postupgrade-job.yaml @@ -36,21 +36,21 @@ spec: priorityClassName: {{ .Values.longhornManager.priorityClass | quote }} {{- end }} serviceAccountName: longhorn-service-account - {{- if or .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} tolerations: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.tolerations }} {{ toYaml .Values.global.cattle.windowsCluster.tolerations | indent 6 }} {{- end }} - {{- if .Values.longhornManager.tolerations }} -{{ toYaml .Values.longhornManager.tolerations | indent 6 }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations }} +{{ default .Values.global.tolerations .Values.longhornManager.tolerations | toYaml | indent 6 }} {{- end }} {{- end }} - {{- if or .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} nodeSelector: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.nodeSelector }} {{ toYaml .Values.global.cattle.windowsCluster.nodeSelector | indent 8 }} {{- end }} - {{- if .Values.longhornManager.nodeSelector }} -{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector }} +{{ default .Values.global.nodeSelector .Values.longhornManager.nodeSelector | toYaml | indent 8 }} {{- end }} {{- end }} diff --git a/chart/templates/preupgrade-job.yaml b/chart/templates/preupgrade-job.yaml index ef0fe02f43..2b8333d89e 100644 --- a/chart/templates/preupgrade-job.yaml +++ b/chart/templates/preupgrade-job.yaml @@ -34,22 +34,22 @@ spec: - name: {{ .Values.privateRegistry.registrySecret }} {{- end }} serviceAccountName: longhorn-service-account - {{- if or .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} tolerations: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.tolerations }} {{ toYaml .Values.global.cattle.windowsCluster.tolerations | indent 6 }} {{- end }} - {{- if .Values.longhornManager.tolerations }} -{{ toYaml .Values.longhornManager.tolerations | indent 6 }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations }} +{{ default .Values.global.tolerations .Values.longhornManager.tolerations | toYaml | indent 6 }} {{- end }} {{- end }} - {{- if or .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} nodeSelector: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.nodeSelector }} {{ toYaml .Values.global.cattle.windowsCluster.nodeSelector | indent 8 }} {{- end }} - {{- if .Values.longhornManager.nodeSelector }} -{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector }} +{{ default .Values.global.nodeSelector .Values.longhornManager.nodeSelector | toYaml | indent 8 }} {{- end }} {{- end }} {{- end }} diff --git a/chart/templates/uninstall-job.yaml b/chart/templates/uninstall-job.yaml index 968f420616..1ab46207c3 100644 --- a/chart/templates/uninstall-job.yaml +++ b/chart/templates/uninstall-job.yaml @@ -37,21 +37,21 @@ spec: priorityClassName: {{ .Values.longhornManager.priorityClass | quote }} {{- end }} serviceAccountName: longhorn-service-account - {{- if or .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations .Values.global.cattle.windowsCluster.enabled }} tolerations: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.tolerations }} {{ toYaml .Values.global.cattle.windowsCluster.tolerations | indent 6 }} {{- end }} - {{- if .Values.longhornManager.tolerations }} -{{ toYaml .Values.longhornManager.tolerations | indent 6 }} + {{- if or .Values.global.tolerations .Values.longhornManager.tolerations }} +{{ default .Values.global.tolerations .Values.longhornManager.tolerations | toYaml | indent 6 }} {{- end }} {{- end }} - {{- if or .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector .Values.global.cattle.windowsCluster.enabled }} nodeSelector: {{- if and .Values.global.cattle.windowsCluster.enabled .Values.global.cattle.windowsCluster.nodeSelector }} {{ toYaml .Values.global.cattle.windowsCluster.nodeSelector | indent 8 }} {{- end }} - {{- if or .Values.longhornManager.nodeSelector }} -{{ toYaml .Values.longhornManager.nodeSelector | indent 8 }} + {{- if or .Values.global.nodeSelector .Values.longhornManager.nodeSelector }} +{{ default .Values.global.nodeSelector .Values.longhornManager.nodeSelector | toYaml | indent 8 }} {{- end }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index c7dfe64314..b59509efe3 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -2,6 +2,10 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. global: + # -- Toleration for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer. + tolerations: [] + # -- Node selector for nodes allowed to run user-deployed components such as Longhorn Manager, Longhorn UI, and Longhorn Driver Deployer. + nodeSelector: {} cattle: # -- Default system registry. systemDefaultRegistry: "" @@ -341,7 +345,7 @@ longhornManager: format: plain # -- PriorityClass for Longhorn Manager. priorityClass: *defaultPriorityClassNameRef - # -- Toleration for Longhorn Manager on nodes allowed to run Longhorn Manager. + # -- Toleration for Longhorn Manager on nodes allowed to run Longhorn components. tolerations: [] ## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above ## and uncomment this example block From c82d7e3031fe0b959c588c1f53570bc97b5199cc Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 24 May 2024 12:26:32 +0800 Subject: [PATCH 47/88] fix: typos Signed-off-by: Chin-Ya Huang --- ...0230417-extend-csi-snapshot-to-support-backingimage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/enhancements/20230417-extend-csi-snapshot-to-support-backingimage.md b/enhancements/20230417-extend-csi-snapshot-to-support-backingimage.md index ffc4866a3d..28483ebe66 100644 --- a/enhancements/20230417-extend-csi-snapshot-to-support-backingimage.md +++ b/enhancements/20230417-extend-csi-snapshot-to-support-backingimage.md @@ -309,7 +309,7 @@ https://longhorn.io/docs/1.4.1/snapshots-and-backups/csi-snapshot-support/enable type: bi ``` -#### Scenerios 1: Create VolumeSnapshot from a Volume +#### Scenarios 1: Create VolumeSnapshot from a Volume - Success 1. Create a Volume `test-vol` of 5GB. Create PV/PVC for the Volume. @@ -333,7 +333,7 @@ https://longhorn.io/docs/1.4.1/snapshots-and-backups/csi-snapshot-support/enable 5. Delete the VolumeSnapshot `test-snapshot-backing` 6. Verify the BacingImage is deleted -#### Scenerios 2: Create new Volume from CSI snapshot +#### Scenarios 2: Create new Volume from CSI snapshot 1. Create a Volume `test-vol` of 5GB. Create PV/PVC for the Volume. 2. Create a workload using the Volume. Write some data to the Volume. @@ -370,7 +370,7 @@ https://longhorn.io/docs/1.4.1/snapshots-and-backups/csi-snapshot-support/enable 5. Attach the PVC `test-restore-pvc` to a workload and verify the data 6. Delete the PVC -#### Scenerios 3: Restore pre-provisioned BackingImage +#### Scenarios 3: Restore pre-provisioned BackingImage 1. Create a BackingImage `test-bi` using longhorn test raw image `https://longhorn-backing-image.s3-us-west-1.amazonaws.com/parrot.qcow2` 2. Create a VolumeSnapshotContent with `snapshotHandle` pointing to BackingImage `test-bi` and provide the parameters. @@ -420,7 +420,7 @@ https://longhorn.io/docs/1.4.1/snapshots-and-backups/csi-snapshot-support/enable ``` 5. Attach the PVC `test-restore-existing-backing` to a workload and verify the data -#### Scenerios 4: Restore on-demand provisioning BackingImage +#### Scenarios 4: Restore on-demand provisioning BackingImage - Type `download` 1. Create a VolumeSnapshotContent with `snapshotHandle` providing the required parameters and BackingImage name `test-bi` From f1bbb8756ade28f4914b7b6bd04f85a5fb72d58a Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Tue, 28 May 2024 10:38:06 +0800 Subject: [PATCH 48/88] chore(image): update support-bundle-kit to v0.0.38 longhorn/longhorn-8623 Signed-off-by: Chin-Ya Huang (cherry picked from commit b40c7fedcd25cd69d7df76ac1f05a335b43933b8) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 09839f5ef2..7d512cea33 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.37"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.38"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 455c454f79..49edbbf2e7 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.37 + default: v0.0.38 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index b59509efe3..d795eafb3d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.37 + tag: v0.0.38 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index ece113301a..2ee4d33b9e 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -11,4 +11,4 @@ longhornio/longhorn-instance-manager:v1.6.2 longhornio/longhorn-manager:v1.6.2 longhornio/longhorn-share-manager:v1.6.2 longhornio/longhorn-ui:v1.6.2 -longhornio/support-bundle-kit:v0.0.37 +longhornio/support-bundle-kit:v0.0.38 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index d8c1a56b9a..0f59347afd 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4398,7 +4398,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.2" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.37" + - "longhornio/support-bundle-kit:v0.0.38" - --manager-image - "longhornio/longhorn-manager:v1.6.2" - --service-account From 8d6c4c7c7d307518190f78bc0c4c08c4310870aa Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Wed, 5 Jun 2024 12:21:51 +1000 Subject: [PATCH 49/88] environment_check.sh: add check for iscsi_tcp kernel module Related issue: https://github.com/longhorn/longhorn/issues/8697 Signed-off-by: Tim Serong (cherry picked from commit cb937283397fd0d253dc562bd85f5aa128b7732e) --- scripts/environment_check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/environment_check.sh b/scripts/environment_check.sh index cb96597183..613a219c85 100755 --- a/scripts/environment_check.sh +++ b/scripts/environment_check.sh @@ -332,6 +332,7 @@ check_iscsid() { return 1 fi fi + check_kernel_module ${pod} CONFIG_ISCSI_TCP iscsi_tcp } check_multipathd() { From 430c438940fcdc6f1fa0bbf85d92cdd102d47588 Mon Sep 17 00:00:00 2001 From: Phan Le Date: Fri, 28 Jun 2024 17:27:00 -0700 Subject: [PATCH 50/88] Remove headless services for instance manager pods See explanation at https://github.com/longhorn/longhorn/issues/8844#issuecomment-2197769331 longhorn-8844 Signed-off-by: Phan Le (cherry picked from commit d6eb5dbe9a8612940492ed67a0d1d0ded2a61217) --- chart/templates/services.yaml | 24 ------------------------ deploy/longhorn.yaml | 32 -------------------------------- 2 files changed, 56 deletions(-) diff --git a/chart/templates/services.yaml b/chart/templates/services.yaml index 8baef021f3..9523cabcab 100644 --- a/chart/templates/services.yaml +++ b/chart/templates/services.yaml @@ -45,27 +45,3 @@ spec: - name: recovery-backend port: 9503 targetPort: recov-backend ---- -apiVersion: v1 -kind: Service -metadata: - labels: {{- include "longhorn.labels" . | nindent 4 }} - name: longhorn-engine-manager - namespace: {{ include "release_namespace" . }} -spec: - clusterIP: None - selector: - longhorn.io/component: instance-manager - longhorn.io/instance-manager-type: engine ---- -apiVersion: v1 -kind: Service -metadata: - labels: {{- include "longhorn.labels" . | nindent 4 }} - name: longhorn-replica-manager - namespace: {{ include "release_namespace" . }} -spec: - clusterIP: None - selector: - longhorn.io/component: instance-manager - longhorn.io/instance-manager-type: replica diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 0f59347afd..7782c3076e 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4324,38 +4324,6 @@ spec: port: 9503 targetPort: recov-backend --- -# Source: longhorn/templates/services.yaml -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: longhorn - app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 - name: longhorn-engine-manager - namespace: longhorn-system -spec: - clusterIP: None - selector: - longhorn.io/component: instance-manager - longhorn.io/instance-manager-type: engine ---- -# Source: longhorn/templates/services.yaml -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: longhorn - app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 - name: longhorn-replica-manager - namespace: longhorn-system -spec: - clusterIP: None - selector: - longhorn.io/component: instance-manager - longhorn.io/instance-manager-type: replica ---- # Source: longhorn/templates/daemonset-sa.yaml apiVersion: apps/v1 kind: DaemonSet From 81976027f871088f2cf88679fc86669edcd0773f Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 4 Jul 2024 16:41:34 +0800 Subject: [PATCH 51/88] fix(cve): update support-bundle-kit to v0.0.39 longhorn/security-20 Signed-off-by: Chin-Ya Huang (cherry picked from commit 623884c2c20b18fe44d9aa5450f2bab2c2b759f9) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 7d512cea33..28471786c5 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.38"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.39"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 49edbbf2e7..1f60e316a7 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.38 + default: v0.0.39 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index d795eafb3d..31f36286ab 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.38 + tag: v0.0.39 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 2ee4d33b9e..ec97d834cc 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -11,4 +11,4 @@ longhornio/longhorn-instance-manager:v1.6.2 longhornio/longhorn-manager:v1.6.2 longhornio/longhorn-share-manager:v1.6.2 longhornio/longhorn-ui:v1.6.2 -longhornio/support-bundle-kit:v0.0.38 +longhornio/support-bundle-kit:v0.0.39 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 7782c3076e..04ffc24e32 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4366,7 +4366,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.2" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.38" + - "longhornio/support-bundle-kit:v0.0.39" - --manager-image - "longhornio/longhorn-manager:v1.6.2" - --service-account From 2b5ab1231d1228b63ed82c7825193d79c639bd17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kej=C5=99?= <92027976+kejrak@users.noreply.github.com> Date: Thu, 11 Jul 2024 22:27:24 +0200 Subject: [PATCH 52/88] feat(serviceMonitor): add multiple settings for ServiceMonitor resource MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(serviceMonitor): add multiple additional settings for ServiceMonitor resource Signed-off-by: Jan Kejř * fix(serviceMonitor): remove tlsconfig and scheme due to http only Signed-off-by: Jan Kejř * fix(serviceMonitor): disable as default option Signed-off-by: Jan Kejř * refactor(serviceMonitor): remove tlsconfig and scheme from Service Monitor resource Signed-off-by: Jan Kejř * refactor(serviceMonitor): adjust field descriptions Signed-off-by: Eric Weber * refactor(serviceMonitor): default interval to empty Signed-off-by: Eric Weber Longhorn 8142 Signed-off-by: Jan Kejř Signed-off-by: Eric Weber Co-authored-by: Eric Weber (cherry picked from commit 11066751cf818ddd93a4df0c457004e0fc95894c) --- chart/README.md | 6 ++++++ chart/templates/servicemonitor.yaml | 21 +++++++++++++++++++++ chart/values.yaml | 14 ++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/chart/README.md b/chart/README.md index 28471786c5..9d12dbced3 100644 --- a/chart/README.md +++ b/chart/README.md @@ -244,7 +244,13 @@ For more details, see the [ocp-readme](https://github.com/longhorn/longhorn/blob | annotations | `{}` | Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. | | enableGoCoverDir | `false` | Setting that allows Longhorn to generate code coverage profiles. | | enablePSP | `false` | Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled. | +| metrics.serviceMonitor.additionalLabels | `{}` | Setting that adds additional labels to the Prometheus ServiceMonitor. | +| metrics.serviceMonitor.annotations | `{}` | Setting that adds annotations to the Prometheus ServiceMonitor. | | metrics.serviceMonitor.enabled | `false` | Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. | +| metrics.serviceMonitor.interval | `""` | Interval at which Prometheus scrapes the metrics from the target. | +| metrics.serviceMonitor.metricRelabelings | `[]` | Configures the relabeling rules to apply to the samples before ingestion. See Prometheus operator documentation for format. | +| metrics.serviceMonitor.relabelings | `[]` | Configures the relabeling rules to apply the target’s metadata labels. See Prometheus operator documentation for format. | +| metrics.serviceMonitor.scrapeTimeout | `""` | Timeout after which Prometheus considers the scrape to be failed. | | namespaceOverride | `""` | Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`. | | preUpgradeChecker.jobEnabled | `true` | Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. | | preUpgradeChecker.upgradeVersionCheck | `true` | Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled. | diff --git a/chart/templates/servicemonitor.yaml b/chart/templates/servicemonitor.yaml index fd11fe9d47..3f32961332 100644 --- a/chart/templates/servicemonitor.yaml +++ b/chart/templates/servicemonitor.yaml @@ -7,6 +7,13 @@ metadata: labels: {{- include "longhorn.labels" . | nindent 4 }} name: longhorn-prometheus-servicemonitor + {{- with .Values.metrics.serviceMonitor.additionalLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.metrics.serviceMonitor.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: selector: matchLabels: @@ -16,4 +23,18 @@ spec: - {{ include "release_namespace" . }} endpoints: - port: manager + {{- with .Values.metrics.serviceMonitor.interval }} + interval: {{ . }} + {{- end }} + {{- with .Values.metrics.serviceMonitor.scrapeTimeout }} + scrapeTimeout: {{ . }} + {{- end }} + {{- with .Values.metrics.serviceMonitor.relabelings }} + relabelings: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.metrics.serviceMonitor.metricRelabelings }} + metricRelabelings: + {{- toYaml . | nindent 8 }} + {{- end }} {{- end }} \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index 31f36286ab..717ec514ad 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -471,6 +471,20 @@ metrics: serviceMonitor: # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. enabled: false + # -- Setting that adds additional labels to the Prometheus ServiceMonitor. + additionalLabels: {} + # -- Setting that adds annotations to the Prometheus ServiceMonitor. + annotations: {} + # -- Interval at which Prometheus scrapes the metrics from the target. + interval: "" + # -- Timeout after which Prometheus considers the scrape to be failed. + scrapeTimeout: "" + # -- Configures the relabeling rules to apply the target’s metadata labels. See Prometheus operator documentation + # for format. + relabelings: [] + # -- Configures the relabeling rules to apply to the samples before ingestion. See Prometheus operator documentation + # for format. + metricRelabelings: [] ## openshift settings openshift: From 859301ef58c97cfe91b50125de551e68c6f36131 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Fri, 12 Jul 2024 09:37:13 -0500 Subject: [PATCH 53/88] docs(metrics): move Helm values to a separate section in README.md Longhorn 8142 Signed-off-by: Eric Weber (cherry picked from commit e759608033d18108d339e7a1ce1764f0fefb6425) --- chart/README.md | 19 ++++++++++++------- chart/README.md.gotmpl | 11 +++++++++++ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/chart/README.md b/chart/README.md index 9d12dbced3..bfd0b89b39 100644 --- a/chart/README.md +++ b/chart/README.md @@ -224,6 +224,18 @@ You can install Longhorn in an air-gapped environment with a private registry. F | privateRegistry.registryUrl | URL of a private registry. When unspecified, Longhorn uses the default system registry. | | privateRegistry.registryUser | User account used for authenticating with a private registry. | +### Metrics Settings + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| metrics.serviceMonitor.additionalLabels | object | `{}` | Setting that adds additional labels to the Prometheus ServiceMonitor. | +| metrics.serviceMonitor.annotations | object | `{}` | Setting that adds annotations to the Prometheus ServiceMonitor. | +| metrics.serviceMonitor.enabled | bool | `false` | Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. | +| metrics.serviceMonitor.interval | string | `""` | Interval at which Prometheus scrapes the metrics from the target. | +| metrics.serviceMonitor.metricRelabelings | list | `[]` | Configures the relabeling rules to apply to the samples before ingestion. See Prometheus operator documentation for format. | +| metrics.serviceMonitor.relabelings | list | `[]` | Configures the relabeling rules to apply the target’s metadata labels. See Prometheus operator documentation for format. | +| metrics.serviceMonitor.scrapeTimeout | string | `""` | Timeout after which Prometheus considers the scrape to be failed. | + ### OS/Kubernetes Distro Settings #### OpenShift Settings @@ -244,13 +256,6 @@ For more details, see the [ocp-readme](https://github.com/longhorn/longhorn/blob | annotations | `{}` | Annotation for the Longhorn Manager DaemonSet pods. This setting is optional. | | enableGoCoverDir | `false` | Setting that allows Longhorn to generate code coverage profiles. | | enablePSP | `false` | Setting that allows you to enable pod security policies (PSPs) that allow privileged Longhorn pods to start. This setting applies only to clusters running Kubernetes 1.25 and earlier, and with the built-in Pod Security admission controller enabled. | -| metrics.serviceMonitor.additionalLabels | `{}` | Setting that adds additional labels to the Prometheus ServiceMonitor. | -| metrics.serviceMonitor.annotations | `{}` | Setting that adds annotations to the Prometheus ServiceMonitor. | -| metrics.serviceMonitor.enabled | `false` | Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. | -| metrics.serviceMonitor.interval | `""` | Interval at which Prometheus scrapes the metrics from the target. | -| metrics.serviceMonitor.metricRelabelings | `[]` | Configures the relabeling rules to apply to the samples before ingestion. See Prometheus operator documentation for format. | -| metrics.serviceMonitor.relabelings | `[]` | Configures the relabeling rules to apply the target’s metadata labels. See Prometheus operator documentation for format. | -| metrics.serviceMonitor.scrapeTimeout | `""` | Timeout after which Prometheus considers the scrape to be failed. | | namespaceOverride | `""` | Specify override namespace, specifically this is useful for using longhorn as sub-chart and its release namespace is not the `longhorn-system`. | | preUpgradeChecker.jobEnabled | `true` | Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions. | | preUpgradeChecker.upgradeVersionCheck | `true` | Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled. | diff --git a/chart/README.md.gotmpl b/chart/README.md.gotmpl index f199a2ae13..6167301fad 100644 --- a/chart/README.md.gotmpl +++ b/chart/README.md.gotmpl @@ -187,6 +187,16 @@ You can install Longhorn in an air-gapped environment with a private registry. F {{- end }} {{- end }} +### Metrics Settings + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +{{- range .Values }} + {{- if hasPrefix "metrics" .Key }} +| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} | + {{- end }} +{{- end }} + ### OS/Kubernetes Distro Settings #### OpenShift Settings @@ -217,6 +227,7 @@ For more details, see the [ocp-readme](https://github.com/longhorn/longhorn/blob (hasPrefix "longhornUI" .Key) (hasPrefix "privateRegistry" .Key) (hasPrefix "ingress" .Key) + (hasPrefix "metrics" .Key) (hasPrefix "openshift" .Key) (hasPrefix "global" .Key)) }} | {{ .Key }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} | From f053774b6629cdc5629e46085f60c4fa635dccdf Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 18 Jul 2024 14:39:14 +0800 Subject: [PATCH 54/88] fix(cve): update support-bundle-kit to v0.0.40 longhorn/longhorn-8976 Signed-off-by: Chin-Ya Huang (cherry picked from commit a32dace7221be19ec2a5b41fd7a107370b695c82) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index bfd0b89b39..22b4bc40bf 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.39"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.40"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 1f60e316a7..eeb2d8b3d6 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.39 + default: v0.0.40 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 717ec514ad..50bc098050 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.39 + tag: v0.0.40 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index ec97d834cc..90c76eec65 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -11,4 +11,4 @@ longhornio/longhorn-instance-manager:v1.6.2 longhornio/longhorn-manager:v1.6.2 longhornio/longhorn-share-manager:v1.6.2 longhornio/longhorn-ui:v1.6.2 -longhornio/support-bundle-kit:v0.0.39 +longhornio/support-bundle-kit:v0.0.40 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 04ffc24e32..9b0044ba87 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4366,7 +4366,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.2" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.39" + - "longhornio/support-bundle-kit:v0.0.40" - --manager-image - "longhornio/longhorn-manager:v1.6.2" - --service-account From e963181d35e04b1ceb541960fbf79d7097047c1c Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Tue, 16 Jul 2024 09:42:20 -0500 Subject: [PATCH 55/88] docs(metrics): reformat serviceMonitor Helm variable descriptions Longhorn 8142 Signed-off-by: Eric Weber (cherry picked from commit d5e8a44104f5e03c310870b47da7c8ab55f671b3) --- chart/README.md | 8 ++++---- chart/values.yaml | 14 ++++++++------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/chart/README.md b/chart/README.md index 22b4bc40bf..afba36a597 100644 --- a/chart/README.md +++ b/chart/README.md @@ -228,12 +228,12 @@ You can install Longhorn in an air-gapped environment with a private registry. F | Key | Type | Default | Description | |-----|------|---------|-------------| -| metrics.serviceMonitor.additionalLabels | object | `{}` | Setting that adds additional labels to the Prometheus ServiceMonitor. | -| metrics.serviceMonitor.annotations | object | `{}` | Setting that adds annotations to the Prometheus ServiceMonitor. | +| metrics.serviceMonitor.additionalLabels | object | `{}` | Additional labels for the Prometheus ServiceMonitor resource. | +| metrics.serviceMonitor.annotations | object | `{}` | Annotations for the Prometheus ServiceMonitor resource. | | metrics.serviceMonitor.enabled | bool | `false` | Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. | | metrics.serviceMonitor.interval | string | `""` | Interval at which Prometheus scrapes the metrics from the target. | -| metrics.serviceMonitor.metricRelabelings | list | `[]` | Configures the relabeling rules to apply to the samples before ingestion. See Prometheus operator documentation for format. | -| metrics.serviceMonitor.relabelings | list | `[]` | Configures the relabeling rules to apply the target’s metadata labels. See Prometheus operator documentation for format. | +| metrics.serviceMonitor.metricRelabelings | list | `[]` | Configures the relabeling rules to apply to the samples before ingestion. See the [Prometheus Operator documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for formatting details. | +| metrics.serviceMonitor.relabelings | list | `[]` | Configures the relabeling rules to apply the target’s metadata labels. See the [Prometheus Operator documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for formatting details. | | metrics.serviceMonitor.scrapeTimeout | string | `""` | Timeout after which Prometheus considers the scrape to be failed. | ### OS/Kubernetes Distro Settings diff --git a/chart/values.yaml b/chart/values.yaml index 50bc098050..72afb60719 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -471,19 +471,21 @@ metrics: serviceMonitor: # -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components. enabled: false - # -- Setting that adds additional labels to the Prometheus ServiceMonitor. + # -- Additional labels for the Prometheus ServiceMonitor resource. additionalLabels: {} - # -- Setting that adds annotations to the Prometheus ServiceMonitor. + # -- Annotations for the Prometheus ServiceMonitor resource. annotations: {} # -- Interval at which Prometheus scrapes the metrics from the target. interval: "" # -- Timeout after which Prometheus considers the scrape to be failed. scrapeTimeout: "" - # -- Configures the relabeling rules to apply the target’s metadata labels. See Prometheus operator documentation - # for format. + # -- Configures the relabeling rules to apply the target’s metadata labels. See the [Prometheus Operator + # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for + # formatting details. relabelings: [] - # -- Configures the relabeling rules to apply to the samples before ingestion. See Prometheus operator documentation - # for format. + # -- Configures the relabeling rules to apply to the samples before ingestion. See the [Prometheus Operator + # documentation](https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint) for + # formatting details. metricRelabelings: [] ## openshift settings From 6b7863848ee6e01d0960c32a01d5e2e90e013a92 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Mon, 5 Aug 2024 09:16:14 +0800 Subject: [PATCH 56/88] fix(cve): update support-bundle-kit to v0.0.41 longhorn/longhorn-9172 Signed-off-by: Chin-Ya Huang (cherry picked from commit e3ca8ada340db92b6fb211c6e3a9a2a595b0ea5e) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index afba36a597..13b8520202 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.40"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.41"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index eeb2d8b3d6..f6fff8049e 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.40 + default: v0.0.41 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 72afb60719..323e8b1b0a 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.40 + tag: v0.0.41 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 90c76eec65..5d89bde85f 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -11,4 +11,4 @@ longhornio/longhorn-instance-manager:v1.6.2 longhornio/longhorn-manager:v1.6.2 longhornio/longhorn-share-manager:v1.6.2 longhornio/longhorn-ui:v1.6.2 -longhornio/support-bundle-kit:v0.0.40 +longhornio/support-bundle-kit:v0.0.41 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 9b0044ba87..2167829586 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4366,7 +4366,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.2" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.40" + - "longhornio/support-bundle-kit:v0.0.41" - --manager-image - "longhornio/longhorn-manager:v1.6.2" - --service-account From 6d293d1450d3de31365009fe6307f44865d1a27d Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 30 Aug 2024 18:05:56 +0800 Subject: [PATCH 57/88] fix(cve): update support-bundle-kit to v0.0.42 longhorn/longhorn-9354 Signed-off-by: Chin-Ya Huang (cherry picked from commit ec1981f5775360f4d71f7880a648c9381c849113) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 13b8520202..e8e140c5af 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.41"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.42"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index f6fff8049e..e07fe3552a 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.41 + default: v0.0.42 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 323e8b1b0a..3bddba965c 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.41 + tag: v0.0.42 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 5d89bde85f..4f8bff3bc3 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -11,4 +11,4 @@ longhornio/longhorn-instance-manager:v1.6.2 longhornio/longhorn-manager:v1.6.2 longhornio/longhorn-share-manager:v1.6.2 longhornio/longhorn-ui:v1.6.2 -longhornio/support-bundle-kit:v0.0.41 +longhornio/support-bundle-kit:v0.0.42 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 2167829586..3cf90aa628 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4366,7 +4366,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.2" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.41" + - "longhornio/support-bundle-kit:v0.0.42" - --manager-image - "longhornio/longhorn-manager:v1.6.2" - --service-account From f473bd9a4ea5f5c2ef847b1cc89d19f205de190e Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 6 Sep 2024 10:12:40 +0800 Subject: [PATCH 58/88] fix(cve): update support-bundle-kit to 0.0.43 longhorn/longhorn-9132 Signed-off-by: Chin-Ya Huang (cherry picked from commit 060da8a7f05dc9a3ace63a36104a62d25eda171f) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index e8e140c5af..f10940488b 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.42"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.43"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index e07fe3552a..32a261c11f 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.42 + default: v0.0.43 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 3bddba965c..b4909e9783 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.42 + tag: v0.0.43 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 4f8bff3bc3..ad6cc0e8e8 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -11,4 +11,4 @@ longhornio/longhorn-instance-manager:v1.6.2 longhornio/longhorn-manager:v1.6.2 longhornio/longhorn-share-manager:v1.6.2 longhornio/longhorn-ui:v1.6.2 -longhornio/support-bundle-kit:v0.0.42 +longhornio/support-bundle-kit:v0.0.43 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 3cf90aa628..f7e04a483d 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4366,7 +4366,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.2" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.42" + - "longhornio/support-bundle-kit:v0.0.43" - --manager-image - "longhornio/longhorn-manager:v1.6.2" - --service-account From 007b4c357c0df0a8c74e049c598c27e9c5a6af20 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 6 Sep 2024 10:28:37 +0800 Subject: [PATCH 59/88] fix(cve): update csi-attacher to v4.7.0 longhorn/longhorn-9132 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index f10940488b..0fe37e488a 100644 --- a/chart/README.md +++ b/chart/README.md @@ -94,7 +94,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | Key | Type | Default | Description | |-----|------|---------|-------------| | image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | -| image.csi.attacher.tag | string | `"v4.5.1"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | +| image.csi.attacher.tag | string | `"v4.7.0"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.tag | string | `"v2.12.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 32a261c11f..cc9747bffd 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -101,7 +101,7 @@ questions: label: Longhorn CSI Attacher Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.attacher.tag - default: v4.5.1 + default: v4.7.0 description: "Tag for the CSI attacher image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Attacher Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index b4909e9783..67e6acf72d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -75,7 +75,7 @@ image: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-attacher # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. - tag: v4.5.1 + tag: v4.7.0 provisioner: # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-provisioner diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index ad6cc0e8e8..50fe572194 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,4 +1,4 @@ -longhornio/csi-attacher:v4.5.1 +longhornio/csi-attacher:v4.7.0 longhornio/csi-provisioner:v3.6.4 longhornio/csi-resizer:v1.10.1 longhornio/csi-snapshotter:v6.3.4 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index f7e04a483d..ee7189048a 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4482,7 +4482,7 @@ spec: fieldRef: fieldPath: spec.serviceAccountName - name: CSI_ATTACHER_IMAGE - value: "longhornio/csi-attacher:v4.5.1" + value: "longhornio/csi-attacher:v4.7.0" - name: CSI_PROVISIONER_IMAGE value: "longhornio/csi-provisioner:v3.6.4" - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE From 9e7dda59a768d2ecaa4a008000ad78a79697d08b Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 6 Sep 2024 10:30:10 +0800 Subject: [PATCH 60/88] fix(cve): update csi-resizer to v1.12.0 longhorn/longhorn-9132 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 0fe37e488a..d690269852 100644 --- a/chart/README.md +++ b/chart/README.md @@ -102,7 +102,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.tag | string | `"v3.6.4"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | -| image.csi.resizer.tag | string | `"v1.10.1"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | +| image.csi.resizer.tag | string | `"v1.12.0"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.tag | string | `"v6.3.4"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index cc9747bffd..38c4ef636c 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -137,7 +137,7 @@ questions: label: Longhorn CSI Driver Resizer Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.resizer.tag - default: v1.10.1 + default: v1.12.0 description: "Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Resizer Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 67e6acf72d..f4b5a34425 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -90,7 +90,7 @@ image: # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-resizer # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. - tag: v1.10.1 + tag: v1.12.0 snapshotter: # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-snapshotter diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 50fe572194..8070d5a3cf 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,6 +1,6 @@ longhornio/csi-attacher:v4.7.0 longhornio/csi-provisioner:v3.6.4 -longhornio/csi-resizer:v1.10.1 +longhornio/csi-resizer:v1.12.0 longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.9.2 longhornio/livenessprobe:v2.12.0 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index ee7189048a..4f6536eefa 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4488,7 +4488,7 @@ spec: - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE value: "longhornio/csi-node-driver-registrar:v2.9.2" - name: CSI_RESIZER_IMAGE - value: "longhornio/csi-resizer:v1.10.1" + value: "longhornio/csi-resizer:v1.12.0" - name: CSI_SNAPSHOTTER_IMAGE value: "longhornio/csi-snapshotter:v6.3.4" - name: CSI_LIVENESS_PROBE_IMAGE From be3b41667757f28d8e0611f41b6d56e41843fb33 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 6 Sep 2024 10:32:20 +0800 Subject: [PATCH 61/88] fix(cve): update csi-node-driver-registrar to v2.12.0 longhorn/longhorn-9132 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index d690269852..d5437f52c7 100644 --- a/chart/README.md +++ b/chart/README.md @@ -98,7 +98,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.tag | string | `"v2.12.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | -| image.csi.nodeDriverRegistrar.tag | string | `"v2.9.2"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | +| image.csi.nodeDriverRegistrar.tag | string | `"v2.12.0"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.tag | string | `"v3.6.4"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 38c4ef636c..7350848d82 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -125,7 +125,7 @@ questions: label: Longhorn CSI Node Driver Registrar Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.nodeDriverRegistrar.tag - default: v2.9.2 + default: v2.12.0 description: "Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Node Driver Registrar Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index f4b5a34425..48457bf555 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -85,7 +85,7 @@ image: # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-node-driver-registrar # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. - tag: v2.9.2 + tag: v2.12.0 resizer: # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-resizer diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 8070d5a3cf..75046d0773 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -2,7 +2,7 @@ longhornio/csi-attacher:v4.7.0 longhornio/csi-provisioner:v3.6.4 longhornio/csi-resizer:v1.12.0 longhornio/csi-snapshotter:v6.3.4 -longhornio/csi-node-driver-registrar:v2.9.2 +longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.12.0 longhornio/openshift-origin-oauth-proxy:4.14 longhornio/backing-image-manager:v1.6.2 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 4f6536eefa..8e69268767 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4486,7 +4486,7 @@ spec: - name: CSI_PROVISIONER_IMAGE value: "longhornio/csi-provisioner:v3.6.4" - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE - value: "longhornio/csi-node-driver-registrar:v2.9.2" + value: "longhornio/csi-node-driver-registrar:v2.12.0" - name: CSI_RESIZER_IMAGE value: "longhornio/csi-resizer:v1.12.0" - name: CSI_SNAPSHOTTER_IMAGE From c74d701006ff77e07f87333d112cbd3aee7f1023 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 6 Sep 2024 10:36:03 +0800 Subject: [PATCH 62/88] fix(cve): update livenessprobe to v2.14.0 longhorn/longhorn-9132 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index d5437f52c7..e663fafff3 100644 --- a/chart/README.md +++ b/chart/README.md @@ -96,7 +96,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.attacher.tag | string | `"v4.7.0"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | -| image.csi.livenessProbe.tag | string | `"v2.12.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | +| image.csi.livenessProbe.tag | string | `"v2.14.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.tag | string | `"v2.12.0"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 7350848d82..493d1b706e 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -161,7 +161,7 @@ questions: label: Longhorn CSI Liveness Probe Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.livenessProbe.tag - default: v2.12.0 + default: v2.14.0 description: "Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Liveness Probe Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 48457bf555..acf41ce698 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -100,7 +100,7 @@ image: # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. repository: longhornio/livenessprobe # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. - tag: v2.12.0 + tag: v2.14.0 openshift: oauthProxy: # -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 75046d0773..4720d0c9bd 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -3,7 +3,7 @@ longhornio/csi-provisioner:v3.6.4 longhornio/csi-resizer:v1.12.0 longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.12.0 -longhornio/livenessprobe:v2.12.0 +longhornio/livenessprobe:v2.14.0 longhornio/openshift-origin-oauth-proxy:4.14 longhornio/backing-image-manager:v1.6.2 longhornio/longhorn-engine:v1.6.2 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 8e69268767..8542e3eb84 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4492,7 +4492,7 @@ spec: - name: CSI_SNAPSHOTTER_IMAGE value: "longhornio/csi-snapshotter:v6.3.4" - name: CSI_LIVENESS_PROBE_IMAGE - value: "longhornio/livenessprobe:v2.12.0" + value: "longhornio/livenessprobe:v2.14.0" priorityClassName: "longhorn-critical" serviceAccountName: longhorn-service-account securityContext: From 4af404b1592d5911f4dde40bacf1f6a2676a0636 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 18 Jul 2024 14:56:06 +0800 Subject: [PATCH 63/88] fix(cve): update openshift-oauth-proxy to 4.15 longhorn/longhorn-9132 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/ocp-readme.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 4 ++-- deploy/longhorn-images.txt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chart/README.md b/chart/README.md index e663fafff3..65304739d1 100644 --- a/chart/README.md +++ b/chart/README.md @@ -120,7 +120,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | -| image.openshift.oauthProxy.tag | float | `4.14` | Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.14. | +| image.openshift.oauthProxy.tag | float | `4.15` | Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.15. | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. | ### Service Settings diff --git a/chart/ocp-readme.md b/chart/ocp-readme.md index f7638775b0..d2fb98e5f9 100644 --- a/chart/ocp-readme.md +++ b/chart/ocp-readme.md @@ -145,7 +145,7 @@ Minimum Adjustments Required openshift: oauthProxy: repository: quay.io/openshift/origin-oauth-proxy - tag: 4.14 # Use Your OCP/OKD 4.X Version, Current Stable is 4.14 + tag: 4.15 # Use Your OCP/OKD 4.X Version, Current Stable is 4.15 # defaultSettings: # Preparing nodes (Optional) # createDefaultDiskLabeledNodes: true diff --git a/chart/questions.yaml b/chart/questions.yaml index 493d1b706e..b3b89bb3a3 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -173,7 +173,7 @@ questions: label: OpenShift OAuth Proxy Image Repository group: "OpenShift Images" - variable: image.openshift.oauthProxy.tag - default: 4.14 + default: 4.15 description: "Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later." type: string label: OpenShift OAuth Proxy Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index acf41ce698..f5421299be 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -105,8 +105,8 @@ image: oauthProxy: # -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users. repository: longhornio/openshift-origin-oauth-proxy - # -- Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.14. - tag: 4.14 + # -- Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.15. + tag: 4.15 # -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. pullPolicy: IfNotPresent diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 4720d0c9bd..3edeef4341 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,7 +4,7 @@ longhornio/csi-resizer:v1.12.0 longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.14.0 -longhornio/openshift-origin-oauth-proxy:4.14 +longhornio/openshift-origin-oauth-proxy:4.15 longhornio/backing-image-manager:v1.6.2 longhornio/longhorn-engine:v1.6.2 longhornio/longhorn-instance-manager:v1.6.2 From 0272e3e7309f6bceab051d1d307f6d60494b96e8 Mon Sep 17 00:00:00 2001 From: David Ko Date: Tue, 10 Sep 2024 05:47:11 +0000 Subject: [PATCH 64/88] release: v1.6.3-rc1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 100 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 71 insertions(+), 71 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 34e123f5ce..efa36f3e53 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.2 -appVersion: v1.6.2 +version: 1.6.3-rc1 +appVersion: v1.6.3-rc1 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index b3b89bb3a3..eb3469f8d2 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.2 + default: v1.6.3-rc1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.2 + default: v1.6.3-rc1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.2 + default: v1.6.3-rc1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.2 + default: v1.6.3-rc1 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.2 + default: v1.6.3-rc1 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.2 + default: v1.6.3-rc1 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index f5421299be..9ed5a5a805 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -39,32 +39,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.2 + tag: v1.6.3-rc1 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.2 + tag: v1.6.3-rc1 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.2 + tag: v1.6.3-rc1 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.2 + tag: v1.6.3-rc1 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.2 + tag: v1.6.3-rc1 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.2 + tag: v1.6.3-rc1 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 3edeef4341..3d4efd5f66 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -5,10 +5,10 @@ longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.14.0 longhornio/openshift-origin-oauth-proxy:4.15 -longhornio/backing-image-manager:v1.6.2 -longhornio/longhorn-engine:v1.6.2 -longhornio/longhorn-instance-manager:v1.6.2 -longhornio/longhorn-manager:v1.6.2 -longhornio/longhorn-share-manager:v1.6.2 -longhornio/longhorn-ui:v1.6.2 +longhornio/backing-image-manager:v1.6.3-rc1 +longhornio/longhorn-engine:v1.6.3-rc1 +longhornio/longhorn-instance-manager:v1.6.3-rc1 +longhornio/longhorn-manager:v1.6.3-rc1 +longhornio/longhorn-share-manager:v1.6.3-rc1 +longhornio/longhorn-ui:v1.6.3-rc1 longhornio/support-bundle-kit:v0.0.43 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 8542e3eb84..3c376512e7 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -278,7 +278,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -457,7 +457,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -766,7 +766,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: backups.longhorn.io spec: @@ -962,7 +962,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1145,7 +1145,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1312,7 +1312,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1509,7 +1509,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1889,7 +1889,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2161,7 +2161,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2412,7 +2412,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2682,7 +2682,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2925,7 +2925,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3018,7 +3018,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3133,7 +3133,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3260,7 +3260,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3386,7 +3386,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3514,7 +3514,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4000,7 +4000,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -4129,7 +4129,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 rules: - apiGroups: - apiextensions.k8s.io @@ -4195,7 +4195,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4213,7 +4213,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4230,7 +4230,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4250,7 +4250,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4271,7 +4271,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4291,7 +4291,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4311,7 +4311,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4331,7 +4331,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4344,12 +4344,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.2 + image: longhornio/longhorn-manager:v1.6.3-rc1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4358,17 +4358,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.2" + - "longhornio/longhorn-engine:v1.6.3-rc1" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.2" + - "longhornio/longhorn-instance-manager:v1.6.3-rc1" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.2" + - "longhornio/longhorn-share-manager:v1.6.3-rc1" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.2" + - "longhornio/backing-image-manager:v1.6.3-rc1" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.43" - --manager-image - - "longhornio/longhorn-manager:v1.6.2" + - "longhornio/longhorn-manager:v1.6.3-rc1" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4438,7 +4438,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 spec: replicas: 1 selector: @@ -4449,23 +4449,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.2 + image: longhornio/longhorn-manager:v1.6.3-rc1 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.2 + image: longhornio/longhorn-manager:v1.6.3-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.2" + - "longhornio/longhorn-manager:v1.6.3-rc1" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4505,7 +4505,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4519,7 +4519,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.2 + app.kubernetes.io/version: v1.6.3-rc1 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4537,7 +4537,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.2 + image: longhornio/longhorn-ui:v1.6.3-rc1 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 21a7fe7181..6905612fc2 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.2 + image: longhornio/longhorn-manager:v1.6.3-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager From 3cf48c7f1a4d0de733f130b46628278ba21084f7 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Thu, 12 Sep 2024 00:35:09 +0800 Subject: [PATCH 65/88] fix(chart): update crd.yaml Longhorn 9438 Signed-off-by: Derek Su --- chart/templates/crds.yaml | 1036 ++++++++++++++++++++++-------------- deploy/longhorn.yaml | 1043 +++++++++++++++++++++++-------------- 2 files changed, 1305 insertions(+), 774 deletions(-) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index de5046a492..47d07b69f7 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -44,10 +44,19 @@ spec: description: BackingImageDataSource is where Longhorn stores backing image data source object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -94,10 +103,19 @@ spec: description: BackingImageDataSource is where Longhorn stores backing image data source object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -159,18 +177,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -216,10 +228,19 @@ spec: description: BackingImageManager is where Longhorn stores backing image manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -262,10 +283,19 @@ spec: description: BackingImageManager is where Longhorn stores backing image manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -334,18 +364,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -387,10 +411,19 @@ spec: description: BackingImage is where Longhorn stores backing image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -429,10 +462,19 @@ spec: description: BackingImage is where Longhorn stores backing image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -498,18 +540,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: longhorn-manager: "" @@ -552,10 +588,19 @@ spec: description: BackupBackingImage is where Longhorn stores backing image backup object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -573,7 +618,9 @@ spec: nullable: true type: string userCreated: - description: Is this CR created by user through API or UI. Required + description: |- + Is this CR created by user through API or UI. + Required type: boolean required: - userCreated @@ -627,7 +674,9 @@ spec: format: int64 type: integer state: - description: The backing image backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown". + description: |- + The backing image backup creation state. + Can be "", "InProgress", "Completed", "Error", "Unknown". type: string url: description: The backing image backup URL. @@ -638,18 +687,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -692,10 +735,19 @@ spec: description: Backup is where Longhorn stores backup object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -735,10 +787,19 @@ spec: description: Backup is where Longhorn stores backup object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -807,7 +868,9 @@ spec: description: The snapshot name. type: string state: - description: The backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown". + description: |- + The backup creation state. + Can be "", "InProgress", "Completed", "Error", "Unknown". type: string url: description: The snapshot backup URL. @@ -830,18 +893,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -896,10 +953,19 @@ spec: description: BackupTarget is where Longhorn stores backup target object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -939,10 +1005,19 @@ spec: description: BackupTarget is where Longhorn stores backup target object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -987,7 +1062,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -1009,18 +1086,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -1059,10 +1130,19 @@ spec: description: BackupVolume is where Longhorn stores backup volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1098,10 +1178,19 @@ spec: description: BackupVolume is where Longhorn stores backup volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1172,18 +1261,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -1238,10 +1321,19 @@ spec: description: EngineImage is where Longhorn stores engine image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1284,10 +1376,19 @@ spec: description: EngineImage is where Longhorn stores engine image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1325,7 +1426,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -1366,18 +1469,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: engines.longhorn.io @@ -1419,10 +1516,19 @@ spec: description: Engine is where Longhorn stores engine object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1465,10 +1571,19 @@ spec: description: Engine is where Longhorn stores engine object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1478,7 +1593,7 @@ spec: active: type: boolean backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string backupVolume: type: string @@ -1591,7 +1706,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -1669,7 +1786,10 @@ spec: replicaTransitionTimeMap: additionalProperties: type: string - description: ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt). + description: |- + ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or + from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers + (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt). type: object restoreStatus: additionalProperties: @@ -1742,18 +1862,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: instancemanagers.longhorn.io @@ -1791,10 +1905,19 @@ spec: description: InstanceManager is where Longhorn stores instance manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1833,10 +1956,19 @@ spec: description: InstanceManager is where Longhorn stores instance manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1863,10 +1995,6 @@ spec: type: integer apiVersion: type: integer - proxyApiMinVersion: - type: integer - proxyApiVersion: - type: integer currentState: type: string instanceEngines: @@ -1875,7 +2003,7 @@ spec: spec: properties: backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string dataEngine: type: string @@ -1918,7 +2046,7 @@ spec: spec: properties: backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string dataEngine: type: string @@ -1961,7 +2089,7 @@ spec: spec: properties: backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string dataEngine: type: string @@ -1996,31 +2124,29 @@ spec: type: string type: object type: object - nullable: true description: 'Deprecated: Replaced by InstanceEngines and InstanceReplicas' + nullable: true type: object ip: type: string ownerID: type: string + proxyApiMinVersion: + type: integer + proxyApiVersion: + type: integer type: object type: object served: true storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -2071,10 +2197,19 @@ spec: description: Node is where Longhorn stores Longhorn node object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2109,10 +2244,19 @@ spec: description: Node is where Longhorn stores Longhorn node object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2120,7 +2264,6 @@ spec: description: NodeSpec defines the desired state of the Longhorn node properties: allowScheduling: - description: Allow scheduling replicas on the node. type: boolean disks: additionalProperties: @@ -2177,7 +2320,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2204,7 +2349,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2234,21 +2381,17 @@ spec: format: int64 type: integer type: object - description: The status of the disks on the node. nullable: true type: object region: - description: The Region of the node. type: string snapshotCheckStatus: - description: The status of the snapshot integrity check. properties: lastPeriodicCheckedAt: format: date-time type: string type: object zone: - description: The Zone of the node. type: string type: object type: object @@ -2256,18 +2399,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -2298,10 +2435,19 @@ spec: description: Orphan is where Longhorn stores orphan object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2312,7 +2458,9 @@ spec: description: The node ID on which the controller is responsible to reconcile this orphan CR. type: string orphanType: - description: The type of the orphaned data. Can be "replica". + description: |- + The type of the orphaned data. + Can be "replica". type: string parameters: additionalProperties: @@ -2339,7 +2487,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2355,18 +2505,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: longhorn-manager: "" @@ -2416,10 +2560,19 @@ spec: description: RecurringJob is where Longhorn stores recurring job object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2466,10 +2619,19 @@ spec: description: RecurringJob is where Longhorn stores recurring job object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2499,7 +2661,9 @@ spec: description: The retain count of the snapshot/backup. type: integer task: - description: The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim" + description: |- + The recurring job task. + Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim" enum: - snapshot - snapshot-force-create @@ -2522,18 +2686,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: replicas.longhorn.io @@ -2579,10 +2737,19 @@ spec: description: Replica is where Longhorn stores replica object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2629,10 +2796,19 @@ spec: description: Replica is where Longhorn stores replica object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2642,7 +2818,7 @@ spec: active: type: boolean backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string backingImage: type: string @@ -2667,20 +2843,43 @@ spec: evictionRequested: type: boolean failedAt: - description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. + FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful + (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can + be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may + be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume + controller acknowledges the change. type: string hardNodeAffinity: type: string healthyAt: - description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt + indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have + useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the + corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller + acknowledges the change. type: string image: type: string lastFailedAt: - description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. + LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with + LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to + LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the + corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller + acknowledges the change. type: string lastHealthyAt: - description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is + never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a + replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be + compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be + later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume + controller acknowledges the change. type: string logRequested: type: boolean @@ -2724,7 +2923,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2761,18 +2962,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: settings.longhorn.io @@ -2802,10 +2997,19 @@ spec: description: Setting is where Longhorn stores setting object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2832,10 +3036,19 @@ spec: description: Setting is where Longhorn stores setting object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2849,18 +3062,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -2894,10 +3101,19 @@ spec: description: ShareManager is where Longhorn stores share manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2928,10 +3144,19 @@ spec: description: ShareManager is where Longhorn stores share manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2960,18 +3185,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -3017,10 +3236,19 @@ spec: description: Snapshot is the Schema for the snapshots API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3037,7 +3265,10 @@ spec: nullable: true type: object volume: - description: the volume that this snapshot belongs to. This field is immutable after creation. Required + description: |- + the volume that this snapshot belongs to. + This field is immutable after creation. + Required type: string required: - volume @@ -3083,18 +3314,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -3132,10 +3357,19 @@ spec: description: SupportBundle is where Longhorn stores support bundle object properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3174,7 +3408,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3205,18 +3441,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -3255,10 +3485,19 @@ spec: description: SystemBackup is where Longhorn stores system backup object properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3266,7 +3505,9 @@ spec: description: SystemBackupSpec defines the desired state of the Longhorn SystemBackup properties: volumeBackupPolicy: - description: The create volume backup policy Can be "if-not-present", "always" or "disabled" + description: |- + The create volume backup policy + Can be "if-not-present", "always" or "disabled" nullable: true type: string type: object @@ -3289,7 +3530,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3329,18 +3572,12 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" @@ -3370,10 +3607,19 @@ spec: description: SystemRestore is where Longhorn stores system restore object properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3405,7 +3651,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3428,18 +3676,148 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 + creationTimestamp: null + labels: {{- include "longhorn.labels" . | nindent 4 }} + longhorn-manager: "" + name: volumeattachments.longhorn.io +spec: + group: longhorn.io + names: + kind: VolumeAttachment + listKind: VolumeAttachmentList + plural: volumeattachments + shortNames: + - lhva + singular: volumeattachment + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta2 + schema: + openAPIV3Schema: + description: VolumeAttachment stores attachment information of a Longhorn volume + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: VolumeAttachmentSpec defines the desired state of Longhorn VolumeAttachment + properties: + attachmentTickets: + additionalProperties: + properties: + generation: + description: |- + A sequence number representing a specific generation of the desired state. + Populated by the system. Read-only. + format: int64 + type: integer + id: + description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. + type: string + nodeID: + description: The node that this attachment is requesting + type: string + parameters: + additionalProperties: + type: string + description: Optional additional parameter for this attachment + type: object + type: + type: string + type: object + type: object + volume: + description: The name of Longhorn volume of this VolumeAttachment + type: string + required: + - volume + type: object + status: + description: VolumeAttachmentStatus defines the observed state of Longhorn VolumeAttachment + properties: + attachmentTicketStatuses: + additionalProperties: + properties: + conditions: + description: Record any error when trying to fulfill this attachment + items: + properties: + lastProbeTime: + description: Last time we probed the condition. + type: string + lastTransitionTime: + description: Last time the condition transitioned from one status to another. + type: string + message: + description: Human-readable message indicating details about last transition. + type: string + reason: + description: Unique, one-word, CamelCase reason for the condition's last transition. + type: string + status: + description: |- + Status is the status of the condition. + Can be True, False, Unknown. + type: string + type: + description: Type is the type of the condition. + type: string + type: object + nullable: true + type: array + generation: + description: |- + A sequence number representing a specific generation of the desired state. + Populated by the system. Read-only. + format: int64 + type: integer + id: + description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. + type: string + satisfied: + description: Indicate whether this attachment ticket has been satisfied + type: boolean + required: + - conditions + - satisfied + type: object + type: object + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 labels: {{- include "longhorn.labels" . | nindent 4 }} longhorn-manager: "" name: volumes.longhorn.io @@ -3497,10 +3875,19 @@ spec: description: Volume is where Longhorn stores volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3547,10 +3934,19 @@ spec: description: Volume is where Longhorn stores volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3565,7 +3961,7 @@ spec: - rwx type: string backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`.' type: string backingImage: type: string @@ -3722,7 +4118,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3807,136 +4205,4 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null - labels: {{- include "longhorn.labels" . | nindent 4 }} - longhorn-manager: "" - name: volumeattachments.longhorn.io -spec: - group: longhorn.io - names: - kind: VolumeAttachment - listKind: VolumeAttachmentList - plural: volumeattachments - shortNames: - - lhva - singular: volumeattachment - scope: Namespaced - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1beta2 - schema: - openAPIV3Schema: - description: VolumeAttachment stores attachment information of a Longhorn volume - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: VolumeAttachmentSpec defines the desired state of Longhorn VolumeAttachment - properties: - attachmentTickets: - additionalProperties: - properties: - generation: - description: A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. - format: int64 - type: integer - id: - description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. - type: string - nodeID: - description: The node that this attachment is requesting - type: string - parameters: - additionalProperties: - type: string - description: Optional additional parameter for this attachment - type: object - type: - type: string - type: object - type: object - volume: - description: The name of Longhorn volume of this VolumeAttachment - type: string - required: - - volume - type: object - status: - description: VolumeAttachmentStatus defines the observed state of Longhorn VolumeAttachment - properties: - attachmentTicketStatuses: - additionalProperties: - properties: - conditions: - description: Record any error when trying to fulfill this attachment - items: - properties: - lastProbeTime: - description: Last time we probed the condition. - type: string - lastTransitionTime: - description: Last time the condition transitioned from one status to another. - type: string - message: - description: Human-readable message indicating details about last transition. - type: string - reason: - description: Unique, one-word, CamelCase reason for the condition's last transition. - type: string - status: - description: Status is the status of the condition. Can be True, False, Unknown. - type: string - type: - description: Type is the type of the condition. - type: string - type: object - nullable: true - type: array - generation: - description: A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. - format: int64 - type: integer - id: - description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. - type: string - satisfied: - description: Indicate whether this attachment ticket has been satisfied - type: boolean - required: - - conditions - - satisfied - type: object - type: object - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] + diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 3c376512e7..fb0d0d1728 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -101,7 +101,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -146,10 +146,19 @@ spec: description: BackingImageDataSource is where Longhorn stores backing image data source object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -196,10 +205,19 @@ spec: description: BackingImageDataSource is where Longhorn stores backing image data source object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -261,19 +279,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -322,10 +334,19 @@ spec: description: BackingImageManager is where Longhorn stores backing image manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -368,10 +389,19 @@ spec: description: BackingImageManager is where Longhorn stores backing image manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -440,19 +470,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -497,10 +521,19 @@ spec: description: BackingImage is where Longhorn stores backing image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -539,10 +572,19 @@ spec: description: BackingImage is where Longhorn stores backing image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -608,19 +650,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: longhorn-manager: "" @@ -663,10 +699,19 @@ spec: description: BackupBackingImage is where Longhorn stores backing image backup object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -684,7 +729,9 @@ spec: nullable: true type: string userCreated: - description: Is this CR created by user through API or UI. Required + description: |- + Is this CR created by user through API or UI. + Required type: boolean required: - userCreated @@ -738,7 +785,9 @@ spec: format: int64 type: integer state: - description: The backing image backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown". + description: |- + The backing image backup creation state. + Can be "", "InProgress", "Completed", "Error", "Unknown". type: string url: description: The backing image backup URL. @@ -749,19 +798,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -807,10 +850,19 @@ spec: description: Backup is where Longhorn stores backup object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -850,10 +902,19 @@ spec: description: Backup is where Longhorn stores backup object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -922,7 +983,9 @@ spec: description: The snapshot name. type: string state: - description: The backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown". + description: |- + The backup creation state. + Can be "", "InProgress", "Completed", "Error", "Unknown". type: string url: description: The snapshot backup URL. @@ -945,19 +1008,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -1015,10 +1072,19 @@ spec: description: BackupTarget is where Longhorn stores backup target object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1058,10 +1124,19 @@ spec: description: BackupTarget is where Longhorn stores backup target object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1106,7 +1181,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -1128,19 +1205,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -1182,10 +1253,19 @@ spec: description: BackupVolume is where Longhorn stores backup volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1221,10 +1301,19 @@ spec: description: BackupVolume is where Longhorn stores backup volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1295,19 +1384,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -1365,10 +1448,19 @@ spec: description: EngineImage is where Longhorn stores engine image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1411,10 +1503,19 @@ spec: description: EngineImage is where Longhorn stores engine image object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1452,7 +1553,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -1493,19 +1596,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -1550,10 +1647,19 @@ spec: description: Engine is where Longhorn stores engine object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1596,10 +1702,19 @@ spec: description: Engine is where Longhorn stores engine object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1609,7 +1724,7 @@ spec: active: type: boolean backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string backupVolume: type: string @@ -1722,7 +1837,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -1800,7 +1917,10 @@ spec: replicaTransitionTimeMap: additionalProperties: type: string - description: ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt). + description: |- + ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or + from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers + (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt). type: object restoreStatus: additionalProperties: @@ -1873,19 +1993,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -1926,10 +2040,19 @@ spec: description: InstanceManager is where Longhorn stores instance manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1968,10 +2091,19 @@ spec: description: InstanceManager is where Longhorn stores instance manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1998,10 +2130,6 @@ spec: type: integer apiVersion: type: integer - proxyApiMinVersion: - type: integer - proxyApiVersion: - type: integer currentState: type: string instanceEngines: @@ -2010,7 +2138,7 @@ spec: spec: properties: backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string dataEngine: type: string @@ -2053,7 +2181,7 @@ spec: spec: properties: backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string dataEngine: type: string @@ -2096,7 +2224,7 @@ spec: spec: properties: backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string dataEngine: type: string @@ -2131,32 +2259,30 @@ spec: type: string type: object type: object - nullable: true description: 'Deprecated: Replaced by InstanceEngines and InstanceReplicas' + nullable: true type: object ip: type: string ownerID: type: string + proxyApiMinVersion: + type: integer + proxyApiVersion: + type: integer type: object type: object served: true storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -2210,10 +2336,19 @@ spec: description: Node is where Longhorn stores Longhorn node object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2248,10 +2383,19 @@ spec: description: Node is where Longhorn stores Longhorn node object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2259,7 +2403,6 @@ spec: description: NodeSpec defines the desired state of the Longhorn node properties: allowScheduling: - description: Allow scheduling replicas on the node. type: boolean disks: additionalProperties: @@ -2316,7 +2459,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2343,7 +2488,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2373,21 +2520,17 @@ spec: format: int64 type: integer type: object - description: The status of the disks on the node. nullable: true type: object region: - description: The Region of the node. type: string snapshotCheckStatus: - description: The status of the snapshot integrity check. properties: lastPeriodicCheckedAt: format: date-time type: string type: object zone: - description: The Zone of the node. type: string type: object type: object @@ -2395,19 +2538,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -2441,10 +2578,19 @@ spec: description: Orphan is where Longhorn stores orphan object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2455,7 +2601,9 @@ spec: description: The node ID on which the controller is responsible to reconcile this orphan CR. type: string orphanType: - description: The type of the orphaned data. Can be "replica". + description: |- + The type of the orphaned data. + Can be "replica". type: string parameters: additionalProperties: @@ -2482,7 +2630,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2498,19 +2648,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: longhorn-manager: "" @@ -2560,10 +2704,19 @@ spec: description: RecurringJob is where Longhorn stores recurring job object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2610,10 +2763,19 @@ spec: description: RecurringJob is where Longhorn stores recurring job object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2643,7 +2805,9 @@ spec: description: The retain count of the snapshot/backup. type: integer task: - description: The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim" + description: |- + The recurring job task. + Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim" enum: - snapshot - snapshot-force-create @@ -2666,19 +2830,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -2727,10 +2885,19 @@ spec: description: Replica is where Longhorn stores replica object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2777,10 +2944,19 @@ spec: description: Replica is where Longhorn stores replica object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2790,7 +2966,7 @@ spec: active: type: boolean backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`. type: string backingImage: type: string @@ -2815,20 +2991,43 @@ spec: evictionRequested: type: boolean failedAt: - description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. + FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful + (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can + be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may + be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume + controller acknowledges the change. type: string hardNodeAffinity: type: string healthyAt: - description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt + indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have + useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the + corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller + acknowledges the change. type: string image: type: string lastFailedAt: - description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. + LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with + LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to + LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the + corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller + acknowledges the change. type: string lastHealthyAt: - description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + description: |- + LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is + never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a + replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be + compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be + later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume + controller acknowledges the change. type: string logRequested: type: boolean @@ -2872,7 +3071,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -2909,19 +3110,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -2954,10 +3149,19 @@ spec: description: Setting is where Longhorn stores setting object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -2984,10 +3188,19 @@ spec: description: Setting is where Longhorn stores setting object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3001,19 +3214,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -3050,10 +3257,19 @@ spec: description: ShareManager is where Longhorn stores share manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3084,10 +3300,19 @@ spec: description: ShareManager is where Longhorn stores share manager object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3116,19 +3341,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -3177,10 +3396,19 @@ spec: description: Snapshot is the Schema for the snapshots API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3197,7 +3425,10 @@ spec: nullable: true type: object volume: - description: the volume that this snapshot belongs to. This field is immutable after creation. Required + description: |- + the volume that this snapshot belongs to. + This field is immutable after creation. + Required type: string required: - volume @@ -3243,19 +3474,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -3296,10 +3521,19 @@ spec: description: SupportBundle is where Longhorn stores support bundle object properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3338,7 +3572,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3369,19 +3605,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -3423,10 +3653,19 @@ spec: description: SystemBackup is where Longhorn stores system backup object properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3434,7 +3673,9 @@ spec: description: SystemBackupSpec defines the desired state of the Longhorn SystemBackup properties: volumeBackupPolicy: - description: The create volume backup policy Can be "if-not-present", "always" or "disabled" + description: |- + The create volume backup policy + Can be "if-not-present", "always" or "disabled" nullable: true type: string type: object @@ -3457,7 +3698,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3497,19 +3740,13 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 creationTimestamp: null labels: app.kubernetes.io/name: longhorn @@ -3542,10 +3779,19 @@ spec: description: SystemRestore is where Longhorn stores system restore object properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3577,7 +3823,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3600,19 +3848,153 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.7.0 + controller-gen.kubebuilder.io/version: v0.15.0 + creationTimestamp: null + labels: + app.kubernetes.io/name: longhorn + app.kubernetes.io/instance: longhorn + app.kubernetes.io/version: v1.6.3-rc1 + longhorn-manager: "" + name: volumeattachments.longhorn.io +spec: + group: longhorn.io + names: + kind: VolumeAttachment + listKind: VolumeAttachmentList + plural: volumeattachments + shortNames: + - lhva + singular: volumeattachment + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta2 + schema: + openAPIV3Schema: + description: VolumeAttachment stores attachment information of a Longhorn volume + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: VolumeAttachmentSpec defines the desired state of Longhorn VolumeAttachment + properties: + attachmentTickets: + additionalProperties: + properties: + generation: + description: |- + A sequence number representing a specific generation of the desired state. + Populated by the system. Read-only. + format: int64 + type: integer + id: + description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. + type: string + nodeID: + description: The node that this attachment is requesting + type: string + parameters: + additionalProperties: + type: string + description: Optional additional parameter for this attachment + type: object + type: + type: string + type: object + type: object + volume: + description: The name of Longhorn volume of this VolumeAttachment + type: string + required: + - volume + type: object + status: + description: VolumeAttachmentStatus defines the observed state of Longhorn VolumeAttachment + properties: + attachmentTicketStatuses: + additionalProperties: + properties: + conditions: + description: Record any error when trying to fulfill this attachment + items: + properties: + lastProbeTime: + description: Last time we probed the condition. + type: string + lastTransitionTime: + description: Last time the condition transitioned from one status to another. + type: string + message: + description: Human-readable message indicating details about last transition. + type: string + reason: + description: Unique, one-word, CamelCase reason for the condition's last transition. + type: string + status: + description: |- + Status is the status of the condition. + Can be True, False, Unknown. + type: string + type: + description: Type is the type of the condition. + type: string + type: object + nullable: true + type: array + generation: + description: |- + A sequence number representing a specific generation of the desired state. + Populated by the system. Read-only. + format: int64 + type: integer + id: + description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. + type: string + satisfied: + description: Indicate whether this attachment ticket has been satisfied + type: boolean + required: + - conditions + - satisfied + type: object + type: object + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +# Source: longhorn/templates/crds.yaml +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn @@ -3673,10 +4055,19 @@ spec: description: Volume is where Longhorn stores volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3723,10 +4114,19 @@ spec: description: Volume is where Longhorn stores volume object. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3741,7 +4141,7 @@ spec: - rwx type: string backendStoreDriver: - description: 'Deprecated: Replaced by field `dataEngine`.' + description: Deprecated:Replaced by field `dataEngine`.' type: string backingImage: type: string @@ -3898,7 +4298,9 @@ spec: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: - description: Status is the status of the condition. Can be True, False, Unknown. + description: |- + Status is the status of the condition. + Can be True, False, Unknown. type: string type: description: Type is the type of the condition. @@ -3983,143 +4385,6 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] ---- -# Source: longhorn/templates/crds.yaml -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null - labels: - app.kubernetes.io/name: longhorn - app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 - longhorn-manager: "" - name: volumeattachments.longhorn.io -spec: - group: longhorn.io - names: - kind: VolumeAttachment - listKind: VolumeAttachmentList - plural: volumeattachments - shortNames: - - lhva - singular: volumeattachment - scope: Namespaced - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1beta2 - schema: - openAPIV3Schema: - description: VolumeAttachment stores attachment information of a Longhorn volume - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: VolumeAttachmentSpec defines the desired state of Longhorn VolumeAttachment - properties: - attachmentTickets: - additionalProperties: - properties: - generation: - description: A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. - format: int64 - type: integer - id: - description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. - type: string - nodeID: - description: The node that this attachment is requesting - type: string - parameters: - additionalProperties: - type: string - description: Optional additional parameter for this attachment - type: object - type: - type: string - type: object - type: object - volume: - description: The name of Longhorn volume of this VolumeAttachment - type: string - required: - - volume - type: object - status: - description: VolumeAttachmentStatus defines the observed state of Longhorn VolumeAttachment - properties: - attachmentTicketStatuses: - additionalProperties: - properties: - conditions: - description: Record any error when trying to fulfill this attachment - items: - properties: - lastProbeTime: - description: Last time we probed the condition. - type: string - lastTransitionTime: - description: Last time the condition transitioned from one status to another. - type: string - message: - description: Human-readable message indicating details about last transition. - type: string - reason: - description: Unique, one-word, CamelCase reason for the condition's last transition. - type: string - status: - description: Status is the status of the condition. Can be True, False, Unknown. - type: string - type: - description: Type is the type of the condition. - type: string - type: object - nullable: true - type: array - generation: - description: A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. - format: int64 - type: integer - id: - description: The unique ID of this attachment. Used to differentiate different attachments of the same volume. - type: string - satisfied: - description: Indicate whether this attachment ticket has been satisfied - type: boolean - required: - - conditions - - satisfied - type: object - type: object - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] --- # Source: longhorn/templates/clusterrole.yaml apiVersion: rbac.authorization.k8s.io/v1 From 6486816ee71ef77e660ab8538bf99031ecf452f4 Mon Sep 17 00:00:00 2001 From: David Ko Date: Wed, 18 Sep 2024 01:57:23 +0000 Subject: [PATCH 66/88] release: v1.6.3-rc2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 100 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 71 insertions(+), 71 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index efa36f3e53..d98b0ce542 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.3-rc1 -appVersion: v1.6.3-rc1 +version: 1.6.3-rc2 +appVersion: v1.6.3-rc2 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index eb3469f8d2..b1dbfac4b4 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.3-rc1 + default: v1.6.3-rc2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.3-rc1 + default: v1.6.3-rc2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.3-rc1 + default: v1.6.3-rc2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.3-rc1 + default: v1.6.3-rc2 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.3-rc1 + default: v1.6.3-rc2 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.3-rc1 + default: v1.6.3-rc2 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 9ed5a5a805..ecaddc91bc 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -39,32 +39,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.3-rc1 + tag: v1.6.3-rc2 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.3-rc1 + tag: v1.6.3-rc2 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.3-rc1 + tag: v1.6.3-rc2 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.3-rc1 + tag: v1.6.3-rc2 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.3-rc1 + tag: v1.6.3-rc2 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.3-rc1 + tag: v1.6.3-rc2 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 3d4efd5f66..1076ca6290 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -5,10 +5,10 @@ longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.14.0 longhornio/openshift-origin-oauth-proxy:4.15 -longhornio/backing-image-manager:v1.6.3-rc1 -longhornio/longhorn-engine:v1.6.3-rc1 -longhornio/longhorn-instance-manager:v1.6.3-rc1 -longhornio/longhorn-manager:v1.6.3-rc1 -longhornio/longhorn-share-manager:v1.6.3-rc1 -longhornio/longhorn-ui:v1.6.3-rc1 +longhornio/backing-image-manager:v1.6.3-rc2 +longhornio/longhorn-engine:v1.6.3-rc2 +longhornio/longhorn-instance-manager:v1.6.3-rc2 +longhornio/longhorn-manager:v1.6.3-rc2 +longhornio/longhorn-share-manager:v1.6.3-rc2 +longhornio/longhorn-ui:v1.6.3-rc2 longhornio/support-bundle-kit:v0.0.43 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index fb0d0d1728..f863a6b6d5 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -290,7 +290,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -481,7 +481,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -809,7 +809,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: backups.longhorn.io spec: @@ -1019,7 +1019,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1216,7 +1216,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1395,7 +1395,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1606,7 +1606,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: engines.longhorn.io spec: @@ -2003,7 +2003,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2287,7 +2287,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2549,7 +2549,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2840,7 +2840,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -3120,7 +3120,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3225,7 +3225,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3352,7 +3352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3485,7 +3485,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3751,7 +3751,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3859,7 +3859,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -3998,7 +3998,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4394,7 +4394,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 rules: - apiGroups: - apiextensions.k8s.io @@ -4460,7 +4460,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4478,7 +4478,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4495,7 +4495,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4515,7 +4515,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4536,7 +4536,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4556,7 +4556,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4576,7 +4576,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4596,7 +4596,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4609,12 +4609,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.3-rc1 + image: longhornio/longhorn-manager:v1.6.3-rc2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4623,17 +4623,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.3-rc1" + - "longhornio/longhorn-engine:v1.6.3-rc2" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.3-rc1" + - "longhornio/longhorn-instance-manager:v1.6.3-rc2" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.3-rc1" + - "longhornio/longhorn-share-manager:v1.6.3-rc2" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.3-rc1" + - "longhornio/backing-image-manager:v1.6.3-rc2" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.43" - --manager-image - - "longhornio/longhorn-manager:v1.6.3-rc1" + - "longhornio/longhorn-manager:v1.6.3-rc2" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4703,7 +4703,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 spec: replicas: 1 selector: @@ -4714,23 +4714,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.3-rc1 + image: longhornio/longhorn-manager:v1.6.3-rc2 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.3-rc1 + image: longhornio/longhorn-manager:v1.6.3-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.3-rc1" + - "longhornio/longhorn-manager:v1.6.3-rc2" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4770,7 +4770,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4784,7 +4784,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc1 + app.kubernetes.io/version: v1.6.3-rc2 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4802,7 +4802,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.3-rc1 + image: longhornio/longhorn-ui:v1.6.3-rc2 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 6905612fc2..36b1fc068c 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.3-rc1 + image: longhornio/longhorn-manager:v1.6.3-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager From 85d77b2aa52537509cc9d5799e8f1ffca19e5846 Mon Sep 17 00:00:00 2001 From: David Ko Date: Thu, 19 Sep 2024 22:33:48 +0000 Subject: [PATCH 67/88] release: v1.6.3 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 100 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 71 insertions(+), 71 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index d98b0ce542..fa6d389fae 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.3-rc2 -appVersion: v1.6.3-rc2 +version: 1.6.3 +appVersion: v1.6.3 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index b1dbfac4b4..9da2ec525d 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.3-rc2 + default: v1.6.3 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.3-rc2 + default: v1.6.3 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.3-rc2 + default: v1.6.3 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.3-rc2 + default: v1.6.3 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.3-rc2 + default: v1.6.3 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.3-rc2 + default: v1.6.3 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index ecaddc91bc..b3f8d065e8 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -39,32 +39,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.3-rc2 + tag: v1.6.3 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.3-rc2 + tag: v1.6.3 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.3-rc2 + tag: v1.6.3 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.3-rc2 + tag: v1.6.3 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.3-rc2 + tag: v1.6.3 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.3-rc2 + tag: v1.6.3 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 1076ca6290..f27a0b76de 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -5,10 +5,10 @@ longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.14.0 longhornio/openshift-origin-oauth-proxy:4.15 -longhornio/backing-image-manager:v1.6.3-rc2 -longhornio/longhorn-engine:v1.6.3-rc2 -longhornio/longhorn-instance-manager:v1.6.3-rc2 -longhornio/longhorn-manager:v1.6.3-rc2 -longhornio/longhorn-share-manager:v1.6.3-rc2 -longhornio/longhorn-ui:v1.6.3-rc2 +longhornio/backing-image-manager:v1.6.3 +longhornio/longhorn-engine:v1.6.3 +longhornio/longhorn-instance-manager:v1.6.3 +longhornio/longhorn-manager:v1.6.3 +longhornio/longhorn-share-manager:v1.6.3 +longhornio/longhorn-ui:v1.6.3 longhornio/support-bundle-kit:v0.0.43 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index f863a6b6d5..38c257d049 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -290,7 +290,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -481,7 +481,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -809,7 +809,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: backups.longhorn.io spec: @@ -1019,7 +1019,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1216,7 +1216,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1395,7 +1395,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1606,7 +1606,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: engines.longhorn.io spec: @@ -2003,7 +2003,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2287,7 +2287,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2549,7 +2549,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2840,7 +2840,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -3120,7 +3120,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3225,7 +3225,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3352,7 +3352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3485,7 +3485,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3751,7 +3751,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3859,7 +3859,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -3998,7 +3998,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4394,7 +4394,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 rules: - apiGroups: - apiextensions.k8s.io @@ -4460,7 +4460,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4478,7 +4478,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4495,7 +4495,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4515,7 +4515,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4536,7 +4536,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4556,7 +4556,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4576,7 +4576,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4596,7 +4596,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4609,12 +4609,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.3-rc2 + image: longhornio/longhorn-manager:v1.6.3 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4623,17 +4623,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.3-rc2" + - "longhornio/longhorn-engine:v1.6.3" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.3-rc2" + - "longhornio/longhorn-instance-manager:v1.6.3" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.3-rc2" + - "longhornio/longhorn-share-manager:v1.6.3" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.3-rc2" + - "longhornio/backing-image-manager:v1.6.3" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.43" - --manager-image - - "longhornio/longhorn-manager:v1.6.3-rc2" + - "longhornio/longhorn-manager:v1.6.3" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4703,7 +4703,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 spec: replicas: 1 selector: @@ -4714,23 +4714,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.3-rc2 + image: longhornio/longhorn-manager:v1.6.3 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.3-rc2 + image: longhornio/longhorn-manager:v1.6.3 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.3-rc2" + - "longhornio/longhorn-manager:v1.6.3" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4770,7 +4770,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4784,7 +4784,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3-rc2 + app.kubernetes.io/version: v1.6.3 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4802,7 +4802,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.3-rc2 + image: longhornio/longhorn-ui:v1.6.3 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 36b1fc068c..b8d950d1a3 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.3-rc2 + image: longhornio/longhorn-manager:v1.6.3 imagePullPolicy: IfNotPresent command: - longhorn-manager From 331b351da237afd051a8764e60de36b72791b418 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Fri, 20 Sep 2024 06:57:36 +0000 Subject: [PATCH 68/88] chore(workflow): add generate-sbom.yml Signed-off-by: Derek Su --- .github/workflows/generate-sbom.yml | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .github/workflows/generate-sbom.yml diff --git a/.github/workflows/generate-sbom.yml b/.github/workflows/generate-sbom.yml new file mode 100644 index 0000000000..aa95fe3628 --- /dev/null +++ b/.github/workflows/generate-sbom.yml @@ -0,0 +1,61 @@ +name: Generate-SBOM +on: + release: + types: [published] + workflow_dispatch: + inputs: + tag: + description: "Tag that needs to generate sbom" + required: true +jobs: + generate-sbom: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + - name: Install Syft + run: | + curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin + - name: Install Cosign + uses: sigstore/cosign-installer@v3.5.0 + - name: Generate Key + run: | + cosign generate-key-pair + env: + COSIGN_PASSWORD: "" + - name: Generate SBOM + run: | + mkdir sbom + LONGHORN_IMAGES_FILE=deploy/longhorn-images.txt + while read -r IMAGE; do + IMAGE_NAME="${IMAGE#*/}" + FILE_PREFIX="${IMAGE_NAME//:/-}" + syft -q "${IMAGE}" -o json --platform=linux/amd64 > "sbom/${FILE_PREFIX}-amd64.sbom" + if [[ "${IMAGE}" != *"openshift-origin-oauth-proxy"* ]]; then + syft -q "${IMAGE}" -o json --platform=linux/arm64 > "sbom/${FILE_PREFIX}-arm64.sbom" + fi + done < "${LONGHORN_IMAGES_FILE}" + - name: Sign SBOM + run: | + for SBOM_FILE in "sbom"/*; do + SIG_FILE_NAME="${SBOM_FILE%.*}.sig" + cosign sign-blob -y "${SBOM_FILE}" --key cosign.key --output-signature "${SIG_FILE_NAME}" + done + - name: Verify SBOM + run: | + for SBOM_FILE in "sbom"/*.sbom; do + SIG_FILE_NAME="${SBOM_FILE%.*}.sig" + cosign verify-blob --key cosign.pub --signature "$(cat "${SIG_FILE_NAME}")" "${SBOM_FILE}" + done + - name: Ship Public Key + run: | + cp cosign.pub sbom/cosign.pub + - name: Tar Assets + run: | + tar zcvf sbom.tar.gz sbom + - name: Upload Release Assets + uses: AButler/upload-release-assets@v3.0 + with: + files: sbom.tar.gz + repo-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} + release-tag: ${{ inputs.tag || '' }} \ No newline at end of file From a7e1da06f6dd50f80d67da6a1ba5bbac72a5efbc Mon Sep 17 00:00:00 2001 From: Derek Su Date: Wed, 9 Oct 2024 10:32:33 +0800 Subject: [PATCH 69/88] feat(chart): remove mirrored openshift image from Longhorn Longhorn 9597 Signed-off-by: Derek Su (cherry picked from commit 7fe15fce9f69914278ecb57249a007bdea3772b9) --- chart/README.md | 4 ++-- chart/questions.yaml | 12 ------------ chart/templates/deployment-ui.yaml | 4 ++++ chart/values.yaml | 8 ++++---- 4 files changed, 10 insertions(+), 18 deletions(-) diff --git a/chart/README.md b/chart/README.md index 65304739d1..728a26ea60 100644 --- a/chart/README.md +++ b/chart/README.md @@ -119,8 +119,8 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.supportBundleKit.tag | string | `"v0.0.43"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | -| image.openshift.oauthProxy.repository | string | `"longhornio/openshift-origin-oauth-proxy"` | Repository for the OAuth Proxy image. This setting applies only to OpenShift users. | -| image.openshift.oauthProxy.tag | float | `4.15` | Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.15. | +| image.openshift.oauthProxy.repository | string | `""` | Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users. | +| image.openshift.oauthProxy.tag | float | `""` | Tag for the OAuth Proxy image. Specify OCP/OKD version 4.1 or later (including version 4.15, which is available at quay.io/openshift/origin-oauth-proxy:4.15). This setting applies only to OpenShift users. | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. | ### Service Settings diff --git a/chart/questions.yaml b/chart/questions.yaml index 9da2ec525d..6dcaa27e4a 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -166,18 +166,6 @@ questions: type: string label: Longhorn CSI Liveness Probe Image Tag group: "Longhorn CSI Driver Images" - - variable: image.openshift.oauthProxy.repository - default: longhornio/openshift-origin-oauth-proxy - description: "Repository for the OAuth Proxy image. This setting applies only to OpenShift users" - type: string - label: OpenShift OAuth Proxy Image Repository - group: "OpenShift Images" - - variable: image.openshift.oauthProxy.tag - default: 4.15 - description: "Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later." - type: string - label: OpenShift OAuth Proxy Image Tag - group: "OpenShift Images" - variable: privateRegistry.registryUrl label: Private registry URL description: "URL of a private registry. When unspecified, Longhorn uses the default system registry." diff --git a/chart/templates/deployment-ui.yaml b/chart/templates/deployment-ui.yaml index 22c443aeba..e4f3e0f8f7 100644 --- a/chart/templates/deployment-ui.yaml +++ b/chart/templates/deployment-ui.yaml @@ -70,7 +70,11 @@ spec: {{- if .Values.openshift.enabled }} {{- if .Values.openshift.ui.route }} - name: oauth-proxy + {{- if .Values.image.openshift.oauthProxy.repository }} image: {{ template "registry_url" . }}{{ .Values.image.openshift.oauthProxy.repository }}:{{ .Values.image.openshift.oauthProxy.tag }} + {{- else }} + image: "" + {{- end }} imagePullPolicy: IfNotPresent ports: - containerPort: {{ .Values.openshift.ui.proxy | default 8443 }} diff --git a/chart/values.yaml b/chart/values.yaml index b3f8d065e8..bb0f850ef3 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -103,10 +103,10 @@ image: tag: v2.14.0 openshift: oauthProxy: - # -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users. - repository: longhornio/openshift-origin-oauth-proxy - # -- Tag for the OAuth Proxy image. This setting applies only to OpenShift users. Specify OCP/OKD version 4.1 or later. The latest stable version is 4.15. - tag: 4.15 + # -- Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users. + repository: "" + # -- Tag for the OAuth Proxy image. Specify OCP/OKD version 4.1 or later (including version 4.15, which is available at quay.io/openshift/origin-oauth-proxy:4.15). This setting applies only to OpenShift users. + tag: "" # -- Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. pullPolicy: IfNotPresent From 76cd7118620fd2f037b69164b014b7d74eb7e6a2 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Wed, 9 Oct 2024 10:33:02 +0800 Subject: [PATCH 70/88] feat: remove mirrored openshift image from longhorn-images.txt Longhorn 9597 Signed-off-by: Derek Su (cherry picked from commit 0adff1e5439eda16a59f42f64854f43b8c44b66a) --- deploy/longhorn-images.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index f27a0b76de..b31d45de59 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,7 +4,6 @@ longhornio/csi-resizer:v1.12.0 longhornio/csi-snapshotter:v6.3.4 longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.14.0 -longhornio/openshift-origin-oauth-proxy:4.15 longhornio/backing-image-manager:v1.6.3 longhornio/longhorn-engine:v1.6.3 longhornio/longhorn-instance-manager:v1.6.3 From 90ebb37c0563a247b5259d73329a8c4bd38c5d2f Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 17 Oct 2024 08:14:48 +0800 Subject: [PATCH 71/88] chore: upgrade support-bundle to v0.0.45 longhorn/longhorn-9658 Signed-off-by: Chin-Ya Huang (cherry picked from commit 4aa07b49970d99616385cbf543acb09a1fd5210d) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 728a26ea60..167c226ac5 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.43"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.45"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `""` | Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 6dcaa27e4a..4c8537bbda 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.43 + default: v0.0.45 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index bb0f850ef3..7e4c9a6bdf 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.43 + tag: v0.0.45 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index b31d45de59..8ff4442957 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -10,4 +10,4 @@ longhornio/longhorn-instance-manager:v1.6.3 longhornio/longhorn-manager:v1.6.3 longhornio/longhorn-share-manager:v1.6.3 longhornio/longhorn-ui:v1.6.3 -longhornio/support-bundle-kit:v0.0.43 +longhornio/support-bundle-kit:v0.0.45 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 38c257d049..9f902da900 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4631,7 +4631,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.3" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.43" + - "longhornio/support-bundle-kit:v0.0.45" - --manager-image - "longhornio/longhorn-manager:v1.6.3" - --service-account From 023aa34040be55c2608690509ba733eefa8d225d Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Wed, 4 Dec 2024 13:59:59 +0800 Subject: [PATCH 72/88] chore: update support-bundle to v0.0.47 longhorn/longhorn-9895 Signed-off-by: Chin-Ya Huang (cherry picked from commit 6cc47ec5e942f33b10f644a5eaf0970b650e27a7) --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 167c226ac5..70e52a8390 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.45"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.47"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `""` | Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 4c8537bbda..004edab696 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.45 + default: v0.0.47 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 7e4c9a6bdf..6d7a5820a9 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.45 + tag: v0.0.47 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 8ff4442957..92e2692d3c 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -10,4 +10,4 @@ longhornio/longhorn-instance-manager:v1.6.3 longhornio/longhorn-manager:v1.6.3 longhornio/longhorn-share-manager:v1.6.3 longhornio/longhorn-ui:v1.6.3 -longhornio/support-bundle-kit:v0.0.45 +longhornio/support-bundle-kit:v0.0.47 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 9f902da900..8265ca2a9d 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4631,7 +4631,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.3" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.45" + - "longhornio/support-bundle-kit:v0.0.47" - --manager-image - "longhornio/longhorn-manager:v1.6.3" - --service-account From b729cc693f3c5368f5d5d6adce2aa8ed2e36ac8c Mon Sep 17 00:00:00 2001 From: Raphanus Lo Date: Wed, 11 Dec 2024 17:16:51 +0800 Subject: [PATCH 73/88] feat(script/env_check): check overriden NFS version Signed-off-by: Raphanus Lo (cherry picked from commit b91f0ba2d901ffa96afe1616ea1d108baa8e6162) --- scripts/environment_check.sh | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/scripts/environment_check.sh b/scripts/environment_check.sh index 613a219c85..84ec669f5b 100755 --- a/scripts/environment_check.sh +++ b/scripts/environment_check.sh @@ -388,6 +388,7 @@ check_nfs_client() { return 1 fi + local nfs_module_not_found=1 for option in "${options[@]}"; do kubectl exec ${pod} -- nsenter --mount=/proc/1/ns/mnt -- bash -c "[ -f /boot/config-${kernel} ]" > /dev/null 2>&1 if [ $? -ne 0 ]; then @@ -396,13 +397,27 @@ check_nfs_client() { fi check_kernel_module ${pod} ${option} nfs - if [ $? = 0 ]; then - return 0 + nfs_module_not_found=$? + if [ $nfs_module_not_found = 0 ]; then + break fi done - error "NFS clients ${options[*]} not found. At least one should be enabled" - return 1 + if [ $nfs_module_not_found -ne 0 ]; then + error "NFS clients ${options[*]} not found. At least one should be enabled" + return 1 + fi + + local nfs_ver_overriden=$(kubectl exec ${pod} -- nsenter --mount=/proc/1/ns/mnt -- bash -c "grep '^\s*Defaultvers=' /etc/nfsmount.conf" 2> /dev/null) + if [ "$nfs_ver_overriden" ]; then + echo "$nfs_ver_overriden" | grep -x '.*Defaultvers=4\(\.[0-2]\?\)\?\s*' + if [ $? -ne 0 ]; then + error "NFS4 is supported, but default protocol version (${nfs_ver_overriden}) is not 4, 4.1, or 4.2. Please refer to the NFS mount configuration manual page for more information: man 5 nfsmount.conf" + return 1 + fi + fi + + return 0 } check_kernel_module() { From 7dda15d02be116d7c2a029026ad25e426acbfd08 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 19 Dec 2024 11:58:38 +0800 Subject: [PATCH 74/88] chore(cve): update vendor longhorn/longhorn-9898 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 70e52a8390..1e87882c51 100644 --- a/chart/README.md +++ b/chart/README.md @@ -116,7 +116,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | | image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | -| image.longhorn.supportBundleKit.tag | string | `"v0.0.47"` | Tag for the Longhorn Support Bundle Manager image. | +| image.longhorn.supportBundleKit.tag | string | `"v0.0.48"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | | image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `""` | Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 004edab696..181681763a 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -89,7 +89,7 @@ questions: label: Longhorn Support Bundle Kit Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.supportBundleKit.tag - default: v0.0.47 + default: v0.0.48 description: "Tag for the Longhorn Support Bundle Manager image." type: string label: Longhorn Support Bundle Kit Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 6d7a5820a9..7ef610569f 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -69,7 +69,7 @@ image: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit # -- Tag for the Longhorn Support Bundle Manager image. - tag: v0.0.47 + tag: v0.0.48 csi: attacher: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 92e2692d3c..3797c49b20 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -10,4 +10,4 @@ longhornio/longhorn-instance-manager:v1.6.3 longhornio/longhorn-manager:v1.6.3 longhornio/longhorn-share-manager:v1.6.3 longhornio/longhorn-ui:v1.6.3 -longhornio/support-bundle-kit:v0.0.47 +longhornio/support-bundle-kit:v0.0.48 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 8265ca2a9d..736d3df560 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4631,7 +4631,7 @@ spec: - --backing-image-manager-image - "longhornio/backing-image-manager:v1.6.3" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.47" + - "longhornio/support-bundle-kit:v0.0.48" - --manager-image - "longhornio/longhorn-manager:v1.6.3" - --service-account From d51be7382438b1eb43f28245978a778aa0ee331f Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 19 Dec 2024 16:52:44 +0800 Subject: [PATCH 75/88] chore(cve): update csi-attacher to v4.7.0-20241219 longhorn/longhorn-9898 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 1e87882c51..0b248763cf 100644 --- a/chart/README.md +++ b/chart/README.md @@ -94,7 +94,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | Key | Type | Default | Description | |-----|------|---------|-------------| | image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | -| image.csi.attacher.tag | string | `"v4.7.0"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | +| image.csi.attacher.tag | string | `"v4.7.0-20241219"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.tag | string | `"v2.14.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 181681763a..b1afafd857 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -101,7 +101,7 @@ questions: label: Longhorn CSI Attacher Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.attacher.tag - default: v4.7.0 + default: v4.7.0-20241219 description: "Tag for the CSI attacher image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Attacher Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 7ef610569f..b2e41c9658 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -75,7 +75,7 @@ image: # -- Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-attacher # -- Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. - tag: v4.7.0 + tag: v4.7.0-20241219 provisioner: # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-provisioner diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 3797c49b20..322290903b 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,4 +1,4 @@ -longhornio/csi-attacher:v4.7.0 +longhornio/csi-attacher:v4.7.0-20241219 longhornio/csi-provisioner:v3.6.4 longhornio/csi-resizer:v1.12.0 longhornio/csi-snapshotter:v6.3.4 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 736d3df560..2f479e26e6 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4747,7 +4747,7 @@ spec: fieldRef: fieldPath: spec.serviceAccountName - name: CSI_ATTACHER_IMAGE - value: "longhornio/csi-attacher:v4.7.0" + value: "longhornio/csi-attacher:v4.7.0-20241219" - name: CSI_PROVISIONER_IMAGE value: "longhornio/csi-provisioner:v3.6.4" - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE From 38be30f544576d93d4284ab41ee4da44f2fcc288 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 19 Dec 2024 16:53:46 +0800 Subject: [PATCH 76/88] chore(cve): update csi-snapshotter to v6.3.4-20241219 longhorn/longhorn-9898 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 0b248763cf..1afea71636 100644 --- a/chart/README.md +++ b/chart/README.md @@ -104,7 +104,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.tag | string | `"v1.12.0"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | -| image.csi.snapshotter.tag | string | `"v6.3.4"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | +| image.csi.snapshotter.tag | string | `"v6.3.4-20241219"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.tag | string | `"v1.6.1"` | Specify Longhorn backing image manager image tag | | image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Repository for the Longhorn Engine image. | diff --git a/chart/questions.yaml b/chart/questions.yaml index b1afafd857..d1483d3f28 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -149,7 +149,7 @@ questions: label: Longhorn CSI Driver Snapshotter Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.snapshotter.tag - default: v6.3.4 + default: v6.3.4-20241219 description: "Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Snapshotter Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index b2e41c9658..6935363991 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -95,7 +95,7 @@ image: # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-snapshotter # -- Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. - tag: v6.3.4 + tag: v6.3.4-20241219 livenessProbe: # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. repository: longhornio/livenessprobe diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 322290903b..f5a70d57c8 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,7 +1,7 @@ longhornio/csi-attacher:v4.7.0-20241219 longhornio/csi-provisioner:v3.6.4 longhornio/csi-resizer:v1.12.0 -longhornio/csi-snapshotter:v6.3.4 +longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.14.0 longhornio/backing-image-manager:v1.6.3 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 2f479e26e6..05e836848d 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4755,7 +4755,7 @@ spec: - name: CSI_RESIZER_IMAGE value: "longhornio/csi-resizer:v1.12.0" - name: CSI_SNAPSHOTTER_IMAGE - value: "longhornio/csi-snapshotter:v6.3.4" + value: "longhornio/csi-snapshotter:v6.3.4-20241219" - name: CSI_LIVENESS_PROBE_IMAGE value: "longhornio/livenessprobe:v2.14.0" priorityClassName: "longhorn-critical" From 2dde0c074c6222cdde03136524953382ab6b73dd Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 19 Dec 2024 16:56:18 +0800 Subject: [PATCH 77/88] chore(cve): update csi-resizer to v1.12.0-20241219 longhorn/longhorn-9898 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 1afea71636..58910bbd78 100644 --- a/chart/README.md +++ b/chart/README.md @@ -102,7 +102,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.tag | string | `"v3.6.4"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | -| image.csi.resizer.tag | string | `"v1.12.0"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | +| image.csi.resizer.tag | string | `"v1.12.0-20241219"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.tag | string | `"v6.3.4-20241219"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index d1483d3f28..32a9467b6d 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -137,7 +137,7 @@ questions: label: Longhorn CSI Driver Resizer Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.resizer.tag - default: v1.12.0 + default: v1.12.0-20241219 description: "Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Driver Resizer Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 6935363991..2e99eff38c 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -90,7 +90,7 @@ image: # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-resizer # -- Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. - tag: v1.12.0 + tag: v1.12.0-20241219 snapshotter: # -- Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-snapshotter diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index f5a70d57c8..9483871cd0 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,6 +1,6 @@ longhornio/csi-attacher:v4.7.0-20241219 longhornio/csi-provisioner:v3.6.4 -longhornio/csi-resizer:v1.12.0 +longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0 longhornio/livenessprobe:v2.14.0 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 05e836848d..29d9ac8d67 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4753,7 +4753,7 @@ spec: - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE value: "longhornio/csi-node-driver-registrar:v2.12.0" - name: CSI_RESIZER_IMAGE - value: "longhornio/csi-resizer:v1.12.0" + value: "longhornio/csi-resizer:v1.12.0-20241219" - name: CSI_SNAPSHOTTER_IMAGE value: "longhornio/csi-snapshotter:v6.3.4-20241219" - name: CSI_LIVENESS_PROBE_IMAGE From ffdf1003d5a3606c4e530f9c6a5e24bb8de3a73e Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 19 Dec 2024 17:14:44 +0800 Subject: [PATCH 78/88] chore(cve): update csi-provisioner to v3.6.4-20241219 longhorn/longhorn-9898 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 58910bbd78..3d91238e96 100644 --- a/chart/README.md +++ b/chart/README.md @@ -100,7 +100,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.tag | string | `"v2.12.0"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | -| image.csi.provisioner.tag | string | `"v3.6.4"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | +| image.csi.provisioner.tag | string | `"v3.6.4-20241219"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.tag | string | `"v1.12.0-20241219"` | Tag for the CSI Resizer image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 32a9467b6d..c448b9a456 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -113,7 +113,7 @@ questions: label: Longhorn CSI Provisioner Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.provisioner.tag - default: v3.6.4 + default: v3.6.4-20241219 description: "Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Provisioner Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 2e99eff38c..9b9638c4c6 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -80,7 +80,7 @@ image: # -- Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-provisioner # -- Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. - tag: v3.6.4 + tag: v3.6.4-20241219 nodeDriverRegistrar: # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-node-driver-registrar diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 9483871cd0..8e284b4980 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,5 +1,5 @@ longhornio/csi-attacher:v4.7.0-20241219 -longhornio/csi-provisioner:v3.6.4 +longhornio/csi-provisioner:v3.6.4-20241219 longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 29d9ac8d67..8bce4f8652 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4749,7 +4749,7 @@ spec: - name: CSI_ATTACHER_IMAGE value: "longhornio/csi-attacher:v4.7.0-20241219" - name: CSI_PROVISIONER_IMAGE - value: "longhornio/csi-provisioner:v3.6.4" + value: "longhornio/csi-provisioner:v3.6.4-20241219" - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE value: "longhornio/csi-node-driver-registrar:v2.12.0" - name: CSI_RESIZER_IMAGE From c63222734997b6b24cdf899f5cee88d3196d7c78 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 19 Dec 2024 17:16:47 +0800 Subject: [PATCH 79/88] chore(cve): update csi-node-driver-registrar to v2.12.0-20241219 longhorn/longhorn-9898 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index 3d91238e96..b15c8805a8 100644 --- a/chart/README.md +++ b/chart/README.md @@ -98,7 +98,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.tag | string | `"v2.14.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | -| image.csi.nodeDriverRegistrar.tag | string | `"v2.12.0"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | +| image.csi.nodeDriverRegistrar.tag | string | `"v2.12.0-20241219"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.tag | string | `"v3.6.4-20241219"` | Tag for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | | image.csi.resizer.repository | string | `"longhornio/csi-resizer"` | Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index c448b9a456..85f74caa35 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -125,7 +125,7 @@ questions: label: Longhorn CSI Node Driver Registrar Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.nodeDriverRegistrar.tag - default: v2.12.0 + default: v2.12.0-20241219 description: "Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Node Driver Registrar Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 9b9638c4c6..1da594fd04 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -85,7 +85,7 @@ image: # -- Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-node-driver-registrar # -- Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. - tag: v2.12.0 + tag: v2.12.0-20241219 resizer: # -- Repository for the CSI Resizer image. When unspecified, Longhorn uses the default value. repository: longhornio/csi-resizer diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 8e284b4980..05f2ad406d 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -2,7 +2,7 @@ longhornio/csi-attacher:v4.7.0-20241219 longhornio/csi-provisioner:v3.6.4-20241219 longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 -longhornio/csi-node-driver-registrar:v2.12.0 +longhornio/csi-node-driver-registrar:v2.12.0-20241219 longhornio/livenessprobe:v2.14.0 longhornio/backing-image-manager:v1.6.3 longhornio/longhorn-engine:v1.6.3 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 8bce4f8652..932830df83 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4751,7 +4751,7 @@ spec: - name: CSI_PROVISIONER_IMAGE value: "longhornio/csi-provisioner:v3.6.4-20241219" - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE - value: "longhornio/csi-node-driver-registrar:v2.12.0" + value: "longhornio/csi-node-driver-registrar:v2.12.0-20241219" - name: CSI_RESIZER_IMAGE value: "longhornio/csi-resizer:v1.12.0-20241219" - name: CSI_SNAPSHOTTER_IMAGE From 16c06a2d939510dac4ea8781d41c210efe42ae4e Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 19 Dec 2024 17:18:23 +0800 Subject: [PATCH 80/88] chore(cve): update livenessprobe to v2.14.0-20241219 longhorn/longhorn-9898 Signed-off-by: Chin-Ya Huang --- chart/README.md | 2 +- chart/questions.yaml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/README.md b/chart/README.md index b15c8805a8..1e44307ec2 100644 --- a/chart/README.md +++ b/chart/README.md @@ -96,7 +96,7 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.attacher.repository | string | `"longhornio/csi-attacher"` | Repository for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.attacher.tag | string | `"v4.7.0-20241219"` | Tag for the CSI attacher image. When unspecified, Longhorn uses the default value. | | image.csi.livenessProbe.repository | string | `"longhornio/livenessprobe"` | Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | -| image.csi.livenessProbe.tag | string | `"v2.14.0"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | +| image.csi.livenessProbe.tag | string | `"v2.14.0-20241219"` | Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.repository | string | `"longhornio/csi-node-driver-registrar"` | Repository for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.nodeDriverRegistrar.tag | string | `"v2.12.0-20241219"` | Tag for the CSI Node Driver Registrar image. When unspecified, Longhorn uses the default value. | | image.csi.provisioner.repository | string | `"longhornio/csi-provisioner"` | Repository for the CSI Provisioner image. When unspecified, Longhorn uses the default value. | diff --git a/chart/questions.yaml b/chart/questions.yaml index 85f74caa35..6e0f619e53 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -161,7 +161,7 @@ questions: label: Longhorn CSI Liveness Probe Image Repository group: "Longhorn CSI Driver Images" - variable: image.csi.livenessProbe.tag - default: v2.14.0 + default: v2.14.0-20241219 description: "Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value." type: string label: Longhorn CSI Liveness Probe Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 1da594fd04..8a55418759 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -100,7 +100,7 @@ image: # -- Repository for the CSI liveness probe image. When unspecified, Longhorn uses the default value. repository: longhornio/livenessprobe # -- Tag for the CSI liveness probe image. When unspecified, Longhorn uses the default value. - tag: v2.14.0 + tag: v2.14.0-20241219 openshift: oauthProxy: # -- Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users. diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 05f2ad406d..f07f2bd02f 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -3,7 +3,7 @@ longhornio/csi-provisioner:v3.6.4-20241219 longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0-20241219 -longhornio/livenessprobe:v2.14.0 +longhornio/livenessprobe:v2.14.0-20241219 longhornio/backing-image-manager:v1.6.3 longhornio/longhorn-engine:v1.6.3 longhornio/longhorn-instance-manager:v1.6.3 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 932830df83..2fa317bd05 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -4757,7 +4757,7 @@ spec: - name: CSI_SNAPSHOTTER_IMAGE value: "longhornio/csi-snapshotter:v6.3.4-20241219" - name: CSI_LIVENESS_PROBE_IMAGE - value: "longhornio/livenessprobe:v2.14.0" + value: "longhornio/livenessprobe:v2.14.0-20241219" priorityClassName: "longhorn-critical" serviceAccountName: longhorn-service-account securityContext: From ed65ce652927b36f2060d9f68a10f24fa6a092a4 Mon Sep 17 00:00:00 2001 From: David Ko Date: Tue, 24 Dec 2024 01:46:16 +0000 Subject: [PATCH 81/88] release: v1.6.4-rc1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 100 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 71 insertions(+), 71 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index fa6d389fae..18bbccf331 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.3 -appVersion: v1.6.3 +version: 1.6.4-rc1 +appVersion: v1.6.4-rc1 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 6e0f619e53..c7012bdae5 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.3 + default: v1.6.4-rc1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.3 + default: v1.6.4-rc1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.3 + default: v1.6.4-rc1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.3 + default: v1.6.4-rc1 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.3 + default: v1.6.4-rc1 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.3 + default: v1.6.4-rc1 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 8a55418759..406f419bf0 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -39,32 +39,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.3 + tag: v1.6.4-rc1 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.3 + tag: v1.6.4-rc1 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.3 + tag: v1.6.4-rc1 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.3 + tag: v1.6.4-rc1 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.3 + tag: v1.6.4-rc1 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.3 + tag: v1.6.4-rc1 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index f07f2bd02f..89bdc8ee6a 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0-20241219 longhornio/livenessprobe:v2.14.0-20241219 -longhornio/backing-image-manager:v1.6.3 -longhornio/longhorn-engine:v1.6.3 -longhornio/longhorn-instance-manager:v1.6.3 -longhornio/longhorn-manager:v1.6.3 -longhornio/longhorn-share-manager:v1.6.3 -longhornio/longhorn-ui:v1.6.3 +longhornio/backing-image-manager:v1.6.4-rc1 +longhornio/longhorn-engine:v1.6.4-rc1 +longhornio/longhorn-instance-manager:v1.6.4-rc1 +longhornio/longhorn-manager:v1.6.4-rc1 +longhornio/longhorn-share-manager:v1.6.4-rc1 +longhornio/longhorn-ui:v1.6.4-rc1 longhornio/support-bundle-kit:v0.0.48 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 2fa317bd05..2563c47cd5 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -290,7 +290,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -481,7 +481,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -809,7 +809,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: backups.longhorn.io spec: @@ -1019,7 +1019,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1216,7 +1216,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1395,7 +1395,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1606,7 +1606,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: engines.longhorn.io spec: @@ -2003,7 +2003,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2287,7 +2287,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2549,7 +2549,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2840,7 +2840,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -3120,7 +3120,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3225,7 +3225,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3352,7 +3352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3485,7 +3485,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3751,7 +3751,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3859,7 +3859,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -3998,7 +3998,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4394,7 +4394,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 rules: - apiGroups: - apiextensions.k8s.io @@ -4460,7 +4460,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4478,7 +4478,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4495,7 +4495,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4515,7 +4515,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4536,7 +4536,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4556,7 +4556,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4576,7 +4576,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4596,7 +4596,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4609,12 +4609,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.3 + image: longhornio/longhorn-manager:v1.6.4-rc1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4623,17 +4623,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.3" + - "longhornio/longhorn-engine:v1.6.4-rc1" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.3" + - "longhornio/longhorn-instance-manager:v1.6.4-rc1" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.3" + - "longhornio/longhorn-share-manager:v1.6.4-rc1" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.3" + - "longhornio/backing-image-manager:v1.6.4-rc1" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.48" - --manager-image - - "longhornio/longhorn-manager:v1.6.3" + - "longhornio/longhorn-manager:v1.6.4-rc1" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4703,7 +4703,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 spec: replicas: 1 selector: @@ -4714,23 +4714,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.3 + image: longhornio/longhorn-manager:v1.6.4-rc1 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.3 + image: longhornio/longhorn-manager:v1.6.4-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.3" + - "longhornio/longhorn-manager:v1.6.4-rc1" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4770,7 +4770,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4784,7 +4784,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.3 + app.kubernetes.io/version: v1.6.4-rc1 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4802,7 +4802,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.3 + image: longhornio/longhorn-ui:v1.6.4-rc1 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index b8d950d1a3..125b3d2e19 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.3 + image: longhornio/longhorn-manager:v1.6.4-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager From eaa8575daf2fc90e5fc46d7b42812c48a901bf5b Mon Sep 17 00:00:00 2001 From: MIshin Date: Tue, 24 Dec 2024 17:44:21 +0400 Subject: [PATCH 82/88] feat(chart): added-choice-of-log-format-json-for-deployment-driver Signed-off-by: IshinMV (cherry picked from commit 5641d4e743e62edcd108ae67ebe3659576273641) --- chart/templates/deployment-driver.yaml | 3 +++ chart/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/chart/templates/deployment-driver.yaml b/chart/templates/deployment-driver.yaml index 3ac582dcbc..44152eda25 100644 --- a/chart/templates/deployment-driver.yaml +++ b/chart/templates/deployment-driver.yaml @@ -25,6 +25,9 @@ spec: command: - longhorn-manager - -d + {{- if eq .Values.longhornManager.log.format "json" }} + - -j + {{- end }} - deploy-driver - --manager-image - "{{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}" diff --git a/chart/values.yaml b/chart/values.yaml index 406f419bf0..770b89f3d5 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -367,6 +367,9 @@ longhornManager: # annotation-key2: "annotation-value2" longhornDriver: + log: + # -- Format of longhorn-driver logs. (Options: "plain", "json") + format: plain # -- PriorityClass for Longhorn Driver. priorityClass: *defaultPriorityClassNameRef # -- Toleration for Longhorn Driver on nodes allowed to run Longhorn components. From 1c22e025b54d4f65ae9fcdfb4f2b2b5c97d09542 Mon Sep 17 00:00:00 2001 From: IshinMV Date: Thu, 26 Dec 2024 10:28:54 +0400 Subject: [PATCH 83/88] feat(chart): updated-readme Signed-off-by: IshinMV (cherry picked from commit 4a282916ad184ae31a2dc7746299fb93e9f2e60f) --- chart/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/chart/README.md b/chart/README.md index 1e44307ec2..ffd61d7910 100644 --- a/chart/README.md +++ b/chart/README.md @@ -183,6 +183,7 @@ Longhorn consists of user-deployed components (for example, Longhorn Manager, Lo | Key | Type | Default | Description | |-----|------|---------|-------------| +| longhornDriver.log.format | string | `"plain"` | Format of Longhorn Driver logs. (Options: "plain", "json") | | longhornDriver.nodeSelector | object | `{}` | Node selector for Longhorn Driver. Specify the nodes allowed to run Longhorn Driver. | | longhornDriver.priorityClass | string | `"longhorn-critical"` | PriorityClass for Longhorn Driver. | | longhornDriver.tolerations | list | `[]` | Toleration for Longhorn Driver on nodes allowed to run Longhorn components. | From 327465e596c910647844149b3bfd0e7576d50dd9 Mon Sep 17 00:00:00 2001 From: IshinMV Date: Thu, 26 Dec 2024 12:36:59 +0400 Subject: [PATCH 84/88] feat(chart): fixed-condition Signed-off-by: IshinMV (cherry picked from commit 7da75642805760929883ff2100ee42c58f117d4c) --- chart/templates/deployment-driver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/deployment-driver.yaml b/chart/templates/deployment-driver.yaml index 44152eda25..5683c759e7 100644 --- a/chart/templates/deployment-driver.yaml +++ b/chart/templates/deployment-driver.yaml @@ -25,7 +25,7 @@ spec: command: - longhorn-manager - -d - {{- if eq .Values.longhornManager.log.format "json" }} + {{- if eq .Values.longhornDriver.log.format "json" }} - -j {{- end }} - deploy-driver From c5841beca2c8414c4c51e3339aa2229aff6d70e9 Mon Sep 17 00:00:00 2001 From: David Ko Date: Tue, 31 Dec 2024 02:16:31 +0000 Subject: [PATCH 85/88] release: v1.6.4-rc2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 100 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 71 insertions(+), 71 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 18bbccf331..b76a7709da 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.4-rc1 -appVersion: v1.6.4-rc1 +version: 1.6.4-rc2 +appVersion: v1.6.4-rc2 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index c7012bdae5..1a87541b80 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.4-rc1 + default: v1.6.4-rc2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.4-rc1 + default: v1.6.4-rc2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.4-rc1 + default: v1.6.4-rc2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.4-rc1 + default: v1.6.4-rc2 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.4-rc1 + default: v1.6.4-rc2 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.4-rc1 + default: v1.6.4-rc2 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 770b89f3d5..57d3501386 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -39,32 +39,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.4-rc1 + tag: v1.6.4-rc2 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.4-rc1 + tag: v1.6.4-rc2 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.4-rc1 + tag: v1.6.4-rc2 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.4-rc1 + tag: v1.6.4-rc2 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.4-rc1 + tag: v1.6.4-rc2 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.4-rc1 + tag: v1.6.4-rc2 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 89bdc8ee6a..84145fef58 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0-20241219 longhornio/livenessprobe:v2.14.0-20241219 -longhornio/backing-image-manager:v1.6.4-rc1 -longhornio/longhorn-engine:v1.6.4-rc1 -longhornio/longhorn-instance-manager:v1.6.4-rc1 -longhornio/longhorn-manager:v1.6.4-rc1 -longhornio/longhorn-share-manager:v1.6.4-rc1 -longhornio/longhorn-ui:v1.6.4-rc1 +longhornio/backing-image-manager:v1.6.4-rc2 +longhornio/longhorn-engine:v1.6.4-rc2 +longhornio/longhorn-instance-manager:v1.6.4-rc2 +longhornio/longhorn-manager:v1.6.4-rc2 +longhornio/longhorn-share-manager:v1.6.4-rc2 +longhornio/longhorn-ui:v1.6.4-rc2 longhornio/support-bundle-kit:v0.0.48 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 2563c47cd5..65cd71570e 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -290,7 +290,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -481,7 +481,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -809,7 +809,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: backups.longhorn.io spec: @@ -1019,7 +1019,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1216,7 +1216,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1395,7 +1395,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1606,7 +1606,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: engines.longhorn.io spec: @@ -2003,7 +2003,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2287,7 +2287,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2549,7 +2549,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2840,7 +2840,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -3120,7 +3120,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3225,7 +3225,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3352,7 +3352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3485,7 +3485,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3751,7 +3751,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3859,7 +3859,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -3998,7 +3998,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4394,7 +4394,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 rules: - apiGroups: - apiextensions.k8s.io @@ -4460,7 +4460,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4478,7 +4478,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4495,7 +4495,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4515,7 +4515,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4536,7 +4536,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4556,7 +4556,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4576,7 +4576,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4596,7 +4596,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4609,12 +4609,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.4-rc1 + image: longhornio/longhorn-manager:v1.6.4-rc2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4623,17 +4623,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.4-rc1" + - "longhornio/longhorn-engine:v1.6.4-rc2" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.4-rc1" + - "longhornio/longhorn-instance-manager:v1.6.4-rc2" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.4-rc1" + - "longhornio/longhorn-share-manager:v1.6.4-rc2" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.4-rc1" + - "longhornio/backing-image-manager:v1.6.4-rc2" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.48" - --manager-image - - "longhornio/longhorn-manager:v1.6.4-rc1" + - "longhornio/longhorn-manager:v1.6.4-rc2" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4703,7 +4703,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 spec: replicas: 1 selector: @@ -4714,23 +4714,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.4-rc1 + image: longhornio/longhorn-manager:v1.6.4-rc2 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.4-rc1 + image: longhornio/longhorn-manager:v1.6.4-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.4-rc1" + - "longhornio/longhorn-manager:v1.6.4-rc2" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4770,7 +4770,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4784,7 +4784,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc1 + app.kubernetes.io/version: v1.6.4-rc2 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4802,7 +4802,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.4-rc1 + image: longhornio/longhorn-ui:v1.6.4-rc2 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 125b3d2e19..59f463286b 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.4-rc1 + image: longhornio/longhorn-manager:v1.6.4-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager From 151ef706a9820dded0ebbc5123e9d018370cd595 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Fri, 3 Jan 2025 08:53:42 +0800 Subject: [PATCH 86/88] docs: update versions in chart/README.md Longhorn 10125 Signed-off-by: Derek Su --- chart/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/chart/README.md b/chart/README.md index ffd61d7910..34db95fb3b 100644 --- a/chart/README.md +++ b/chart/README.md @@ -106,19 +106,19 @@ The `values.yaml` contains items used to tweak a deployment of this chart. | image.csi.snapshotter.repository | string | `"longhornio/csi-snapshotter"` | Repository for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.csi.snapshotter.tag | string | `"v6.3.4-20241219"` | Tag for the CSI Snapshotter image. When unspecified, Longhorn uses the default value. | | image.longhorn.backingImageManager.repository | string | `"longhornio/backing-image-manager"` | Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. | -| image.longhorn.backingImageManager.tag | string | `"v1.6.1"` | Specify Longhorn backing image manager image tag | +| image.longhorn.backingImageManager.tag | string | `"v1.6.4"` | Specify Longhorn backing image manager image tag | | image.longhorn.engine.repository | string | `"longhornio/longhorn-engine"` | Repository for the Longhorn Engine image. | -| image.longhorn.engine.tag | string | `"v1.6.1"` | Specify Longhorn engine image tag | +| image.longhorn.engine.tag | string | `"v1.6.4"` | Specify Longhorn engine image tag | | image.longhorn.instanceManager.repository | string | `"longhornio/longhorn-instance-manager"` | Repository for the Longhorn Instance Manager image. | -| image.longhorn.instanceManager.tag | string | `"v1.6.1"` | Specify Longhorn instance manager image tag | +| image.longhorn.instanceManager.tag | string | `"v1.6.4"` | Specify Longhorn instance manager image tag | | image.longhorn.manager.repository | string | `"longhornio/longhorn-manager"` | Repository for the Longhorn Manager image. | -| image.longhorn.manager.tag | string | `"v1.6.1"` | Specify Longhorn manager image tag | +| image.longhorn.manager.tag | string | `"v1.6.4"` | Specify Longhorn manager image tag | | image.longhorn.shareManager.repository | string | `"longhornio/longhorn-share-manager"` | Repository for the Longhorn Share Manager image. | -| image.longhorn.shareManager.tag | string | `"v1.6.1"` | Specify Longhorn share manager image tag | +| image.longhorn.shareManager.tag | string | `"v1.6.4"` | Specify Longhorn share manager image tag | | image.longhorn.supportBundleKit.repository | string | `"longhornio/support-bundle-kit"` | Repository for the Longhorn Support Bundle Manager image. | | image.longhorn.supportBundleKit.tag | string | `"v0.0.48"` | Tag for the Longhorn Support Bundle Manager image. | | image.longhorn.ui.repository | string | `"longhornio/longhorn-ui"` | Repository for the Longhorn UI image. | -| image.longhorn.ui.tag | string | `"v1.6.1"` | Specify Longhorn ui image tag | +| image.longhorn.ui.tag | string | `"v1.6.4"` | Specify Longhorn ui image tag | | image.openshift.oauthProxy.repository | string | `""` | Repository for the OAuth Proxy image. Specify the upstream image (for example, "quay.io/openshift/origin-oauth-proxy"). This setting applies only to OpenShift users. | | image.openshift.oauthProxy.tag | float | `""` | Tag for the OAuth Proxy image. Specify OCP/OKD version 4.1 or later (including version 4.15, which is available at quay.io/openshift/origin-oauth-proxy:4.15). This setting applies only to OpenShift users. | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy that applies to all user-deployed Longhorn components, such as Longhorn Manager, Longhorn driver, and Longhorn UI. | From 40b5b69cb3d8082d5db66ea76c55a396756a4268 Mon Sep 17 00:00:00 2001 From: David Ko Date: Fri, 3 Jan 2025 01:58:12 +0000 Subject: [PATCH 87/88] release: v1.6.4 Signed-off-by: David Ko --- chart/Chart.yaml | 4 +- chart/questions.yaml | 12 ++--- chart/values.yaml | 12 ++--- deploy/longhorn-images.txt | 12 ++--- deploy/longhorn.yaml | 100 ++++++++++++++++++------------------- uninstall/uninstall.yaml | 2 +- 6 files changed, 71 insertions(+), 71 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index b76a7709da..28a48b28a3 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.6.4-rc2 -appVersion: v1.6.4-rc2 +version: 1.6.4 +appVersion: v1.6.4 kubeVersion: ">=1.21.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yaml b/chart/questions.yaml index 1a87541b80..1834d4ef4c 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.6.4-rc2 + default: v1.6.4 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.6.4-rc2 + default: v1.6.4 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.6.4-rc2 + default: v1.6.4 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -53,7 +53,7 @@ questions: label: Longhorn Instance Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.instanceManager.tag - default: v1.6.4-rc2 + default: v1.6.4 description: "Specify Longhorn Instance Manager Image Tag" type: string label: Longhorn Instance Manager Image Tag @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1.6.4-rc2 + default: v1.6.4 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag @@ -77,7 +77,7 @@ questions: label: Longhorn Backing Image Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.backingImageManager.tag - default: v1.6.4-rc2 + default: v1.6.4 description: "Specify Longhorn Backing Image Manager Image Tag" type: string label: Longhorn Backing Image Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 57d3501386..5c2a655a72 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -39,32 +39,32 @@ image: # -- Repository for the Longhorn Engine image. repository: longhornio/longhorn-engine # -- Specify Longhorn engine image tag - tag: v1.6.4-rc2 + tag: v1.6.4 manager: # -- Repository for the Longhorn Manager image. repository: longhornio/longhorn-manager # -- Specify Longhorn manager image tag - tag: v1.6.4-rc2 + tag: v1.6.4 ui: # -- Repository for the Longhorn UI image. repository: longhornio/longhorn-ui # -- Specify Longhorn ui image tag - tag: v1.6.4-rc2 + tag: v1.6.4 instanceManager: # -- Repository for the Longhorn Instance Manager image. repository: longhornio/longhorn-instance-manager # -- Specify Longhorn instance manager image tag - tag: v1.6.4-rc2 + tag: v1.6.4 shareManager: # -- Repository for the Longhorn Share Manager image. repository: longhornio/longhorn-share-manager # -- Specify Longhorn share manager image tag - tag: v1.6.4-rc2 + tag: v1.6.4 backingImageManager: # -- Repository for the Backing Image Manager image. When unspecified, Longhorn uses the default value. repository: longhornio/backing-image-manager # -- Specify Longhorn backing image manager image tag - tag: v1.6.4-rc2 + tag: v1.6.4 supportBundleKit: # -- Repository for the Longhorn Support Bundle Manager image. repository: longhornio/support-bundle-kit diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 84145fef58..df818df4f3 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0-20241219 longhornio/livenessprobe:v2.14.0-20241219 -longhornio/backing-image-manager:v1.6.4-rc2 -longhornio/longhorn-engine:v1.6.4-rc2 -longhornio/longhorn-instance-manager:v1.6.4-rc2 -longhornio/longhorn-manager:v1.6.4-rc2 -longhornio/longhorn-share-manager:v1.6.4-rc2 -longhornio/longhorn-ui:v1.6.4-rc2 +longhornio/backing-image-manager:v1.6.4 +longhornio/longhorn-engine:v1.6.4 +longhornio/longhorn-instance-manager:v1.6.4 +longhornio/longhorn-manager:v1.6.4 +longhornio/longhorn-share-manager:v1.6.4 +longhornio/longhorn-ui:v1.6.4 longhornio/support-bundle-kit:v0.0.48 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 65cd71570e..06746719b9 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -13,7 +13,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" globalDefault: false preemptionPolicy: PreemptLowerPriority @@ -28,7 +28,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -61,7 +61,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 data: default-setting.yaml: |- priority-class: longhorn-critical @@ -75,7 +75,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 data: storageclass.yaml: | kind: StorageClass @@ -106,7 +106,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -290,7 +290,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -481,7 +481,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -809,7 +809,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: backups.longhorn.io spec: @@ -1019,7 +1019,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -1216,7 +1216,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1395,7 +1395,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1606,7 +1606,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: engines.longhorn.io spec: @@ -2003,7 +2003,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -2287,7 +2287,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2549,7 +2549,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2840,7 +2840,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -3120,7 +3120,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: settings.longhorn.io spec: @@ -3225,7 +3225,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -3352,7 +3352,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -3485,7 +3485,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3616,7 +3616,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3751,7 +3751,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3859,7 +3859,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -3998,7 +3998,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -4394,7 +4394,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 rules: - apiGroups: - apiextensions.k8s.io @@ -4460,7 +4460,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4478,7 +4478,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -4495,7 +4495,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -4515,7 +4515,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -4536,7 +4536,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -4556,7 +4556,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4576,7 +4576,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4596,7 +4596,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4609,12 +4609,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.6.4-rc2 + image: longhornio/longhorn-manager:v1.6.4 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4623,17 +4623,17 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.6.4-rc2" + - "longhornio/longhorn-engine:v1.6.4" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.6.4-rc2" + - "longhornio/longhorn-instance-manager:v1.6.4" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.6.4-rc2" + - "longhornio/longhorn-share-manager:v1.6.4" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.6.4-rc2" + - "longhornio/backing-image-manager:v1.6.4" - --support-bundle-manager-image - "longhornio/support-bundle-kit:v0.0.48" - --manager-image - - "longhornio/longhorn-manager:v1.6.4-rc2" + - "longhornio/longhorn-manager:v1.6.4" - --service-account - longhorn-service-account - --upgrade-version-check @@ -4703,7 +4703,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 spec: replicas: 1 selector: @@ -4714,23 +4714,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.6.4-rc2 + image: longhornio/longhorn-manager:v1.6.4 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.6.4-rc2 + image: longhornio/longhorn-manager:v1.6.4 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.6.4-rc2" + - "longhornio/longhorn-manager:v1.6.4" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4770,7 +4770,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4784,7 +4784,7 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.6.4-rc2 + app.kubernetes.io/version: v1.6.4 app: longhorn-ui spec: serviceAccountName: longhorn-ui-service-account @@ -4802,7 +4802,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.6.4-rc2 + image: longhornio/longhorn-ui:v1.6.4 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 59f463286b..77ec258763 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -106,7 +106,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.6.4-rc2 + image: longhornio/longhorn-manager:v1.6.4 imagePullPolicy: IfNotPresent command: - longhorn-manager From 4285cc37bca81b11062c6b3d2d38cbb1798e8965 Mon Sep 17 00:00:00 2001 From: davidko Date: Wed, 8 Jan 2025 13:49:07 +0800 Subject: [PATCH 88/88] chore(sec-scanning): update longhorn images to 1.6.x-head Signed-off-by: davidko --- deploy/longhorn-images.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index df818df4f3..03aadd0a79 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,10 +4,10 @@ longhornio/csi-resizer:v1.12.0-20241219 longhornio/csi-snapshotter:v6.3.4-20241219 longhornio/csi-node-driver-registrar:v2.12.0-20241219 longhornio/livenessprobe:v2.14.0-20241219 -longhornio/backing-image-manager:v1.6.4 -longhornio/longhorn-engine:v1.6.4 -longhornio/longhorn-instance-manager:v1.6.4 -longhornio/longhorn-manager:v1.6.4 -longhornio/longhorn-share-manager:v1.6.4 -longhornio/longhorn-ui:v1.6.4 +longhornio/backing-image-manager:v1.6.x-head +longhornio/longhorn-engine:v1.6.x-head +longhornio/longhorn-instance-manager:v1.6.x-head +longhornio/longhorn-manager:v1.6.x-head +longhornio/longhorn-share-manager:v1.6.x-head +longhornio/longhorn-ui:v1.6.x-head longhornio/support-bundle-kit:v0.0.48