0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00
penpot/.gimlet/penpot-pr.yaml
2024-06-04 15:52:52 +05:30

25 lines
No EOL
770 B
YAML

app: penpot-pr-{{ .BRANCH | sanitizeDNSName }}
# TODO move to staging cluster when ready
env: prod
deploy:
event: pr
cleanup:
event: branchDeleted
app: penpot-pr-{{ .BRANCH | sanitizeDNSName }}
chart:
name: https://github.com/tokens-studio/tokens-studio-for-penpot.git?branch={{ .BRANCH }}&path=/.gimlet/k8s/preview-frontend/
values:
namespace: "{{ .BRANCH | sanitizeDNSName }}"
frontend:
image:
pullPolicy: IfNotPresent
repository: ghcr.io/tokens-studio/tokens-studio-for-penpot
tag: 'frontend-pr-{{ .SHA }}'
ingress:
hosts:
- host: "{{ .BRANCH | sanitizeDNSName }}.penpot.staging.tokens.studio"
tls:
- secretName: tls-penpot
hosts:
- "{{ .BRANCH | sanitizeDNSName }}.penpot.staging.tokens.studio"