Skip to content

Commit 88c3fac

Browse files
committed
Deploy dependencies with individual manifests
1 parent 1abc2ae commit 88c3fac

File tree

7 files changed

+28
-35
lines changed

7 files changed

+28
-35
lines changed

.oktetoignore

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
.git
2-
.github
3-
.vscode
1+
// Ignore all other files and folders
2+
**
3+
4+
// Synch chart folders
5+
!api/chart
6+
!catalog/chart
7+
!frontend/chart
8+
!kafka
9+
!mongodb
10+
!postgresql
11+
!rent/chart
12+
!worker/chart
13+

.stignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

frontend/chart/templates/ingress.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,3 @@ spec:
1717
name: frontend
1818
port:
1919
number: 80
20-
- path: /admin
21-
pathType: Prefix
22-
backend:
23-
service:
24-
name: frontend
25-
port:
26-
number: 80

kafka/okteto.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
deploy:
2+
- name: Deploy Kafka
3+
command: helm upgrade --install kafka oci://registry-1.docker.io/bitnamicharts/kafka -f values.yml --version 26.8.3

mongodb/okteto.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
deploy:
2+
- name: Deploy MongoDB
3+
command: helm upgrade --install mongodb oci://registry-1.docker.io/bitnamicharts/mongodb -f values.yml --version 13.18.5

okteto.yml renamed to okteto.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,22 @@ icon: https://apps.okteto.com/movies/icon.png
33
build:
44
frontend:
55
context: frontend
6-
frontend-dev:
7-
context: frontend
8-
target: dev
96
catalog:
107
context: catalog
118
rent:
129
context: rent
1310
api:
1411
context: api
15-
api-dev:
16-
context: api
17-
target: dev
1812
worker:
1913
context: worker
20-
worker-dev:
21-
context: worker
22-
target: dev
2314

2415
deploy:
2516
- name: Deploy PostgreSQL
26-
command: helm upgrade --install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql -f postgresql/values.yml --version 13.4.4
17+
command: okteto deploy -f postgresql/okteto.yaml
2718
- name: Deploy Kafka
28-
command: helm upgrade --install kafka oci://registry-1.docker.io/bitnamicharts/kafka -f kafka/values.yml --version 26.8.3
19+
command: okteto deploy -f kafka/okteto.yaml
2920
- name: Deploy MongoDB
30-
command: helm upgrade --install mongodb oci://registry-1.docker.io/bitnamicharts/mongodb -f mongodb/values.yml --version 13.18.5
21+
command: okteto deploy -f mongodb/okteto.yaml
3122
- name: Deploy Frontend
3223
command: helm upgrade --install frontend frontend/chart --set image=${OKTETO_BUILD_FRONTEND_IMAGE}
3324
- name: Deploy Catalog
@@ -41,7 +32,7 @@ deploy:
4132

4233
dev:
4334
frontend:
44-
image: ${OKTETO_BUILD_FRONTEND_DEV_IMAGE}
35+
image: okteto/node:20
4536
command: bash
4637
sync:
4738
- frontend:/usr/src/app
@@ -60,7 +51,7 @@ dev:
6051
forward:
6152
- 5005:5005
6253
api:
63-
image: ${OKTETO_BUILD_API_DEV_IMAGE}
54+
image: okteto/golang:1.22
6455
command: bash
6556
securityContext:
6657
capabilities:
@@ -71,7 +62,7 @@ dev:
7162
forward:
7263
- 2346:2345
7364
worker:
74-
image: ${OKTETO_BUILD_WORKER_DEV_IMAGE}
65+
image: okteto/golang:1.22
7566
command: bash
7667
securityContext:
7768
capabilities:

postgresql/okteto.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
deploy:
2+
- name: Deploy PostgreSQL
3+
command: helm upgrade --install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql -f values.yml --version 13.4.4

0 commit comments

Comments
 (0)