mirror of
https://github.com/truenas/charts.git
synced 2026-04-14 02:00:11 +08:00
dashy: update to v3 (#2399)
This commit is contained in:
@@ -3,9 +3,9 @@ description: Dashy is a self-hostable personal dashboard built for you.
|
||||
annotations:
|
||||
title: Dashy
|
||||
type: application
|
||||
version: 1.0.9
|
||||
version: 2.0.0
|
||||
apiVersion: v2
|
||||
appVersion: 2.1.2
|
||||
appVersion: 3.0.0
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
maintainers:
|
||||
- name: truenas
|
||||
|
||||
@@ -15,6 +15,7 @@ workload:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
env:
|
||||
{{- $protocol := "http" -}}
|
||||
{{- if .Values.dashyNetwork.certificateID }}
|
||||
@@ -66,7 +67,7 @@ workload:
|
||||
- |
|
||||
if [ -z "$(ls -A /data)" ]; then
|
||||
echo "App directory is empty, copying default files"
|
||||
cp -r /app/public/* /data/
|
||||
cp -r /app/user-data/* /data/
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@ persistence:
|
||||
targetSelector:
|
||||
dashy:
|
||||
dashy:
|
||||
mountPath: /app/public
|
||||
mountPath: /app/user-data
|
||||
# Mount the same dir to different path on init container
|
||||
# So we can check if `/data` is empty and copy the default
|
||||
# from /app/public
|
||||
# from /app/user-data
|
||||
init-config:
|
||||
mountPath: /data
|
||||
tmp:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
image:
|
||||
repository: lissy93/dashy
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 2.1.2
|
||||
tag: 3.0.0
|
||||
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user