From 21bc77a4ce5fbb90a484d43b7c1aea9a76b5469a Mon Sep 17 00:00:00 2001 From: christianhuth Date: Tue, 14 Jan 2025 08:49:41 +0000 Subject: [PATCH 1/3] fixed issue with cloudmode --- charts/umami/Chart.yaml | 6 +++--- charts/umami/README.md | 2 +- charts/umami/templates/deployment.yaml | 2 +- charts/umami/values.schema.json | 2 +- charts/umami/values.yaml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/umami/Chart.yaml b/charts/umami/Chart.yaml index 8472c3e1..1cb4a720 100644 --- a/charts/umami/Chart.yaml +++ b/charts/umami/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: umami description: Umami is a simple, fast, privacy-focused alternative to Google Analytics. type: application -version: 3.3.4 +version: 3.3.5 appVersion: "postgresql-v2.9.0" home: https://github.com/christianhuth/helm-charts icon: https://raw.githubusercontent.com/umami-software/umami/master/public/android-chrome-512x512.png @@ -24,8 +24,8 @@ dependencies: annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - - kind: changed - description: README format + - kind: fixed + description: issue with cloudMode artifacthub.io/screenshots: | - title: Umami measures just the important metrics that you care about and everything is displayed on a single, easy to browse page. url: https://umami.is/images/feature-website-stats.png diff --git a/charts/umami/README.md b/charts/umami/README.md index 2d727e64..bcfd69d0 100644 --- a/charts/umami/README.md +++ b/charts/umami/README.md @@ -100,7 +100,7 @@ The command removes all the Kubernetes components associated with the chart and | umami.appSecret.existingSecret | string | `""` | Name of an existing secret containing the app secret under the key app-secret. | | umami.appSecret.secret | string | `""` | A random string used to generate unique values. | | umami.clientIpHeader | string | `""` | HTTP header to check for the client's IP address. This is useful when you're behind a proxy that uses non-standard headers. | -| umami.cloudMode | string | `"1"` | Disables users, teams, and websites settings page. | +| umami.cloudMode | string | `"0"` | Disables users, teams, and websites settings page. | | umami.collectApiEndpoint | string | `""` | Allows you to send metrics to a location different than the default `/api/send`. This is to help you avoid some ad-blockers. | | umami.corsMaxAge | string | `"86400"` | How many seconds a CORS preflight should last. Default is 24 hours. | | umami.debug | string | `""` | Console logging for specific areas of the application. Values include `umami:auth`, `umami:clickhouse`, `umami:kafka`, `umami:middleware`, and `umami:prisma`. | diff --git a/charts/umami/templates/deployment.yaml b/charts/umami/templates/deployment.yaml index 8001181b..f32c8f32 100644 --- a/charts/umami/templates/deployment.yaml +++ b/charts/umami/templates/deployment.yaml @@ -51,7 +51,7 @@ spec: - name: CLIENT_IP_HEADER value: {{ .Values.umami.clientIpHeader | quote }} {{- end }} - {{- if .Values.umami.cloudMode }} + {{- if (eq .Values.umami.cloudMode "1") }} - name: CLOUD_MODE value: {{ .Values.umami.cloudMode | quote }} {{- end }} diff --git a/charts/umami/values.schema.json b/charts/umami/values.schema.json index 2e8c3afa..6fe0c6e7 100644 --- a/charts/umami/values.schema.json +++ b/charts/umami/values.schema.json @@ -591,7 +591,7 @@ "type": "string" }, "cloudMode": { - "default": "1", + "default": "0", "description": "Disables users, teams, and websites settings page.", "required": [], "title": "cloudMode", diff --git a/charts/umami/values.yaml b/charts/umami/values.yaml index 72cd2de5..901b3e9c 100644 --- a/charts/umami/values.yaml +++ b/charts/umami/values.yaml @@ -123,7 +123,7 @@ umami: # -- HTTP header to check for the client's IP address. This is useful when you're behind a proxy that uses non-standard headers. clientIpHeader: "" # -- Disables users, teams, and websites settings page. - cloudMode: "1" + cloudMode: "0" # -- Allows you to send metrics to a location different than the default `/api/send`. This is to help you avoid some ad-blockers. collectApiEndpoint: "" # -- How many seconds a CORS preflight should last. Default is 24 hours. From 2456989faefc03ef806d65c926b4e8253bdfaf88 Mon Sep 17 00:00:00 2001 From: christianhuth Date: Tue, 14 Jan 2025 08:49:41 +0000 Subject: [PATCH 2/3] fixed issue with cloudmode --- charts/umami/Chart.yaml | 8 +++----- charts/umami/README.md | 2 +- charts/umami/templates/deployment.yaml | 2 +- charts/umami/values.schema.json | 2 +- charts/umami/values.yaml | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/charts/umami/Chart.yaml b/charts/umami/Chart.yaml index 2e0178d7..1b6a9d24 100644 --- a/charts/umami/Chart.yaml +++ b/charts/umami/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: umami description: Umami is a simple, fast, privacy-focused alternative to Google Analytics. type: application -version: 4.0.0 +version: 4.0.1 appVersion: "postgresql-v2.9.0" home: https://github.com/christianhuth/helm-charts icon: https://raw.githubusercontent.com/umami-software/umami/master/public/android-chrome-512x512.png @@ -24,10 +24,8 @@ dependencies: annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - - kind: changed - description: dependency to mysql to 12.2.1 - - kind: changed - description: dependency to postgresql to 16.4.2 + - kind: fixed + description: issue with cloudMode artifacthub.io/screenshots: | - title: Umami measures just the important metrics that you care about and everything is displayed on a single, easy to browse page. url: https://umami.is/images/feature-website-stats.png diff --git a/charts/umami/README.md b/charts/umami/README.md index 7c3b1d05..950c298f 100644 --- a/charts/umami/README.md +++ b/charts/umami/README.md @@ -100,7 +100,7 @@ The command removes all the Kubernetes components associated with the chart and | umami.appSecret.existingSecret | string | `""` | Name of an existing secret containing the app secret under the key app-secret. | | umami.appSecret.secret | string | `""` | A random string used to generate unique values. | | umami.clientIpHeader | string | `""` | HTTP header to check for the client's IP address. This is useful when you're behind a proxy that uses non-standard headers. | -| umami.cloudMode | string | `"1"` | Disables users, teams, and websites settings page. | +| umami.cloudMode | string | `"0"` | Disables users, teams, and websites settings page. | | umami.collectApiEndpoint | string | `""` | Allows you to send metrics to a location different than the default `/api/send`. This is to help you avoid some ad-blockers. | | umami.corsMaxAge | string | `"86400"` | How many seconds a CORS preflight should last. Default is 24 hours. | | umami.debug | string | `""` | Console logging for specific areas of the application. Values include `umami:auth`, `umami:clickhouse`, `umami:kafka`, `umami:middleware`, and `umami:prisma`. | diff --git a/charts/umami/templates/deployment.yaml b/charts/umami/templates/deployment.yaml index 8001181b..f32c8f32 100644 --- a/charts/umami/templates/deployment.yaml +++ b/charts/umami/templates/deployment.yaml @@ -51,7 +51,7 @@ spec: - name: CLIENT_IP_HEADER value: {{ .Values.umami.clientIpHeader | quote }} {{- end }} - {{- if .Values.umami.cloudMode }} + {{- if (eq .Values.umami.cloudMode "1") }} - name: CLOUD_MODE value: {{ .Values.umami.cloudMode | quote }} {{- end }} diff --git a/charts/umami/values.schema.json b/charts/umami/values.schema.json index 2e8c3afa..6fe0c6e7 100644 --- a/charts/umami/values.schema.json +++ b/charts/umami/values.schema.json @@ -591,7 +591,7 @@ "type": "string" }, "cloudMode": { - "default": "1", + "default": "0", "description": "Disables users, teams, and websites settings page.", "required": [], "title": "cloudMode", diff --git a/charts/umami/values.yaml b/charts/umami/values.yaml index 72cd2de5..901b3e9c 100644 --- a/charts/umami/values.yaml +++ b/charts/umami/values.yaml @@ -123,7 +123,7 @@ umami: # -- HTTP header to check for the client's IP address. This is useful when you're behind a proxy that uses non-standard headers. clientIpHeader: "" # -- Disables users, teams, and websites settings page. - cloudMode: "1" + cloudMode: "0" # -- Allows you to send metrics to a location different than the default `/api/send`. This is to help you avoid some ad-blockers. collectApiEndpoint: "" # -- How many seconds a CORS preflight should last. Default is 24 hours. From e224800ea4376c87bb003cbe7185fc6fd72fccde Mon Sep 17 00:00:00 2001 From: christianhuth Date: Tue, 14 Jan 2025 09:08:22 +0000 Subject: [PATCH 3/3] add document start --- charts/umami/Chart.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/umami/Chart.yaml b/charts/umami/Chart.yaml index 1b6a9d24..6531c86a 100644 --- a/charts/umami/Chart.yaml +++ b/charts/umami/Chart.yaml @@ -1,3 +1,4 @@ +--- apiVersion: v2 name: umami description: Umami is a simple, fast, privacy-focused alternative to Google Analytics.