Add longhorn 1.3 package

pull/1990/head
Steven Crespo 2022-07-22 10:02:43 -07:00
parent 8ffed92ff1
commit 105f284c27
11 changed files with 6407 additions and 125 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,47 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: "longhorn-admin"
labels:
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rules:
- apiGroups: [ "longhorn.io" ]
resources: [ "volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
"engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status",
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status" ]
verbs: [ "*" ]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: "longhorn-edit"
labels:
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
- apiGroups: [ "longhorn.io" ]
resources: [ "volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
"engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status",
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status" ]
verbs: [ "*" ]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: "longhorn-view"
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
rules:
- apiGroups: [ "longhorn.io" ]
resources: [ "volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
"engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status",
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
"backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
"backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
"recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status" ]
verbs: [ "get", "list", "watch" ]

View File

@ -0,0 +1,19 @@
--- charts-original/Chart.yaml
+++ charts/Chart.yaml
@@ -1,3 +1,16 @@
+annotations:
+ catalog.cattle.io/auto-install: longhorn-crd=match
+ catalog.cattle.io/certified: rancher
+ catalog.cattle.io/display-name: Longhorn
+ catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.25.0-0'
+ catalog.cattle.io/namespace: longhorn-system
+ catalog.cattle.io/os: linux
+ catalog.cattle.io/provides-gvr: longhorn.io/v1beta1
+ catalog.cattle.io/rancher-version: '>= 2.6.0-0 < 2.7.0-0'
+ catalog.cattle.io/release-name: longhorn
+ catalog.cattle.io/type: cluster-tool
+ catalog.cattle.io/ui-component: longhorn
+ catalog.cattle.io/upstream-version: 1.3.0
apiVersion: v1
appVersion: v1.3.0
description: Longhorn is a distributed block storage system for Kubernetes.

View File

@ -0,0 +1,47 @@
--- charts-original/README.md
+++ charts/README.md
@@ -22,41 +22,12 @@
3. Make sure `bash`, `curl`, `findmnt`, `grep`, `awk` and `blkid` has been installed in all nodes of the Kubernetes cluster.
4. Make sure `open-iscsi` has been installed, and the `iscsid` daemon is running on all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it contains `open-iscsi` already.
-## Installation
-1. Add Longhorn chart repository.
-```
-helm repo add longhorn https://charts.longhorn.io
-```
-
-2. Update local Longhorn chart information from chart repository.
-```
-helm repo update
-```
-
-3. Install Longhorn chart.
-- With Helm 2, the following command will create the `longhorn-system` namespace and install the Longhorn chart together.
-```
-helm install longhorn/longhorn --name longhorn --namespace longhorn-system
-```
-- With Helm 3, the following commands will create the `longhorn-system` namespace first, then install the Longhorn chart.
-
-```
-kubectl create namespace longhorn-system
-helm install longhorn longhorn/longhorn --namespace longhorn-system
-```
-
## Uninstallation
-With Helm 2 to uninstall Longhorn.
-```
-helm delete longhorn --purge
-```
+To prevent damage to the Kubernetes cluster, we recommend deleting all Kubernetes workloads using Longhorn volumes (PersistentVolume, PersistentVolumeClaim, StorageClass, Deployment, StatefulSet, DaemonSet, etc).
+
+From Rancher Cluster Explorer UI, navigate to Apps page, delete app `longhorn` then app `longhorn-crd` in Installed Apps tab.
-With Helm 3 to uninstall Longhorn.
-```
-helm uninstall longhorn -n longhorn-system
-kubectl delete namespace longhorn-system
-```
---
Please see [link](https://github.com/longhorn/longhorn) for more information.

View File

@ -0,0 +1,101 @@
--- charts-original/questions.yaml
+++ charts/questions.yaml
@@ -11,7 +11,7 @@
group: "Longhorn Images"
subquestions:
- variable: image.longhorn.manager.repository
- default: longhornio/longhorn-manager
+ default: rancher/mirrored-longhornio-longhorn-manager
description: "Specify Longhorn Manager Image Repository"
type: string
label: Longhorn Manager Image Repository
@@ -23,7 +23,7 @@
label: Longhorn Manager Image Tag
group: "Longhorn Images Settings"
- variable: image.longhorn.engine.repository
- default: longhornio/longhorn-engine
+ default: rancher/mirrored-longhornio-longhorn-engine
description: "Specify Longhorn Engine Image Repository"
type: string
label: Longhorn Engine Image Repository
@@ -35,7 +35,7 @@
label: Longhorn Engine Image Tag
group: "Longhorn Images Settings"
- variable: image.longhorn.ui.repository
- default: longhornio/longhorn-ui
+ default: rancher/mirrored-longhornio-longhorn-ui
description: "Specify Longhorn UI Image Repository"
type: string
label: Longhorn UI Image Repository
@@ -47,7 +47,7 @@
label: Longhorn UI Image Tag
group: "Longhorn Images Settings"
- variable: image.longhorn.instanceManager.repository
- default: longhornio/longhorn-instance-manager
+ default: rancher/mirrored-longhornio-longhorn-instance-manager
description: "Specify Longhorn Instance Manager Image Repository"
type: string
label: Longhorn Instance Manager Image Repository
@@ -59,7 +59,7 @@
label: Longhorn Instance Manager Image Tag
group: "Longhorn Images Settings"
- variable: image.longhorn.shareManager.repository
- default: longhornio/longhorn-share-manager
+ default: rancher/mirrored-longhornio-longhorn-share-manager
description: "Specify Longhorn Share Manager Image Repository"
type: string
label: Longhorn Share Manager Image Repository
@@ -71,7 +71,7 @@
label: Longhorn Share Manager Image Tag
group: "Longhorn Images Settings"
- variable: image.longhorn.backingImageManager.repository
- default: longhornio/backing-image-manager
+ default: rancher/mirrored-longhornio-backing-image-manager
description: "Specify Longhorn Backing Image Manager Image Repository"
type: string
label: Longhorn Backing Image Manager Image Repository
@@ -83,7 +83,7 @@
label: Longhorn Backing Image Manager Image Tag
group: "Longhorn Images Settings"
- variable: image.csi.attacher.repository
- default: longhornio/csi-attacher
+ default: rancher/mirrored-longhornio-csi-attacher
description: "Specify CSI attacher image repository. Leave blank to autodetect."
type: string
label: Longhorn CSI Attacher Image Repository
@@ -95,7 +95,7 @@
label: Longhorn CSI Attacher Image Tag
group: "Longhorn CSI Driver Images"
- variable: image.csi.provisioner.repository
- default: longhornio/csi-provisioner
+ default: rancher/mirrored-longhornio-csi-provisioner
description: "Specify CSI provisioner image repository. Leave blank to autodetect."
type: string
label: Longhorn CSI Provisioner Image Repository
@@ -107,7 +107,7 @@
label: Longhorn CSI Provisioner Image Tag
group: "Longhorn CSI Driver Images"
- variable: image.csi.nodeDriverRegistrar.repository
- default: longhornio/csi-node-driver-registrar
+ default: rancher/mirrored-longhornio-csi-node-driver-registrar
description: "Specify CSI Node Driver Registrar image repository. Leave blank to autodetect."
type: string
label: Longhorn CSI Node Driver Registrar Image Repository
@@ -119,7 +119,7 @@
label: Longhorn CSI Node Driver Registrar Image Tag
group: "Longhorn CSI Driver Images"
- variable: image.csi.resizer.repository
- default: longhornio/csi-resizer
+ default: rancher/mirrored-longhornio-csi-resizer
description: "Specify CSI Driver Resizer image repository. Leave blank to autodetect."
type: string
label: Longhorn CSI Driver Resizer Image Repository
@@ -131,7 +131,7 @@
label: Longhorn CSI Driver Resizer Image Tag
group: "Longhorn CSI Driver Images"
- variable: image.csi.snapshotter.repository
- default: longhornio/csi-snapshotter
+ default: rancher/mirrored-longhornio-csi-snapshotter
description: "Specify CSI Driver Snapshotter image repository. Leave blank to autodetect."
type: string
label: Longhorn CSI Driver Snapshotter Image Repository

View File

@ -0,0 +1,52 @@
--- charts-original/values.yaml
+++ charts/values.yaml
@@ -8,38 +8,38 @@
image:
longhorn:
engine:
- repository: longhornio/longhorn-engine
+ repository: rancher/mirrored-longhornio-longhorn-engine
tag: v1.3.0
manager:
- repository: longhornio/longhorn-manager
+ repository: rancher/mirrored-longhornio-longhorn-manager
tag: v1.3.0
ui:
- repository: longhornio/longhorn-ui
+ repository: rancher/mirrored-longhornio-longhorn-ui
tag: v1.3.0
instanceManager:
- repository: longhornio/longhorn-instance-manager
+ repository: rancher/mirrored-longhornio-longhorn-instance-manager
tag: v1_20220611
shareManager:
- repository: longhornio/longhorn-share-manager
+ repository: rancher/mirrored-longhornio-longhorn-share-manager
tag: v1_20220531
backingImageManager:
- repository: longhornio/backing-image-manager
+ repository: rancher/mirrored-longhornio-backing-image-manager
tag: v3_20220609
csi:
attacher:
- repository: longhornio/csi-attacher
+ repository: rancher/mirrored-longhornio-csi-attacher
tag: v3.4.0
provisioner:
- repository: longhornio/csi-provisioner
+ repository: rancher/mirrored-longhornio-csi-provisioner
tag: v2.1.2
nodeDriverRegistrar:
- repository: longhornio/csi-node-driver-registrar
+ repository: rancher/mirrored-longhornio-csi-node-driver-registrar
tag: v2.5.0
resizer:
- repository: longhornio/csi-resizer
+ repository: rancher/mirrored-longhornio-csi-resizer
tag: v1.2.0
snapshotter:
- repository: longhornio/csi-snapshotter
+ repository: rancher/mirrored-longhornio-csi-snapshotter
tag: v3.0.3
pullPolicy: IfNotPresent

View File

@ -0,0 +1,10 @@
url: https://github.com/longhorn/charts.git
subdirectory: charts/longhorn
commit: 476f726d7ab5d1de484e55f797a0953d99cb3b65
version: 100.2.0
additionalCharts:
- workingDir: charts-crd
crdOptions:
templateDirectory: crd-template
crdDirectory: templates
addCRDValidationToMainChart: true

View File

@ -0,0 +1,10 @@
apiVersion: v1
version: 1.3.0
description: Installs the CRDs for longhorn.
name: longhorn-crd
type: application
annotations:
catalog.cattle.io/hidden: "true"
catalog.cattle.io/release-name: longhorn-crd
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: longhorn-system

View File

@ -0,0 +1,2 @@
# longhorn-crd
A Rancher chart that installs the CRDs used by longhorn.

View File

@ -1,126 +1,4 @@
neuvector:
- 100.0.0+up2.2.0
rancher-external-ip-webhook:
- 100.0.0+up1.0.0
- 100.0.1+up1.0.1
- 100.0.0+up1.0.0
- 100.0.1+up1.0.1
- 100.0.2+up1.0.1
rancher-webhook:
- 1.0.0+up0.2.0
- 1.0.1+up0.2.1
- 1.0.2+up0.2.2
- 1.0.3+up0.2.5
- 1.0.0+up0.2.0
- 1.0.1+up0.2.1
- 1.0.2+up0.2.2
- 1.0.3+up0.2.5
- 1.0.4+up0.2.5
rancher-aks-operator:
- 100.0.0+up1.0.1
- 100.0.1+up1.0.2
- 100.0.2+up1.0.3
- 100.0.3+up1.0.4
- 100.0.4+up1.0.5
rancher-eks-operator:
- 100.0.0+up1.1.1
- 100.0.1+up1.1.2
- 100.0.2+up1.1.3
- 100.0.0+up1.1.1
- 100.0.1+up1.1.2
- 100.0.2+up1.1.3
system-upgrade-controller:
- 100.0.0+up0.3.0
- 100.0.1+up0.3.1
- 100.0.2+up0.3.2
rancher-gke-operator:
- 100.0.0+up1.1.1
- 100.0.1+up1.1.2
- 100.0.2+up1.1.3
fleet-agent:
- 100.0.0+up0.3.6
- 100.0.1+up0.3.7
- 100.0.2+up0.3.8
- 100.0.3+up0.3.9
fleet:
- 100.0.0+up0.3.6
- 100.0.1+up0.3.7
- 100.0.2+up0.3.8
- 100.0.3+up0.3.9
rancher-alerting-drivers:
- 100.0.0
- 100.0.1
- 100.0.2
rancher-backup:
- 2.0.0
- 2.0.1
- 2.1.0
- 2.1.1
- 2.1.2
rancher-cis-benchmark:
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
rancher-logging:
- 100.0.0+up3.12.0
- 100.0.1+up3.15.0
- 100.1.0+up3.17.3
- 100.1.1+up3.17.3
- 100.1.2+up3.17.4
rancher-monitoring:
- 100.0.0+up16.6.0
- 100.1.0+up19.0.3
- 100.1.1+up19.0.3
- 100.1.2+up19.0.3
sriov:
- 100.0.0+up0.1.0
- 100.0.1+up0.1.0
- 100.0.2+up0.1.0
- 100.0.3+up0.1.0
rancher-vsphere-cpi:
- 100.0.0
- 100.1.0+up1.0.100
- 100.2.0+up1.1.0
- 100.3.0+up1.2.1
rancher-vsphere-csi:
- 100.0.0
- 100.0.1+up2.1.1
- 100.1.0+up2.3.0
- 100.2.0+up2.4.1-rancher1
- 100.3.0+up2.5.1-rancher1
rancher-windows-gmsa:
- 1.0.0
rancher-wins-upgrader:
- 100.0.0+up0.0.1
- 100.0.1+up0.0.1
rancher-gatekeeper:
- 100.0.0+up3.5.1
- 100.0.1+up3.6.0
- 100.1.0+up3.7.1
rancher-istio:
- 100.0.0+up1.10.4
- 100.0.1+up1.10.4
- 100.0.2+up1.10.4
- 100.1.0+up1.11.4
- 100.1.1+up1.11.7
- 100.1.2+up1.11.7
- 100.1.3+up1.11.8
- 100.2.0+up1.12.6
- 100.2.1+up1.12.6
- 100.3.0+up1.13.3
longhorn:
- 100.0.0+up1.1.2
- 100.0.1+up1.1.3
- 100.1.0+up1.2.2
- 100.1.1+up1.2.3
- 100.1.2+up1.2.4
harvester-cloud-provider:
- 100.0.0+up0.1.8
- 100.0.1+up0.1.8
- 100.0.2+up0.1.12
harvester-csi-driver:
- 100.0.0+up0.1.9
- 100.0.1+up0.1.9
- 100.0.2+up0.1.11
- 100.2.0+up1.3.0
longhorn-crd:
- 100.2.0+up1.3.0