From 3a097658ef303ddaeb11ab2d649488d4f1c139fc Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Fri, 26 Apr 2024 12:43:39 +0300 Subject: [PATCH] dashy: update to v3 (#2399) --- library/ix-dev/community/dashy/Chart.yaml | 4 ++-- library/ix-dev/community/dashy/templates/_dashy.tpl | 3 ++- library/ix-dev/community/dashy/templates/_persistence.tpl | 4 ++-- library/ix-dev/community/dashy/values.yaml | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/library/ix-dev/community/dashy/Chart.yaml b/library/ix-dev/community/dashy/Chart.yaml index dcfb27a23c..026cb56fb6 100644 --- a/library/ix-dev/community/dashy/Chart.yaml +++ b/library/ix-dev/community/dashy/Chart.yaml @@ -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 diff --git a/library/ix-dev/community/dashy/templates/_dashy.tpl b/library/ix-dev/community/dashy/templates/_dashy.tpl index 27abb4cdac..b4b3eca808 100644 --- a/library/ix-dev/community/dashy/templates/_dashy.tpl +++ b/library/ix-dev/community/dashy/templates/_dashy.tpl @@ -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 diff --git a/library/ix-dev/community/dashy/templates/_persistence.tpl b/library/ix-dev/community/dashy/templates/_persistence.tpl index fed45b1e9e..77aab10827 100644 --- a/library/ix-dev/community/dashy/templates/_persistence.tpl +++ b/library/ix-dev/community/dashy/templates/_persistence.tpl @@ -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: diff --git a/library/ix-dev/community/dashy/values.yaml b/library/ix-dev/community/dashy/values.yaml index 3764860bcd..d2aa0b199a 100644 --- a/library/ix-dev/community/dashy/values.yaml +++ b/library/ix-dev/community/dashy/values.yaml @@ -1,7 +1,7 @@ image: repository: lissy93/dashy pullPolicy: IfNotPresent - tag: 2.1.2 + tag: 3.0.0 resources: limits: