forked from ifbyol/test-external-resources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
okteto.yml
44 lines (39 loc) · 898 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
32
33
34
35
36
37
38
39
40
41
42
43
44
build:
hello-world:
image: okteto.dev/go-hello-world:1.0.0
context: .
deploy:
image: okteto/pipeline-runner:1.0.0
commands:
- name: "Deploy app"
command: kubectl apply -f k8s.yml
- name: "Script"
command: echo "Doing something fancy"
destroy:
image: okteto/pipeline-runner:1.0.0
commands:
- name: "Destroy something"
command: echo "Destroying something important..."
- name: "Destroy other thing"
command: echo "Destroying something else...."
external:
sqs:
icon: storage
endpoints:
- name: queue
url: https://fake-id.lambda-url.us-east-1.on.aws.aggregator
dev:
hello-world:
image: okteto/golang:1
command: bash
sync:
- .:/usr/src/app
volumes:
- /go
- /root/.cache
securityContext:
capabilities:
add:
- SYS_PTRACE
forward:
- 2345:2345