Skip to content

Commit

Permalink
Merge pull request #361 from AgustinRamiroDiaz/update-okteto-yaml
Browse files Browse the repository at this point in the history
Upgrade okteto yaml manifest to v2
  • Loading branch information
faizanahmad055 committed Nov 30, 2022
2 parents 48b188d + cefd633 commit 694baf7
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 694baf7

Please sign in to comment.