Skip to content

Commit cf1405f

Browse files
committed
feat: templates
1 parent 5c63be2 commit cf1405f

5 files changed

Lines changed: 50 additions & 5 deletions

File tree

templates/backend/values.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
config:
22
namespace: eyetap
33
clusterName: cluster
4+
cors: ''
5+
secrets:
6+
jwt: ''
7+
debug: ''
48
db:
59
# The URL to connect to. Should be of form <host>:<port>/<db>
610
# For containers in the same namespace, you can omit the full URL (default),
@@ -23,8 +27,3 @@ app:
2327
# The name for the container
2428
name: eyetap-backend
2529
port: 8080
26-
27-
# Enable or disable ingress and set the URL
28-
ingress:
29-
enabled: true
30-
url: null

templates/frontend/values.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
config:
2+
namespace: eyetap
3+
4+
app:
5+
image:
6+
repository: ghcr.io/eye-tap/frontend
7+
tag: latest
8+
pullPolicy: Always
9+
10+
name: eyetap-frontend
11+
port: 8080
12+
13+
resources:
14+
requests:
15+
cpu: null
16+
memory: null
17+
limits:
18+
cpu: null
19+
memory: null

templates/github-actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
--atomic
5252
-f "./frontend/values.yaml"
5353
--timeout "${HELM_TIMEOUT}"
54+
--set config.namespace="${K8S_NAMESPACE}"
5455
- name: Publish to GitHub Container Registry
5556
run: |
5657
helm upgrade

templates/gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ deploy-frontend:
6666
--atomic
6767
-f "./frontend/values.yaml"
6868
--timeout "${HELM_TIMEOUT}"
69+
--set config.namespace="${K8S_NAMESPACE}"
6970
7071
# Backend
7172
deploy-backend:

templates/postgres/values.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
config:
2+
namespace: eyetap
3+
clusterName: cluster
4+
db:
5+
username: eyetap
6+
db: eyetap
7+
password: eyetap
8+
9+
app:
10+
image:
11+
repository: postgres
12+
tag: 18
13+
pullPolicy: Always
14+
15+
restartPolicy: OnFailure
16+
port: 5432
17+
name: eyetap-postgres
18+
19+
# Set the storage class of the PVC below
20+
pvcs:
21+
- accessMode: ReadWriteOnce
22+
name: default
23+
storage: 1Gi
24+
storageClassName: null
25+
existingClaim: false

0 commit comments

Comments
 (0)