Skip to content

Commit 0e3ee27

Browse files
committed
Template / Add Penpot
1 parent f1d95e1 commit 0e3ee27

File tree

3 files changed

+197
-0
lines changed

3 files changed

+197
-0
lines changed

services/penpot-backend/app.yaml

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
apiVersion: application.kubero.dev/v1alpha1
2+
kind: KuberoApp
3+
metadata:
4+
name: penpot-backend
5+
annotations:
6+
kubero.dev/template.architecture: '["linux/amd64", "linux/arm64"]'
7+
kubero.dev/template.description: "Penpot is a open-source design tool for design and code collaboration."
8+
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/30179644"
9+
kubero.dev/template.installation: "Make sure you have all three services running: penpot-backend, penpot-exporter, penpot-frontend"
10+
kubero.dev/template.links: '["https://community.penpot.app/"]'
11+
kubero.dev/template.screenshots: '["https://penpot.app/blog/content/images/size/w2000/2024/02/PenpotUI-flexlayout.png", "https://penpot.app/blog/content/images/size/w1000/2024/02/Penpot_workspace.png"]'
12+
kubero.dev/template.source: "https://github.com/penpot/penpot/"
13+
kubero.dev/template.categories: '["work","collaboration"]'
14+
kubero.dev/template.title: "Penpot (Backend)"
15+
kubero.dev/template.website: "https://penpot.app/"
16+
labels:
17+
manager: kubero
18+
spec:
19+
name: penpot-backend
20+
deploymentstrategy: docker
21+
envVars:
22+
- name: PENPOT_SECRET_KEY
23+
value: super-secret-devenv-key
24+
- name: PENPOT_SMTP_ENABLED
25+
value: "false"
26+
- name: PENPOT_DATABASE_URI
27+
value: postgresql://penpot-backend-postgresql/penpot
28+
- name: PENPOT_REDIS_URI
29+
value: redis://penpot@penpot-backend-redis-master:6379/0?verifyPeer=NONE
30+
- name: PENPOT_TELEMETRY_ENABLED
31+
value: "true"
32+
- name: PENPOT_HTTP_SERVER_PORT
33+
value: "6060"
34+
- name: PENPOT_STORAGE_ASSETS_FS_DIRECTORY
35+
value: /opt/data/assets
36+
- name: PENPOT_ASSETS_STORAGE_BACKEND
37+
value: assets-fs
38+
- name: PENPOT_DATABASE_USERNAME
39+
value: penpot
40+
- name: PENPOT_DATABASE_PASSWORD
41+
value: penpot
42+
- name: PENPOT_EXPORTER_URI
43+
value: http://penpot-exporter-kuberoapp
44+
- name: PENPOT_BACKEND_URI
45+
value: http://penpot-backend-kuberoapp
46+
- name: PENPOT_PUBLIC_URI
47+
value: https://penpot-frontend.localhost/
48+
extraVolumes:
49+
- accessMode: ReadWriteOnce
50+
accessModes:
51+
- ReadWriteOnce
52+
emptyDir: false
53+
mountPath: /opt/data/assets
54+
name: penpot-volume
55+
size: 1Gi
56+
storageClass: standard
57+
cronjobs: []
58+
addons:
59+
- displayName: Postgresql
60+
env: []
61+
icon: /img/addons/pgsql.svg
62+
id: kubero-operator
63+
kind: KuberoPostgresql
64+
resourceDefinitions:
65+
KuberoPostgresql:
66+
apiVersion: application.kubero.dev/v1alpha1
67+
kind: KuberoPostgresql
68+
metadata:
69+
name: penpot-backend-postgresql
70+
spec:
71+
postgresql:
72+
global:
73+
postgresql:
74+
auth:
75+
database: penpot
76+
password: penpot
77+
postgresPassword: penpot
78+
username: penpot
79+
storageClass: standard
80+
primary:
81+
persistence:
82+
size: 1Gi
83+
version:
84+
latest: 0.1.5
85+
- displayName: Redis
86+
env: []
87+
icon: /img/addons/redis.svg
88+
id: kubero-operator
89+
kind: KuberoRedis
90+
resourceDefinitions:
91+
KuberoRedis:
92+
apiVersion: application.kubero.dev/v1alpha1
93+
kind: KuberoRedis
94+
metadata:
95+
name: penpot-backend-redis
96+
spec:
97+
redis:
98+
architecture: replication
99+
global:
100+
redis:
101+
password: penpot
102+
storageClass: standard
103+
master:
104+
persistence:
105+
size: 1Gi
106+
replica:
107+
persistence:
108+
size: 1Gi
109+
replicaCount: 1
110+
version:
111+
latest: 0.1.5
112+
web:
113+
replicaCount: 0
114+
worker:
115+
replicaCount: 1
116+
image:
117+
containerPort: 8080
118+
pullPolicy: Always
119+
repository: penpotapp/backend
120+
tag: latest

