mirror of
https://github.com/penpot/penpot-helm.git
synced 2025-02-08 16:18:03 -05:00
feat: config.internalResolver sets PENPOT_INTERNAL_RESOLVER to the frontend deployment
This commit is contained in:
parent
96de2c4f5c
commit
a53fd7fac4
4 changed files with 17 additions and 0 deletions
|
@ -47,6 +47,11 @@ annotations:
|
|||
description: Bump Penpot images to 2.3.3.
|
||||
- kind: changed
|
||||
description: Change penpot-frontend service port to 8080.
|
||||
- kind: added
|
||||
description: config.internalResolver sets PENPOT_INTERNAL_RESOLVER to the frontend deployment.
|
||||
links:
|
||||
- name: Github Issue #12
|
||||
url: https://github.com/penpot/penpot-helm/issues/12
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
version: 15.x.x # appVersion >= 16.2.0
|
||||
|
|
|
@ -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. |
|
||||
|
|
|
@ -53,6 +53,14 @@ 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 }}
|
||||
- name: PENPOT_INTERNAL_RESOLVER
|
||||
{{- if not .Values.config.internalResolver }}
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
{{- else }}
|
||||
value: {{ .Values.config.internalResolver | quote }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- mountPath: /opt/data/assets
|
||||
name: app-data
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue