Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-08-30 21:29:51 +00:00
parent 06637582b8
commit 9fa4b58ab7
14 changed files with 2439 additions and 0 deletions

View File

@ -0,0 +1,8 @@
**Important:**
*for the complete changelog, please refer to the website*
## [plausible-5.0.1](https://github.com/truecharts/charts/compare/plausible-5.0.0...plausible-5.0.1) (2023-08-30)

View File

@ -0,0 +1,37 @@
apiVersion: v2
appVersion: "2.0.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 14.0.3
- condition: clickhouse.enabled
name: clickhouse
repository: https://deps.truecharts.org/
version: 7.0.1
deprecated: false
description: Plausible is lightweight and open source web analytics. No cookies and fully compliant with GDPR, CCPA and PECR.
home: https://truecharts.org/charts/stable/plausible
icon: https://truecharts.org/img/hotlink-ok/chart-icons/plausible.png
keywords:
- plausible
- analytics
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: plausible
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/plausible
- https://plausible.io/
- https://plausible.io/docs/self-hosting
- https://github.com/plausible/analytics
- https://github.com/plausible/hosting
type: application
version: 5.0.1
annotations:
truecharts.org/catagories: |
- analytics
- plausible
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

View File

@ -0,0 +1,4 @@
## [plausible-5.0.1](https://github.com/truecharts/charts/compare/plausible-5.0.0...plausible-5.0.1) (2023-08-30)

View File

