mirror of
https://github.com/truenas/charts.git
synced 2026-11-24 23:21:05 +00:00
bump test nc also
This commit is contained in:
28 files changed
+64
-1
No files matched your search
File renamed without changes.
File renamed without changes.
@@ -19,4 +19,4 @@ sources:
|
|||||||
- https://github.com/nextcloud/docker
|
- https://github.com/nextcloud/docker
|
||||||
- https://github.com/nextcloud/helm
|
- https://github.com/nextcloud/helm
|
||||||
upstream_version: 2.3.2
|
upstream_version: 2.3.2
|
||||||
version: 1.6.16
|
version: 1.6.17
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -104,6 +104,12 @@ questions:
|
|||||||
type: path
|
type: path
|
||||||
default: "/var/www/html/data"
|
default: "/var/www/html/data"
|
||||||
required: true
|
required: true
|
||||||
|
- variable: install_ffmpeg
|
||||||
|
label: "Install ffmpeg"
|
||||||
|
description: "Automatically Install ffmpeg when the container starts"
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
- variable: cronjob
|
- variable: cronjob
|
||||||
description: "Setup cronjob for nextcloud"
|
description: "Setup cronjob for nextcloud"
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+56
@@ -56,6 +56,48 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
|||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /status.php
|
||||||
|
port: http
|
||||||
|
httpHeaders:
|
||||||
|
- name: Host
|
||||||
|
value: localhost
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 5
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /status.php
|
||||||
|
port: http
|
||||||
|
httpHeaders:
|
||||||
|
- name: Host
|
||||||
|
value: localhost
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 5
|
||||||
|
startupProbe:
|
||||||
|
{{- if .Values.nextcloud.install_ffmpeg }}
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
command -v ffmpeg /dev/null 2>&1 || exit 1
|
||||||
|
{{- else }}
|
||||||
|
httpGet:
|
||||||
|
path: /status.php
|
||||||
|
port: http
|
||||||
|
httpHeaders:
|
||||||
|
- name: Host
|
||||||
|
value: localhost
|
||||||
|
{{- end }}
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 60
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nextcloud-data
|
- name: nextcloud-data
|
||||||
mountPath: /var/www/
|
mountPath: /var/www/
|
||||||
@@ -82,6 +124,20 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
|||||||
- name: extrappvolume-{{ $index }}
|
- name: extrappvolume-{{ $index }}
|
||||||
mountPath: {{ $hostPathConfiguration.mountPath }}
|
mountPath: {{ $hostPathConfiguration.mountPath }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{- if .Values.nextcloud.install_ffmpeg }}
|
||||||
|
lifecycle:
|
||||||
|
postStart:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
echo "Installing ffmpeg..."
|
||||||
|
apt update && \
|
||||||
|
apt install -y --no-install-recommends \
|
||||||
|
ffmpeg || echo "Failed to install ffmpeg"
|
||||||
|
echo "Finished."
|
||||||
|
{{- end }}
|
||||||
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
|
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: nginx-configuration
|
- name: nginx-configuration
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -19,6 +19,7 @@ nextcloud:
|
|||||||
host: nextcloud.kube.home
|
host: nextcloud.kube.home
|
||||||
password: changeme
|
password: changeme
|
||||||
username: admin
|
username: admin
|
||||||
|
install_ffmpeg: true
|
||||||
nginx:
|
nginx:
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
Reference in new issue
Block a user