mirror of
https://github.com/truenas/charts.git
synced 2026-11-23 23:18:08 +00:00
Allow configuring extra storage mounts for collabora
This commit is contained in:
1 parent
b5fc3c19fc
commit
b3a2ea30f8
2 files changed
+8
-7
No files matched your search
@@ -13,7 +13,7 @@ portals:
|
|||||||
host:
|
host:
|
||||||
- "www.truepool.io"
|
- "www.truepool.io"
|
||||||
ports:
|
ports:
|
||||||
- "443"
|
- "9980"
|
||||||
path: "/kb/truepool-docker-image/"
|
path: "/kb/truepool-docker-image/"
|
||||||
|
|
||||||
questions:
|
questions:
|
||||||
|
|||||||
@@ -13,28 +13,29 @@ spec:
|
|||||||
name: {{ template "common.names.fullname" . }}
|
name: {{ template "common.names.fullname" . }}
|
||||||
labels: {{ include "common.labels.selectorLabels" . | nindent 8 }}
|
labels: {{ include "common.labels.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
# FIXME: Let's please remove hostnetwork when upstream hostport issue is sorted out with kube-router
|
|
||||||
hostNetwork: true
|
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
|
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
|
||||||
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
|
{{ if .Values.extraAppVolumeMounts }}
|
||||||
|
volumeMounts:
|
||||||
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
||||||
- name: extrappvolume-{{ $index }}
|
- name: extrappvolume-{{ $index }}
|
||||||
mountPath: {{ $hostPathConfiguration.mountPath }}
|
mountPath: {{ $hostPathConfiguration.mountPath }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
ports:
|
ports:
|
||||||
- name: chia-network
|
- name: chia-network
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
containerPort: 8444
|
containerPort: 9980
|
||||||
hostPort: 8444
|
|
||||||
{{ $envList := (default list .Values.environmentVariables) }}
|
{{ $envList := (default list .Values.environmentVariables) }}
|
||||||
{{ $envList = mustAppend $envList (dict "name" "keys" "value" "/plots/keyfile") }}
|
{{ $envList = mustAppend $envList (dict "name" "keys" "value" "/plots/keyfile") }}
|
||||||
{{ $envList = mustAppend $envList (dict "name" "farmr" "value" $.Values.farmr_env) }}
|
{{ $envList = mustAppend $envList (dict "name" "farmr" "value" $.Values.farmr_env) }}
|
||||||
{{ include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10 }}
|
{{ include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10 }}
|
||||||
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
|
{{ if .Values.extraAppVolumeMounts }}
|
||||||
|
volumes:
|
||||||
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
||||||
- name: extrappvolume-{{ $index }}
|
- name: extrappvolume-{{ $index }}
|
||||||
hostPath:
|
hostPath:
|
||||||
path: {{ $hostPathConfiguration.hostPath }}
|
path: {{ $hostPathConfiguration.hostPath }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
Reference in new issue
Block a user