@ -0,0 +1,8 @@
Plausible is lightweight and open source web analytics. No cookies and fully compliant with GDPR, CCPA and PECR.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/plausible](https://truecharts.org/charts/stable/plausible)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,131 @@
image:
repository: tccr.io/truecharts/plausible
pullPolicy: IfNotPresent
tag: v2.0.0@sha256:1ef59e863cfdcddc308d4ec743091bc8eda4f62e16b269cf4d778c89b8c02a68
service:
main:
ports:
main:
port: 10277
# Plausible self-hosting documentation
# https://plausible.io/docs/self-hosting
plausible:
# Server
server:
base_url: http://localhost:10277
disable_registration: "true"
log_failed_login_attempts: false
# Logging
log_level: warn
# Database
db:
clickhouse_flush_interval_ms: 5000
clickhouse_max_buffer_size: 10000
# Mailer/SMTP Setup
email:
mailer_email: hello@plausible.local
mailer_name: ""
smtp_host_address: localhost
smtp_host_port: 25
smtp_user_name: ""
smtp_user_password: ""
smtp_host_ssl_enabled: false
smtp_retries: 2
mailer_adapter: Bamboo.SMTPAdapter
postmark_api_key: ""
mailgun_api_key: ""
mailgun_domain: ""
mailgun_base_uri: ""
mandrill_api_key: ""
sendgrid_api_key: ""
# IP Geolocation
# todo(investigate where automatic updates are stored and configure storage accordingly)
maxmind:
license_key: ""
edition: GeoLite2-City
# Google Search Integration
google:
client_id: ""
client_secret: ""
workload:
main:
podSpec:
initContainers:
db-create:
type: install
enabled: true
imageSelector: image
securityContext:
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
envFrom:
- configMapRef:
name: plausible-config
- secretRef:
name: plausible-secret
command: sh
args:
- -c
- /entrypoint.sh db createdb && /entrypoint.sh db migrate
db-migrate:
type: upgrade
enabled: true
imageSelector: image
securityContext:
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
envFrom:
- configMapRef:
name: plausible-config
- secretRef:
name: plausible-secret
command: sh
args:
- -c
- /entrypoint.sh db migrate
containers:
main:
securityContext:
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
env:
PORT: "{{ .Values.service.main.ports.main.port }}"
envFrom:
- configMapRef:
name: plausible-config
- secretRef:
name: plausible-secret
probes:
liveness:
type: http
path: /api/health
readiness:
type: http
path: /api/health
startup:
type: tcp
cnpg:
main:
enabled: true
user: plausible
database: plausible
clickhouse:
enabled: true
clickhouseUsername: plausible
clickhouseDatabase: plausible
portal:
open:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
{{- define "plausible.configmap" -}}
{{- $plausible := .Values.plausible -}}
{{- $server := $plausible.server -}}
{{- $db := $plausible.db -}}
{{- $email := $plausible.email -}}
{{- $maxmind := $plausible.maxmind -}}
enabled: true
data:
BASE_URL: {{ $server.base_url | quote }}
LOG_LEVEL: {{ $server.log_level | quote }}
DISABLE_REGISTRATION: {{ $server.disable_registration | quote }}
LOG_FAILED_LOGIN_ATTEMPTS: {{ $server.log_failed_login_attempts | quote }}
CLICKHOUSE_FLUSH_INTERVAL_MS: {{ $db.clickhouse_flush_interval_ms | quote }}
CLICKHOUSE_MAX_BUFFER_SIZE: {{ $db.clickhouse_max_buffer_size | quote }}
SMTP_HOST_ADDR: {{ $email.smtp_host_address | quote }}
SMTP_HOST_PORT: {{ $email.smtp_host_port | quote }}
SMTP_HOST_SSL_ENABLED: {{ $email.smtp_host_ssl_enabled | quote }}
SMTP_RETRIES: {{ $email.smtp_retries | quote }}
MAILER_ADAPTER: {{ $email.mailer_adapter | quote }}
MAILGUN_BASE_URI: {{ $email.mailgun_base_uri | quote }}
MAXMIND_EDITION: {{ $maxmind.edition | quote }}
{{- end }}

View File

@ -0,0 +1,36 @@
{{- define "plausible.secret" -}}
{{- $fname := (include "tc.v1.common.lib.chart.names.fullname" .) -}}
{{- $secretName := printf "%s-secret" $fname -}}
{{- $plausible := .Values.plausible -}}
{{- $email := $plausible.email -}}
{{- $maxmind := $plausible.maxmind -}}
{{- $google := $plausible.google -}}
{{- $baseKey := randAlphaNum 32 -}}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
{{- $baseKey = index .data "SECRET_KEY_BASE" | b64dec -}}
{{- end }}
enabled: true
data:
SECRET_KEY_BASE: {{ $baseKey }}
DATABASE_URL: {{ .Values.cnpg.main.creds.std }}
CLICKHOUSE_DATABASE_URL: {{ .Values.clickhouse.creds.complete }}
MAILER_EMAIL: {{ $email.mailer_email | quote }}
MAILER_NAME: {{ $email.mailer_name | quote }}
SMTP_USER_NAME: {{ $email.smtp_user_name | quote }}
SMTP_USER_PWD: {{ $email.smtp_user_password | quote }}
POSTMARK_API_KEY: {{ $email.postmark_api_key | quote }}
MAILGUN_API_KEY: {{ $email.mailgun_api_key | quote }}
MAILGUN_DOMAIN: {{ $email.mailgun_domain | quote }}
MANDRILL_API_KEY: {{ $email.mandrill_api_key | quote }}
SENDGRID_API_KEY: {{ $email.sendgrid_api_key | quote }}
MAXMIND_LICENSE_KEY: {{ $maxmind.license_key | quote }}
GOOGLE_CLIENT_ID: {{ $google.client_id | quote }}
GOOGLE_CLIENT_SECRET: {{ $google.client_secret | quote }}
{{- end }}

View File

@ -0,0 +1,17 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render Plausible configmap */}}
{{- $config := include "plausible.configmap" . | fromYaml -}}
{{- if $config -}}
{{- $_ := set .Values.configmap "plausible-config" $config -}}
{{- end -}}
{{/* Render Plausible secret */}}
{{- $secret := include "plausible.secret" . | fromYaml -}}
{{- if $secret -}}
{{- $_ := set .Values.secret "plausible-secret" $secret -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}

View File

View File

@ -0,0 +1,6 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/plausible.png
categories:
- analytics
- plausible
screenshots: []