Skip to content

Commit f7f449e

Browse files
Added chart versions:
loft/loft: - 4.5.1
1 parent 0134689 commit f7f449e

25 files changed

+1697
-1
lines changed

assets/loft/loft-4.5.1.tgz

10.9 KB
Binary file not shown.

charts/loft/loft/4.5.1/.helmignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*~
18+
# Various IDEs
19+
.project
20+
.idea/
21+
*.tmproj

charts/loft/loft/4.5.1/Chart.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
annotations:
2+
catalog.cattle.io/certified: partner
3+
catalog.cattle.io/display-name: Loft
4+
catalog.cattle.io/kube-version: '>=1.22-0'
5+
catalog.cattle.io/release-name: loft
6+
apiVersion: v2
7+
description: Secure Cluster Sharing, Self-Service Namespace Provisioning and Virtual
8+
Clusters
9+
home: https://loft.sh
10+
icon: file://assets/icons/loft.svg
11+
keywords:
12+
- developer
13+
- development
14+
- sharing
15+
- share
16+
- multi-tenancy
17+
- tenancy
18+
- cluster
19+
- space
20+
- namespace
21+
- vcluster
22+
- vclusters
23+
kubeVersion: '>=1.22-0'
24+
maintainers:
25+
26+
name: Loft Labs, Inc.
27+
url: https://twitter.com/loft_sh
28+
name: loft
29+
sources:
30+
- https://github.com/loft-sh/loft
31+
type: application
32+
version: 4.5.1
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Loft Chart
2+
3+
## Namespace & Virtual Cluster Manager for Kubernetes
4+
5+
- Lightweight Virtual Clusters that are flexible like namespaces but much more powerful
6+
- Sleep Mode to put idle namespaces and virtual clusters asleep and saves up to 70% cloud costs
7+
- Accounts & Account Users to separate tenants in a shared Kubernetes cluster
8+
- Self-Service Namespace Provisioning for account users
9+
- Account Limits to ensure quality of service and fairness when sharing a cluster
10+
- Namespace Templates for secure tenant isolation and self-service namespace initialization
11+
- Multi-Cluster Tenant Management for sharing a pool of clusters
12+
- GitOps-Ready: Custom Resource Definitions for everything loft does
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Thank you for installing {{ .Chart.Name }}.
2+
3+
Your release is named {{ .Release.Name }}.
4+
5+
To learn more about the release, try:
6+
7+
$ helm status {{ .Release.Name }}
8+
$ helm get all {{ .Release.Name }}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{{/* vim: set filetype=mustache: */}}
2+
3+
{{/*
4+
Create a default fully qualified app name.
5+
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
6+
If release name contains chart name it will be used as a full name.
7+
*/}}
8+
{{- define "loft.fullname" -}}
9+
{{- printf "loft" -}}
10+
{{- end -}}
11+
12+
{{/*
13+
Create the name of the service account to use
14+
*/}}
15+
{{- define "loft.serviceAccountName" -}}
16+
{{- if .Values.serviceAccount.create -}}
17+
{{ default (include "loft.fullname" .) .Values.serviceAccount.name }}
18+
{{- else -}}
19+
{{ default "default" .Values.serviceAccount.name }}
20+
{{- end -}}
21+
{{- end -}}
22+
23+
{{/*
24+
Default image name for a given product
25+
*/}}
26+
{{- define "loft.defaultImage" -}}
27+
{{- printf "ghcr.io/loft-sh/loft:%s" .Chart.Version -}}
28+
{{- end -}}
29+
30+
{{- define "loft.image" -}}
31+
{{- if .Values.product -}}
32+
{{- if eq .Values.product "vcluster-pro" -}}
33+
{{- printf "ghcr.io/loft-sh/vcluster-platform:%s" .Chart.Version -}}
34+
{{- else -}}
35+
{{ include "loft.defaultImage" . }}
36+
{{- end -}}
37+
{{- else -}}
38+
{{ include "loft.defaultImage" . }}
39+
{{- end -}}
40+
{{- end -}}
41+
42+
{{- define "loft.strategyType" -}}
43+
{{- if and .Values.strategy .Values.strategy.type -}}
44+
{{- .Values.strategy.type -}}
45+
{{- else -}}
46+
{{- if eq (int .Values.replicaCount) 1 -}}
47+
{{ printf "Recreate" }}
48+
{{- else -}}
49+
{{ printf "RollingUpdate" }}
50+
{{- end -}}
51+
{{- end -}}
52+
{{- end -}}
53+
54+
{{- define "loft.strategy" -}}
55+
{{- $type := include "loft.strategyType" . -}}
56+
type: {{ $type }}
57+
{{- if eq $type "RollingUpdate" }}
58+
rollingUpdate:
59+
maxSurge: 1
60+
{{- if (eq (int .Values.replicaCount) 1) }}
61+
maxUnavailable: 0
62+
{{- else }}
63+
maxUnavailable: 1
64+
{{- end }}
65+
{{- end -}}
66+
{{- end -}}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{{- if .Values.apiservice }}
2+
{{- if .Values.apiservice.create }}
3+
{{- if not .Values.agentOnly }}
4+
apiVersion: apiregistration.k8s.io/v1
5+
kind: APIService
6+
metadata:
7+
name: v1.management.loft.sh
8+
spec:
9+
version: v1
10+
versionPriority: 1000
11+
group: management.loft.sh
12+
groupPriorityMinimum: 10000
13+
service:
14+
name: loft-apiservice
15+
namespace: {{ .Release.Namespace }}
16+
---
17+
apiVersion: v1
18+
kind: Service
19+
metadata:
20+
name: loft-apiservice
21+
namespace: {{ .Release.Namespace }}
22+
labels:
23+
app: {{ template "loft.fullname" . }}
24+
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
25+
release: "{{ .Release.Name }}"
26+
heritage: "{{ .Release.Service }}"
27+
spec:
28+
ports:
29+
- name: apiservice
30+
port: 443
31+
targetPort: 8443
32+
protocol: TCP
33+
selector:
34+
app: {{ template "loft.fullname" . }}
35+
release: {{ .Release.Name }}
36+
---
37+
{{- end }}
38+
apiVersion: v1
39+
kind: Service
40+
metadata:
41+
name: loft-apiservice-agent
42+
namespace: {{ .Release.Namespace }}
43+
labels:
44+
app: {{ template "loft.fullname" . }}
45+
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
46+
release: "{{ .Release.Name }}"
47+
heritage: "{{ .Release.Service }}"
48+
spec:
49+
ports:
50+
- name: apiservice
51+
port: 443
52+
targetPort: 9444
53+
protocol: TCP
54+
selector:
55+
app: {{ template "loft.fullname" . }}
56+
release: {{ .Release.Name }}
57+
{{- end }}
58+
{{- end }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{{- if .Values.certIssuer.create }}
2+
apiVersion: cert-manager.io/v1
3+
kind: ClusterIssuer
4+
metadata:
5+
name: {{ .Values.certIssuer.name }}
6+
spec:
7+
acme:
8+
email: {{ .Values.certIssuer.email }}
9+
server: {{ .Values.certIssuer.server }}
10+
privateKeySecretRef:
11+
name: {{ .Values.certIssuer.secretName }}
12+
solvers:
13+
{{- if .Values.certIssuer.httpResolver.enabled }}
14+
- http01:
15+
ingress:
16+
class: {{ .Values.certIssuer.httpResolver.ingressClass }}
17+
{{- end }}
18+
{{- range .Values.certIssuer.resolvers }}
19+
-
20+
{{ toYaml . | indent 6 }}
21+
{{- end }}
22+
{{- end }}

0 commit comments

Comments
 (0)