0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 14:12:36 -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 }} {{- omit .Values.backend.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }} {{- end }}
serviceAccountName: {{ include "penpot.serviceAccountName" . }} serviceAccountName: {{ include "penpot.serviceAccountName" . }}
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/instance
operator: In
values:
- {{ .Release.Name }}
topologyKey: "kubernetes.io/hostname"
containers: containers:
- name: {{ .Chart.Name }}-backend - name: {{ .Chart.Name }}-backend
{{ if .Values.backend.containerSecurityContext.enabled }} {{ if .Values.backend.containerSecurityContext.enabled }}

View file

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

View file

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

View file

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