dashy: update to v3 (#2399)

This commit is contained in:
Stavros Kois
2024-04-26 12:43:39 +03:00
committed by GitHub
parent 28ef3032d2
commit 3a097658ef
4 changed files with 7 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -1,7 +1,7 @@
image:
repository: lissy93/dashy
pullPolicy: IfNotPresent
tag: 2.1.2
tag: 3.0.0
resources:
limits: