mirror of
https://github.com/truenas/charts.git
synced 2024-04-21 15:21:45 +00:00
ci vals
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
ncConfig:
|
||||
adminUser: admin
|
||||
adminPassword: password
|
||||
host: ""
|
||||
dataDir: /var/www/html
|
||||
commands:
|
||||
- ffmpeg
|
||||
- smbclient
|
||||
maxUploadLimit: 3
|
||||
phpMemoryLimit: 512
|
||||
nginx:
|
||||
proxyTimeouts: 120
|
||||
useDifferentAccessPort: false
|
||||
externalAccessPort: 80
|
||||
|
||||
ncNetwork:
|
||||
webPort: 9001
|
||||
|
||||
ncStorage:
|
||||
pgData:
|
||||
type: emptyDir
|
||||
emptyDirConfig:
|
||||
medium: ""
|
||||
size: ""
|
||||
pgBackup:
|
||||
type: emptyDir
|
||||
emptyDirConfig:
|
||||
medium: ""
|
||||
size: ""
|
||||
additionalStorages: []
|
||||
@@ -1,4 +1,9 @@
|
||||
{{- define "nginx.workload" -}}
|
||||
{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
|
||||
{{- $ncUrl := printf "http://%s:80" $fullname -}}
|
||||
{{- if .Values.ncNetwork.certificateID -}}
|
||||
{{- $ncUrl = printf "https://%s:%s" $fullname .Values.ncNetwork.webPort -}}
|
||||
{{- end }}
|
||||
workload:
|
||||
nginx:
|
||||
enabled: true
|
||||
@@ -51,26 +56,21 @@ workload:
|
||||
path: /status.php
|
||||
httpHeaders:
|
||||
Host: localhost
|
||||
{{- $fullname := (include "ix.v1.common.lib.chart.names.fullname" $) -}}
|
||||
{{- $ncUrl := printf "http://%s:80" $fullname }}
|
||||
{{- if .Values.ncNetwork.certificateID -}}
|
||||
{{- $ncUrl = printf "https://%s:%s" $fullname .Values.ncNetwork.webPort -}}
|
||||
{{- end }}
|
||||
initContainers:
|
||||
01-wait-server:
|
||||
enabled: true
|
||||
type: init
|
||||
imageSelector: bashImage
|
||||
command:
|
||||
- bash
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
type: init
|
||||
imageSelector: bashImage
|
||||
command:
|
||||
- bash
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
echo "Waiting for [{{ $ncUrl }}]";
|
||||
until wget --spider --quiet --timeout=3 --tries=1 {{ $ncUrl }}/status.php;
|
||||
do
|
||||
echo "Waiting for [{{ $ncUrl }}]";
|
||||
until wget --spider --quiet --timeout=3 --tries=1 {{ $ncUrl }}/status.php;
|
||||
do
|
||||
echo "Waiting for [{{ $ncUrl }}]";
|
||||
sleep 2;
|
||||
done
|
||||
echo "API is up: {{ $ncUrl }}";
|
||||
sleep 2;
|
||||
done
|
||||
echo "API is up: {{ $ncUrl }}";
|
||||
{{- end -}}
|
||||
|
||||
@@ -11,7 +11,7 @@ nginxImage:
|
||||
ncPostgresImage:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: postgres
|
||||
tag: 13.1
|
||||
tag: "13.1"
|
||||
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user