0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Last round of changes

This commit is contained in:
SorsOps 2024-06-20 02:06:21 +02:00
parent 228665f5f2
commit 41bd4c621f
No known key found for this signature in database
GPG key ID: E9EC78C740654016
4 changed files with 21 additions and 23 deletions

View file

@ -27,16 +27,6 @@ spec:
{{- omit .Values.backend.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "penpot.serviceAccountName" . }}
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/instance
operator: In
values:
- {{ .Release.Name }}
topologyKey: "kubernetes.io/hostname"
containers:
- name: {{ .Chart.Name }}-backend
{{ if .Values.backend.containerSecurityContext.enabled }}

View file

@ -27,11 +27,10 @@ manifests: |
spec:
containers:
- name: mailslurper
image: oryd/mailslurper:smtps-latest
image: sj26/mailcatcher:latest
ports:
- containerPort: 1025
- containerPort: 4436
- containerPort: 4437
- containerPort: 1080
---
apiVersion: v1
kind: Service

View file

@ -27,9 +27,11 @@ values:
secret: db-penpot-secrets
superUser: db-penpot-superuser-secret
config:
telemetryEnabled: false
assets:
storageBackend: assets-s3
s3:
region: eu-west
bucket: assets
endpointURI: http://minio.penpot.svc.cluster.local:80
existingSecret:
@ -37,18 +39,18 @@ values:
secretKeys:
accessKeyIDKey: CONSOLE_ACCESS_KEY
secretAccessKey: CONSOLE_SECRET_KEY
# - AWS_ACCESS_KEY_ID=<KEY_ID>
# - AWS_SECRET_ACCESS_KEY=<ACCESS_KEY>
# - PENPOT_ASSETS_STORAGE_BACKEND=assets-s3
# - PENPOT_STORAGE_ASSETS_S3_ENDPOINT=http://penpot-minio:9000
# - PENPOT_STORAGE_ASSETS_S3_BUCKET=<BUKET_NAME>
flags: 'enable-smtp'
smtp:
enabled: true
host: mailslurper
defaultFrom: no-reply@penpot.tokens.studio
defaultReplyTo: no-reply@penpot.tokens.studio
username: test
password: test
tls: false
ssl: false
port: 1025
publicURI: https://{{ .BRANCH | sanitizeDNSName }}.penpot.dev.tokens.studio
publicURI: https://{{ .BRANCH | sanitizeDNSName }}.penpot.alpha.tokens.studio
redis:
host: penpot-redis-master.penpot.svc.cluster.local
postgresql:
@ -79,8 +81,8 @@ values:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: "{{ .BRANCH | sanitizeDNSName }}.penpot.dev.tokens.studio"
- host: "{{ .BRANCH | sanitizeDNSName }}.penpot.alpha.tokens.studio"
tls:
- secretName: tls-penpot
- secretName: tls-penpot-{{ .BRANCH | sanitizeDNSName }}
hosts:
- "{{ .BRANCH | sanitizeDNSName }}.penpot.dev.tokens.studio"
- "{{ .BRANCH | sanitizeDNSName }}.penpot.alpha.tokens.studio"

View file

@ -22,9 +22,11 @@ values:
secret: db-penpot-secrets
superUser: db-penpot-superuser-secret
config:
flags: 'enable-smtp'
assets:
storageBackend: assets-s3
s3:
region: eu-west
bucket: assets
endpointURI: http://minio.penpot.svc.cluster.local:80
existingSecret:
@ -35,7 +37,12 @@ values:
smtp:
enabled: true
host: mailslurper
defaultFrom: no-reply@penpot.tokens.studio
defaultReplyTo: no-reply@penpot.tokens.studio
username: test
password: test
tls: false
ssl: false
port: 1025
publicURI: https://penpot.tokens.studio
redis: