0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00
penpot/.gimlet/penpot-pr.yaml

87 lines
2.5 KiB
YAML
Raw Normal View History

2024-05-23 08:13:43 -05:00
app: penpot-pr-{{ .BRANCH | sanitizeDNSName }}
# TODO move to staging cluster when ready
env: prod
2024-06-19 13:31:21 -05:00
namespace: penpot
2024-05-23 08:13:43 -05:00
deploy:
event: pr
cleanup:
2024-06-19 19:15:35 -05:00
branch: "*"
2024-05-23 08:13:43 -05:00
event: branchDeleted
app: penpot-pr-{{ .BRANCH | sanitizeDNSName }}
chart:
2024-06-19 12:57:19 -05:00
name: https://github.com/tokens-studio/tokens-studio-for-penpot.git?branch={{ .BRANCH }}&path=/.gimlet/k8s/penpot/
2024-05-23 08:13:43 -05:00
values:
2024-06-19 12:57:19 -05:00
global:
# Try use the existing redis
redisEnabled: false
imagePullSecrets:
- name: ghcr-login-secret
postgresql:
# use the existing db
enabled: false
owner: penpot
database: penpot
# Assumed specified in infra
secret: db-penpot-secrets
superUser: db-penpot-superuser-secret
config:
2024-06-19 19:06:21 -05:00
telemetryEnabled: false
2024-06-19 17:40:10 -05:00
assets:
storageBackend: assets-s3
s3:
2024-06-19 19:06:21 -05:00
region: eu-west
2024-06-19 17:40:10 -05:00
bucket: assets
endpointURI: http://minio.penpot.svc.cluster.local:80
existingSecret:
penpot-assets-user-penpot
2024-06-19 17:40:10 -05:00
secretKeys:
accessKeyIDKey: CONSOLE_ACCESS_KEY
secretAccessKey: CONSOLE_SECRET_KEY
2024-06-19 19:06:21 -05:00
flags: 'enable-smtp'
2024-06-19 12:57:19 -05:00
smtp:
enabled: true
host: mailslurper
2024-06-19 19:06:21 -05:00
defaultFrom: no-reply@penpot.tokens.studio
defaultReplyTo: no-reply@penpot.tokens.studio
username: test
password: test
2024-06-19 12:57:19 -05:00
tls: false
2024-06-19 19:06:21 -05:00
ssl: false
2024-06-19 12:57:19 -05:00
port: 1025
2024-06-19 19:06:21 -05:00
publicURI: https://{{ .BRANCH | sanitizeDNSName }}.penpot.alpha.tokens.studio
2024-06-19 12:57:19 -05:00
redis:
host: penpot-redis-master.penpot.svc.cluster.local
postgresql:
# note that this is unchanged
host: penpot-db-rw
database: penpot
existingSecret: db-penpot-secrets
secretKeys:
usernameKey: username
passwordKey: password
backend:
image:
pullPolicy: Always
2024-06-19 12:57:19 -05:00
repository: ghcr.io/tokens-studio/tokens-studio-for-penpot
2024-06-19 17:58:10 -05:00
tag: 'pr-backend-{{ .BRANCH | sanitizeDNSName }}'
2024-06-19 13:47:35 -05:00
exporter:
# Unlikely to be used
enabled: false
2024-05-23 08:13:43 -05:00
frontend:
2024-06-19 12:57:19 -05:00
labels:
portService: tokens-studio-for-penpot
image:
pullPolicy: Always
2024-06-19 12:57:19 -05:00
repository: ghcr.io/tokens-studio/tokens-studio-for-penpot
2024-06-19 17:58:10 -05:00
tag: 'pr-frontend-{{ .BRANCH | sanitizeDNSName }}'
2024-06-19 12:57:19 -05:00
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
2024-06-19 19:06:21 -05:00
- host: "{{ .BRANCH | sanitizeDNSName }}.penpot.alpha.tokens.studio"
2024-06-19 12:57:19 -05:00
tls:
2024-06-19 19:06:21 -05:00
- secretName: tls-penpot-{{ .BRANCH | sanitizeDNSName }}
2024-06-19 12:57:19 -05:00
hosts:
2024-06-19 19:06:21 -05:00
- "{{ .BRANCH | sanitizeDNSName }}.penpot.alpha.tokens.studio"