-
-
Notifications
You must be signed in to change notification settings - Fork 379
/
okteto.yml
31 lines (28 loc) · 1011 Bytes
/
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
name: okteto
# The build section defines how to build the images of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
# build:
# my-service:
# context: .
# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
deploy:
- for f in k8s/*.yml; do envsubst < $f | kubectl apply -f -; done
dev:
# 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:
# sample:
# image: okteto/dev:latest
# command: bash
# workdir: /usr/src/app
# sync:
# - .:/usr/src/app
# environment:
# - name=$USER
# forward:
# - 8080:80