Skip to content

Commit

Permalink
Merge pull request #1236 from christianhuth/fix-umami-cloudmode
Browse files Browse the repository at this point in the history
fixed issue with cloudmode
  • Loading branch information
christianhuth authored Jan 14, 2025
2 parents 29f4d18 + e224800 commit d033143
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
9 changes: 4 additions & 5 deletions charts/umami/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
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
Expand All @@ -24,10 +25,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
Expand Down
2 changes: 1 addition & 1 deletion charts/umami/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`. |
Expand Down
2 changes: 1 addition & 1 deletion charts/umami/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/umami/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
"type": "string"
},
"cloudMode": {
"default": "1",
"default": "0",
"description": "Disables users, teams, and websites settings page.",
"required": [],
"title": "cloudMode",
Expand Down
2 changes: 1 addition & 1 deletion charts/umami/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d033143

Please sign in to comment.