From da30b4744bfef25632a3e6f27930ab00777b27a3 Mon Sep 17 00:00:00 2001 From: Pablo Chico de Guzman Date: Fri, 4 Sep 2020 11:26:59 +0200 Subject: [PATCH] Add okteto manifest to develop Reloader directly on Kubernetes --- .stignore | 3 +++ README.md | 5 +++++ okteto.yml | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 .stignore create mode 100644 okteto.yml diff --git a/.stignore b/.stignore new file mode 100644 index 0000000..5e00f45 --- /dev/null +++ b/.stignore @@ -0,0 +1,3 @@ +.git +Reloader +__debug_bin diff --git a/README.md b/README.md index 306f07b..a41c25f 100644 --- a/README.md +++ b/README.md @@ -243,6 +243,11 @@ Please use the [issue tracker](https://github.com/stakater/Reloader/issues) to r ### Developing +1. Deploy Reloader. +2. Run `okteto up` to activate your development container. +3. `make build`. +4. `./Reloader` + PRs are welcome. In general, we follow the "fork-and-pull" Git workflow. 1. **Fork** the repo on GitHub diff --git a/okteto.yml b/okteto.yml new file mode 100644 index 0000000..75668c6 --- /dev/null +++ b/okteto.yml @@ -0,0 +1,14 @@ +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