services/penpot-exporter/app.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apiVersion: application.kubero.dev/v1alpha1
2+
kind: KuberoApp
3+
metadata:
4+
name: penpot-exporter
5+
annotations:
6+
kubero.dev/template.architecture: '["linux/amd64", "linux/arm64"]'
7+
kubero.dev/template.description: "Penpot is a open-source design tool for design and code collaboration."
8+
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/30179644"
9+
kubero.dev/template.installation: "Make sure you have all three services running: penpot-backend, penpot-exporter, penpot-frontend"
10+
kubero.dev/template.links: '["https://community.penpot.app/"]'
11+
kubero.dev/template.screenshots: '["https://penpot.app/blog/content/images/size/w2000/2024/02/PenpotUI-flexlayout.png", "https://penpot.app/blog/content/images/size/w1000/2024/02/Penpot_workspace.png"]'
12+
kubero.dev/template.source: "https://github.com/penpot/penpot/"
13+
kubero.dev/template.categories: '["work","collaboration"]'
14+
kubero.dev/template.title: "Penpot (Exporter)"
15+
kubero.dev/template.website: "https://penpot.app/"
16+
labels:
17+
manager: kubero
18+
spec:
19+
name: penpot-exporter
20+
deploymentstrategy: docker
21+
envVars:
22+
- name: PENPOT_PUBLIC_URI
23+
value: penpot-frontend
24+
- name: PENPOT_REDIS_URI
25+
value: redis://penpot@penpot-backend-redis-master:6379/0?verifyPeer=NONE
26+
extraVolumes: []
27+
cronjobs: []
28+
addons: []
29+
web:
30+
replicaCount: 0
31+
worker:
32+
replicaCount: 1
33+
image:
34+
containerPort: 8080
35+
pullPolicy: Always
36+
repository: penpotapp/exporter
37+
tag: latest

services/penpot-frontend/app.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
apiVersion: application.kubero.dev/v1alpha1
2+
kind: KuberoApp
3+
metadata:
4+
name: penpot-frontend
5+
annotations:
6+
kubero.dev/template.architecture: '["linux/amd64", "linux/arm64"]'
7+
kubero.dev/template.description: "Penpot is a open-source design tool for design and code collaboration."
8+
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/30179644"
9+
kubero.dev/template.installation: "Make sure you have all three services running: penpot-backend, penpot-exporter, penpot-frontend"
10+
kubero.dev/template.links: '["https://community.penpot.app/"]'
11+
kubero.dev/template.screenshots: '["https://penpot.app/blog/content/images/size/w2000/2024/02/PenpotUI-flexlayout.png", "https://penpot.app/blog/content/images/size/w1000/2024/02/Penpot_workspace.png"]'
12+
kubero.dev/template.source: "https://github.com/penpot/penpot/"
13+
kubero.dev/template.categories: '["work","collaboration"]'
14+
kubero.dev/template.title: "Penpot (Frontend)"
15+
kubero.dev/template.website: "https://penpot.app/"
16+
labels:
17+
manager: kubero
18+
spec:
19+
name: penpot-frontend
20+
deploymentstrategy: docker
21+
envVars:
22+
- name: PENPOT_FLAGS
23+
value: enable-login-with-password enable-prepl-server
24+
disable-secure-session-cookies
25+
- name: PENPOT_BACKEND_URI
26+
value: http://penpot-backend-kuberoapp
27+
- name: PENPOT_EXPORTER_URI
28+
value: http://penpot-exporter-kuberoapp
29+
extraVolumes: []
30+
cronjobs: []
31+
addons: []
32+
web:
33+
replicaCount: 1
34+
worker:
35+
replicaCount: 0
36+
image:
37+
containerPort: "80"
38+
pullPolicy: Always
39+
repository: penpotapp/frontend
40+
tag: latest

0 commit comments

Comments
 (0)