diff --git a/examples/longhorn/readme.md b/examples/longhorn/readme.md index 2fd46bf487..56fa6036d3 100644 --- a/examples/longhorn/readme.md +++ b/examples/longhorn/readme.md @@ -1,6 +1,6 @@ This example shows you how to deploy [Longhorn](https://longhorn.io/) using Zarf. -Before deploying Longhorn make sure your nodes are configured with the [Longhorn Installation Requirements](https://longhorn.io/docs/latest/deploy/install/#installation-requirements). +Before deploying Longhorn, make sure your nodes are configured with the [Longhorn Installation Requirements](https://longhorn.io/docs/latest/deploy/install/#installation-requirements). Note that the automated `longhornctl` preflight environment checker is not included in this package to support multi-architecture compatibility, so node readiness must be verified manually. You will need [open-iscsi](https://longhorn.io/docs/latest/deploy/install/#installing-open-iscsi) installed. diff --git a/examples/longhorn/values.yaml b/examples/longhorn/values.yaml index 2398307d6a..69d52636fe 100644 --- a/examples/longhorn/values.yaml +++ b/examples/longhorn/values.yaml @@ -2,6 +2,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. global: + imageRegistry: "127.0.0.1:31999" cattle: systemDefaultRegistry: "" windowsCluster: @@ -25,44 +26,44 @@ image: longhorn: engine: repository: longhornio/longhorn-engine - tag: v1.4.0 + tag: v1.11.2 manager: repository: longhornio/longhorn-manager - tag: v1.4.0 + tag: v1.11.2 ui: repository: longhornio/longhorn-ui - tag: v1.4.0 + tag: v1.11.2 instanceManager: repository: longhornio/longhorn-instance-manager - tag: v1.4.0 + tag: v1.11.2 shareManager: repository: longhornio/longhorn-share-manager - tag: v1.4.0 + tag: v1.11.2 backingImageManager: repository: longhornio/backing-image-manager - tag: v1.4.0 + tag: v1.11.2 supportBundleKit: repository: longhornio/support-bundle-kit - tag: v0.0.17 + tag: v0.0.84 csi: attacher: repository: longhornio/csi-attacher - tag: v3.4.0 + tag: v4.11.0-20260428 provisioner: repository: longhornio/csi-provisioner - tag: v2.1.2 + tag: v5.3.0-20260428 nodeDriverRegistrar: repository: longhornio/csi-node-driver-registrar - tag: v2.5.0 + tag: v2.16.0-20260428 resizer: repository: longhornio/csi-resizer - tag: v1.3.0 + tag: v2.1.0-20260428 snapshotter: repository: longhornio/csi-snapshotter - tag: v5.0.1 + tag: v8.5.0-20260428 livenessProbe: repository: longhornio/livenessprobe - tag: v2.8.0 + tag: v2.18.0-20260428 pullPolicy: IfNotPresent service: @@ -98,7 +99,7 @@ persistence: removeSnapshotsDuringFilesystemTrim: ignored # "enabled" or "disabled" otherwise csi: - kubeletRootDir: "/var/lib/kubelet" + kubeletRootDir: "/var/lib/rancher/k3s/agent/kubelet" attacherReplicaCount: ~ provisionerReplicaCount: ~ resizerReplicaCount: ~ @@ -330,3 +331,6 @@ annotations: {} serviceAccount: # Annotations to add to the service account annotations: {} + +preUpgradeChecker: + upgradeVersionCheck: false diff --git a/examples/longhorn/zarf.yaml b/examples/longhorn/zarf.yaml index 53c540e1e7..c442ea80d2 100644 --- a/examples/longhorn/zarf.yaml +++ b/examples/longhorn/zarf.yaml @@ -2,31 +2,8 @@ kind: ZarfPackageConfig metadata: name: longhorn description: Example package for Longhorn cloud native distributed block storage for Kubernetes - version: 1.4.0 + version: 1.11.2 components: - - name: longhorn-environment-check - required: true - files: - - source: https://raw.githubusercontent.com/longhorn/longhorn/v1.4.0/scripts/environment_check.sh - target: environment_check.sh - shasum: 4df400fa81e65e51d83db8ff8e4f513ddd32c124619bb36c94319e71ca4d0a4d - executable: true - - source: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 - target: jq - shasum: af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44 - executable: true - actions: - # Run the Longhorn Environment Check on this cluster's nodes. - onDeploy: - after: - - cmd: | - export PATH=$PATH:./ - awk '{gsub(/kubectl /, "./zarf tools kubectl ")} 1' ./environment_check.sh > tmp - mv tmp ./environment_check.sh - awk '{gsub(/"kubectl" /, "")} 1' ./environment_check.sh > tmp - mv tmp ./environment_check.sh - chmod +x ./environment_check.sh - ./environment_check.sh - name: longhorn required: true description: Deploy Longhorn into a Kubernetes cluster. https://longhorn.io @@ -43,24 +20,24 @@ components: charts: - name: longhorn url: https://charts.longhorn.io - version: 1.4.0 + version: 1.11.2 namespace: longhorn-system valuesFiles: - values.yaml images: - - longhornio/csi-attacher:v3.4.0 - - longhornio/csi-provisioner:v2.1.2 - - longhornio/csi-resizer:v1.3.0 - - longhornio/csi-snapshotter:v5.0.1 - - longhornio/csi-node-driver-registrar:v2.5.0 - - longhornio/livenessprobe:v2.8.0 - - longhornio/backing-image-manager:v1.4.0 - - longhornio/longhorn-engine:v1.4.0 - - longhornio/longhorn-instance-manager:v1.4.0 - - longhornio/longhorn-manager:v1.4.0 - - longhornio/longhorn-share-manager:v1.4.0 - - longhornio/longhorn-ui:v1.4.0 - - longhornio/support-bundle-kit:v0.0.17 + - longhornio/csi-attacher:v4.11.0-20260428 + - longhornio/csi-provisioner:v5.3.0-20260428 + - longhornio/csi-resizer:v2.1.0-20260428 + - longhornio/csi-snapshotter:v8.5.0-20260428 + - longhornio/csi-node-driver-registrar:v2.16.0-20260428 + - longhornio/livenessprobe:v2.18.0-20260428 + - longhornio/backing-image-manager:v1.11.2 + - longhornio/longhorn-engine:v1.11.2 + - longhornio/longhorn-instance-manager:v1.11.2 + - longhornio/longhorn-manager:v1.11.2 + - longhornio/longhorn-share-manager:v1.11.2 + - longhornio/longhorn-ui:v1.11.2 + - longhornio/support-bundle-kit:v0.0.84 documentation: - readme: readme.md \ No newline at end of file + readme: readme.md