Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Plausible 2.1.0 #16

Merged
merged 3 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ apiVersion: v2
name: plausible-analytics
description: A Helm Chart for Plausible Analytics - Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
type: application
version: 0.2.4
appVersion: 2.0.0
version: 0.2.5
appVersion: 2.1.0
keywords:
- web analytics
- analytics
Expand Down
5 changes: 5 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ spec:
secretKeyRef:
key: SECRET_KEY_BASE
name: {{ include "plausible-analytics.secretName" . }}
- name: TOTP_VAULT_KEY
valueFrom:
secretKeyRef:
key: TOTP_VAULT_KEY
name: {{ include "plausible-analytics.secretName" . }}
{{- if .Values.disableRegistration }}
- name: DISABLE_REGISTRATION
value: {{ .Values.disableRegistration | toString | quote }}
Expand Down
5 changes: 5 additions & 0 deletions templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ data:
{{- else }}
SECRET_KEY_BASE: {{ randAlphaNum 90 | toString | b64enc }}
{{- end }}
{{- if .Values.totpVaultKey }}
TOTP_VAULT_KEY: {{ .Values.totpVaultKey | toString | b64enc }}
{{- else }}
TOTP_VAULT_KEY: {{ randAlphaNum 32 | toString | b64enc }}
{{- end }}
{{- if .Values.databaseURL }}
DATABASE_URL: {{ .Values.databaseURL | toString | b64enc }}
{{- end }}
Expand Down
5 changes: 3 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
baseURL: http://plausible-analytics.local # The hosting url of the server
listenIP: 0.0.0.0
secretKeyBase: "" # is automaticly generated if left empty
totpVaultKey: "" # is automaticly generated if left empty
disableRegistration: false # Restricts registration of new users.
logFailedLoginAttempts: false # Controls whether to log warnings about failed login attempts.

Expand Down Expand Up @@ -142,10 +143,10 @@ clickhouse:
replicaCount: 1

image:
repository: plausible/analytics
repository: plausible/community-edition
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v2.0.0"
tag: "v2.1.0"

imagePullSecrets: []
nameOverride: ""
Expand Down
Loading