Added nextcloud truecharts
This commit is contained in:
23
nextcloud-truechart/.helmignore
Normal file
23
nextcloud-truechart/.helmignore
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.orig
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
||||||
6
nextcloud-truechart/Chart.lock
Normal file
6
nextcloud-truechart/Chart.lock
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: nextcloud
|
||||||
|
repository: oci://tccr.io/truecharts
|
||||||
|
version: 30.1.25
|
||||||
|
digest: sha256:474884a5d58fdabf0b9c21920b601d76b20c12dbcfb747bdf79572ea279dd332
|
||||||
|
generated: "2024-10-22T13:29:47.712320248Z"
|
||||||
10
nextcloud-truechart/Chart.yaml
Normal file
10
nextcloud-truechart/Chart.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: nextcloud-truechart
|
||||||
|
description: Chart over the nextcloud chart from truecharts
|
||||||
|
type: application
|
||||||
|
version: 0.1.0
|
||||||
|
appVersion: "30"
|
||||||
|
dependencies:
|
||||||
|
- name: nextcloud
|
||||||
|
version: ~30
|
||||||
|
repository: "oci://tccr.io/truecharts"
|
||||||
BIN
nextcloud-truechart/charts/nextcloud-30.1.25.tgz
Normal file
BIN
nextcloud-truechart/charts/nextcloud-30.1.25.tgz
Normal file
Binary file not shown.
62
nextcloud-truechart/templates/_helpers.tpl
Normal file
62
nextcloud-truechart/templates/_helpers.tpl
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "nextcloud-truechart.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).
|
||||||
|
If release name contains chart name it will be used as a full name.
|
||||||
|
*/}}
|
||||||
|
{{- define "nextcloud-truechart.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride }}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||||
|
{{- if contains $name .Release.Name }}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "nextcloud-truechart.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common labels
|
||||||
|
*/}}
|
||||||
|
{{- define "nextcloud-truechart.labels" -}}
|
||||||
|
helm.sh/chart: {{ include "nextcloud-truechart.chart" . }}
|
||||||
|
{{ include "nextcloud-truechart.selectorLabels" . }}
|
||||||
|
{{- if .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
|
{{- end }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "nextcloud-truechart.selectorLabels" -}}
|
||||||
|
app.kubernetes.io/name: {{ include "nextcloud-truechart.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the name of the service account to use
|
||||||
|
*/}}
|
||||||
|
{{- define "nextcloud-truechart.serviceAccountName" -}}
|
||||||
|
{{- if .Values.serviceAccount.create }}
|
||||||
|
{{- default (include "nextcloud-truechart.fullname" .) .Values.serviceAccount.name }}
|
||||||
|
{{- else }}
|
||||||
|
{{- default "default" .Values.serviceAccount.name }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
32
nextcloud-truechart/values.yaml
Normal file
32
nextcloud-truechart/values.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
nextcloud:
|
||||||
|
nextcloud:
|
||||||
|
credentials:
|
||||||
|
initialAdminUser: admin
|
||||||
|
initialAdminPassword: changeme
|
||||||
|
general:
|
||||||
|
default_phone_region: FR
|
||||||
|
clamav:
|
||||||
|
enabled: true
|
||||||
|
collabora:
|
||||||
|
enabled: true
|
||||||
|
username: admin
|
||||||
|
password: changeme
|
||||||
|
persistence:
|
||||||
|
html:
|
||||||
|
type: pvc
|
||||||
|
storageClass: linode-block-storage
|
||||||
|
size: 4Gi
|
||||||
|
config:
|
||||||
|
type: pvc
|
||||||
|
storageClass: linode-block-storage-retain
|
||||||
|
size: 100Mi
|
||||||
|
data:
|
||||||
|
type: pvc
|
||||||
|
storageClass: linode-block-storage-retain
|
||||||
|
size: 10Gi
|
||||||
|
cnpg:
|
||||||
|
main:
|
||||||
|
user: nextcloud
|
||||||
|
database: nextcloud
|
||||||
|
redis:
|
||||||
|
username: default
|
||||||
Reference in New Issue
Block a user