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

Update helm charts for Release 2.4

This commit is contained in:
Yamila Moreno 2024-12-12 13:31:18 +01:00
parent 5fcbe2a4c9
commit cfc5f67b56
3 changed files with 15 additions and 0 deletions

View file

@ -72,6 +72,8 @@ helm install my-release -f values.yaml penpot/penpot
| config.assets.s3.secretKeys.endpointURIKey | string | `""` | The S3 endpoint URI to use from an existing secret. | | config.assets.s3.secretKeys.endpointURIKey | string | `""` | The S3 endpoint URI to use from an existing secret. |
| config.assets.s3.secretKeys.secretAccessKey | string | `""` | The S3 secret access key to use from an existing secret. | | 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.assets.storageBackend | string | `"assets-fs"` | The storage backend for assets to use. Use `assets-fs` for filesystem, and `assets-s3` for S3. |
| config.autoFileSnapshot.every | int | `5` | How many changes before generating a new snapshot. You also need to add the 'auto-file-snapshot' flag to the PENPOT_FLAGS variable. |
| config.autoFileSnapshot.timeout | string | `"3h"` | If there isn't a snapshot during this time, the system will generate one automatically. You also need to add the 'auto-file-snapshot' flag to the PENPOT_FLAGS variable. |
| 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.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.postgresql.database | string | `"penpot"` | The PostgreSQL database to use. | | config.postgresql.database | string | `"penpot"` | The PostgreSQL database to use. |
| config.postgresql.existingSecret | string | `""` | The name of an existing secret. | | config.postgresql.existingSecret | string | `""` | The name of an existing secret. |

View file

@ -363,6 +363,11 @@ spec:
value: {{ .Values.config.providers.ldap.attributesPhoto | quote }} value: {{ .Values.config.providers.ldap.attributesPhoto | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
# Auto file snapshot settings
- name: PENPOT_AUTO_FILE_SNAPSHOT_EVERY
value: {{ .Values.config.autoFileSnapshot.every | quote }}
- name: PENPOT_AUTO_FILE_SNAPSHOT_TIMEOUT
value: {{ .Values.config.autoFileSnapshot.timeout | quote }}
volumeMounts: volumeMounts:
- mountPath: /opt/data/assets - mountPath: /opt/data/assets
name: app-data name: app-data

View file

@ -305,6 +305,14 @@ config:
# @section -- Configuration parameters # @section -- Configuration parameters
oidcClientSecretKey: "" oidcClientSecretKey: ""
autoFileSnapshot:
# -- How many changes before generating a new snapshot. You also need to add the 'auto-file-snapshot' flag to the PENPOT_FLAGS variable.
# @section -- Configuration parameters
every: 5 # Every 5 changes
# -- If there isn't a snapshot during this time, the system will generate one automatically. You also need to add the 'auto-file-snapshot' flag to the PENPOT_FLAGS variable.
# @section -- Configuration parameters
timeout: "3h"
backend: backend:
image: image:
# -- The Docker repository to pull the image from. # -- The Docker repository to pull the image from.