Skip to content

Commit

Permalink
upgrade okteto yaml to v2
Browse files Browse the repository at this point in the history
Signed-off-by: Agustin Ramiro Diaz <agustin.ramiro.diaz@gmail.com>
  • Loading branch information
AgustinRamiroDiaz committed Nov 25, 2022
1 parent 5662919 commit cefd633
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions okteto.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: reloader-reloader
image: okteto/golang:1
command: bash
securityContext:
capabilities:
add:
- SYS_PTRACE
volumes:
- /go/pkg/
- /root/.cache/go-build/
sync:
- .:/app
forward:
- 2345:2345
dev:
reloader-reloader:
image: okteto/golang:1
command: bash
volumes:
- /go/pkg/
- /root/.cache/go-build/
sync:
- .:/app
forward:
- 2345:2345
workdir: /app
autocreate: true
securityContext:
capabilities:
add:
- SYS_PTRACE

0 comments on commit cefd633

Please sign in to comment.