-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release Longhorn v1.7.3 into Rancher 2.11 Longhorn 10377 Signed-off-by: James Lu <james.lu@suse.com>
- Loading branch information
1 parent
d51a1f1
commit 32d9eda
Showing
52 changed files
with
7,983 additions
and
63 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
packages/longhorn/longhorn-crd/longhorn-1.7/charts/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/hidden: "true" | ||
catalog.cattle.io/namespace: longhorn-system | ||
catalog.cattle.io/release-name: longhorn-crd | ||
apiVersion: v1 | ||
appVersion: v1.7.3 | ||
description: Installs the CRDs for longhorn. | ||
name: longhorn-crd | ||
type: application | ||
version: 1.7.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# longhorn-crd | ||
A Rancher chart that installs the CRDs used by longhorn. |
66 changes: 66 additions & 0 deletions
66
packages/longhorn/longhorn-crd/longhorn-1.7/charts/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "longhorn.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
*/}} | ||
{{- define "longhorn.fullname" -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
|
||
{{- define "longhorn.managerIP" -}} | ||
{{- $fullname := (include "longhorn.fullname" .) -}} | ||
{{- printf "http://%s-backend:9500" $fullname | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
|
||
{{- define "secret" }} | ||
{{- printf "{\"auths\": {\"%s\": {\"auth\": \"%s\"}}}" .Values.privateRegistry.registryUrl (printf "%s:%s" .Values.privateRegistry.registryUser .Values.privateRegistry.registryPasswd | b64enc) | b64enc }} | ||
{{- end }} | ||
|
||
{{- /* | ||
longhorn.labels generates the standard Helm labels. | ||
*/ -}} | ||
{{- define "longhorn.labels" -}} | ||
app.kubernetes.io/name: {{ template "longhorn.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion }} | ||
{{- end -}} | ||
|
||
|
||
{{- define "system_default_registry" -}} | ||
{{- if .Values.global.cattle.systemDefaultRegistry -}} | ||
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} | ||
{{- else -}} | ||
{{- "" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "registry_url" -}} | ||
{{- if .Values.privateRegistry.registryUrl -}} | ||
{{- printf "%s/" .Values.privateRegistry.registryUrl -}} | ||
{{- else -}} | ||
{{ include "system_default_registry" . }} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- /* | ||
define the longhorn release namespace | ||
*/ -}} | ||
{{- define "release_namespace" -}} | ||
{{- if .Values.namespaceOverride -}} | ||
{{- .Values.namespaceOverride -}} | ||
{{- else -}} | ||
{{- .Release.Namespace -}} | ||
{{- end -}} | ||
{{- end -}} |
Oops, something went wrong.