upgrade okteto yaml to v2

Signed-off-by: Agustin Ramiro Diaz <agustin.ramiro.diaz@gmail.com>
This commit is contained in:
Agustin Ramiro Diaz
2022-11-25 09:36:27 -03:00
parent 5662919f72
commit cefd633176

View File

@@ -1,14 +1,17 @@
name: reloader-reloader
image: okteto/golang:1
command: bash
securityContext:
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
volumes:
- /go/pkg/
- /root/.cache/go-build/
sync:
- .:/app
forward:
- 2345:2345