mirror of
https://github.com/penpot/penpot-helm.git
synced 2025-04-07 20:31:25 -05:00
feat: allow to set the url of Privacy Policy and Terms of Service
This commit is contained in:
parent
5cb719cf91
commit
363867a145
4 changed files with 14 additions and 1 deletions
|
@ -44,6 +44,8 @@ annotations:
|
|||
links:
|
||||
- name: GitHub Issue #16
|
||||
url: https://github.com/penpot/penpot-helm/issues/16
|
||||
- kind: added
|
||||
description: Allow to set the url of Privacy Policy and Terms of Service
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
version: 15.x.x # appVersion >= 16.2.0
|
||||
|
|
|
@ -86,6 +86,7 @@ helm install my-release -f values.yaml penpot/penpot
|
|||
| config.postgresql.secretKeys.postgresqlUriKey | string | `""` | The postgresql uri key to use from an existing secret. (postgresql://host:port/database). |
|
||||
| config.postgresql.secretKeys.usernameKey | string | `""` | The username key to use from an existing secret. |
|
||||
| config.postgresql.username | string | `"penpot"` | The database username to use. |
|
||||
| config.privacyPolicyUri | string | `""` | Url adress to Privacy Policy (empty to hide the link) |
|
||||
| config.providers.existingSecret | string | `""` | The name of an existing secret to use. |
|
||||
| config.providers.github.clientID | string | `""` | The GitHub client ID to use. |
|
||||
| config.providers.github.clientSecret | string | `""` | The GitHub client secret to use. |
|
||||
|
@ -152,6 +153,7 @@ helm install my-release -f values.yaml penpot/penpot
|
|||
| config.smtp.tls | bool | `true` | Whether to use TLS for the SMTP connection. |
|
||||
| config.smtp.username | string | `""` | The SMTP username to use. |
|
||||
| config.telemetryEnabled | bool | `true` | Whether to enable sending of anonymous telemetry data. |
|
||||
| config.termsOfSrvicesUri | string | `""` | Url adress to Terms of Services (empty to hide the link) |
|
||||
|
||||
### Penpot backend
|
||||
|
||||
|
|
|
@ -61,6 +61,10 @@ spec:
|
|||
{{- else }}
|
||||
value: {{ .Values.config.internalResolver | quote }}
|
||||
{{- end }}
|
||||
- name: PENPOT_TERMS_OF_SERVICE_URI
|
||||
value: {{ .Values.config.termsOfSrvicesUri | quote }}
|
||||
- name: PENPOT_PRIVACY_POLICY_URI
|
||||
value: {{ .Values.config.privacyPolicyUri | quote }}
|
||||
volumeMounts:
|
||||
- mountPath: /opt/data/assets
|
||||
name: app-data
|
||||
|
|
|
@ -40,7 +40,6 @@ config:
|
|||
# -- The feature flags to enable. Check [the official docs](https://help.penpot.app/technical-guide/configuration/) for more info.
|
||||
# @section -- Configuration parameters
|
||||
flags: "enable-registration enable-login-with-password disable-email-verification enable-smtp"
|
||||
|
||||
# -- A random secret key needed for persistent user sessions. Generate with `python3 -c "import secrets; print(secrets.token_urlsafe(64))"` for example.
|
||||
# @section -- Configuration parameters
|
||||
apiSecretKey: "kmZ96pAxhTgk3HZvvBkPeVTspGBneKVLEpO_3ecORs_gwACENZ77z05zCe7skvPsQ3jI3QgkULQOWCuLjmjQsg"
|
||||
|
@ -60,6 +59,12 @@ config:
|
|||
# -- Add custom resolver for frontend. e.g. 192.168.1.1
|
||||
# @section -- Configuration parameters
|
||||
internalResolver: ""
|
||||
# -- Url adress to Terms of Services (empty to hide the link)
|
||||
# @section -- Configuration parameters
|
||||
termsOfSrvicesUri: ""
|
||||
# -- Url adress to Privacy Policy (empty to hide the link)
|
||||
# @section -- Configuration parameters
|
||||
privacyPolicyUri: ""
|
||||
|
||||
postgresql:
|
||||
# -- The PostgreSQL host to connect to. Empty to use dependencies.
|
||||
|
|
Loading…
Add table
Reference in a new issue