This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathokteto.yml
48 lines (41 loc) · 1.42 KB
/
okteto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: pdf-editor
# The build section defines how to build the images of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
# build:
# # You can use the following env vars to refer to this image in your deploy commands:
# # - OKTETO_BUILD_BACKEND_REGISTRY: image registry
# # - OKTETO_BUILD_BACKEND_REPOSITORY: image repo
# # - OKTETO_BUILD_BACKEND_IMAGE: image name
# # - OKTETO_BUILD_BACKEND_TAG: image tag
# backEnd:
# context: backEnd
# dockerfile: backEnd/Dockerfile
# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
deploy:
commands:
- name: Deploy
command: kubectl apply -f deploy/cluster/okteto
# The dependencies section defines other git repositories to be deployed as part of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#dependencies
# dependencies:
# - https://github.com/okteto/sample
# The dev section defines how to activate a development container
# More info: https://www.okteto.com/docs/reference/manifest/#dev
dev:
merge-pdf:
image: okteto/golang:1
command: bash
securityContext:
capabilities:
add:
- SYS_PTRACE
sync:
- .:/usr/src/app
forward:
- 2345:2345
- 8080:8080
autocreate: true
volumes:
- /go/pkg/
- /root/.cache/go-build/