0
Fork 0
mirror of https://github.com/penpot/penpot-helm.git synced 2024-12-22 05:32:59 -05:00

Added resolver for frontend.

This commit is contained in:
Vipin Jain 2024-12-19 16:12:03 +05:30
parent 5fcbe2a4c9
commit a64ae2c149
3 changed files with 8 additions and 0 deletions

View file

@ -73,6 +73,7 @@ helm install my-release -f values.yaml penpot/penpot
| config.assets.s3.secretKeys.secretAccessKey | string | `""` | The S3 secret access key to use from an existing secret. |
| config.assets.storageBackend | string | `"assets-fs"` | The storage backend for assets to use. Use `assets-fs` for filesystem, and `assets-s3` for S3. |
| config.flags | string | `"enable-registration enable-login-with-password disable-email-verification enable-smtp"` | The feature flags to enable. Check [the official docs](https://help.penpot.app/technical-guide/configuration/) for more info. |
| config.internalResolver | string | `""` | Add custom resolver for frontend. e.g. 192.168.1.1 |
| config.postgresql.database | string | `"penpot"` | The PostgreSQL database to use. |
| config.postgresql.existingSecret | string | `""` | The name of an existing secret. |
| config.postgresql.host | string | `""` | The PostgreSQL host to connect to. Empty to use dependencies. |

View file

@ -53,6 +53,10 @@ spec:
value: {{ print "http://" (include "penpot.fullname" .) "-backend:" .Values.backend.service.port }}
- name: PENPOT_EXPORTER_URI
value: {{ print "http://" (include "penpot.fullname" .) "-exporter:" .Values.exporter.service.port }}
{{- if .Values.config.internalResolver }}
- name: PENPOT_INTERNAL_RESOLVER
value: {{ .Values.config.internalResolver | quote }}
{{- end }}
volumeMounts:
- mountPath: /opt/data/assets
name: app-data

View file

@ -49,6 +49,9 @@ config:
# -- Whether to enable sending of anonymous telemetry data.
# @section -- Configuration parameters
telemetryEnabled: true
# -- Add custom resolver for frontend. e.g. 192.168.1.1
# @section -- Configuration parameters
internalResolver: ""
postgresql:
# -- The PostgreSQL host to connect to. Empty to use dependencies.