-
Notifications
You must be signed in to change notification settings - Fork 144
/
skaffold.yaml
57 lines (57 loc) · 1.55 KB
/
skaffold.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
apiVersion: skaffold/v4beta5
kind: Config
metadata:
name: elastic-agent
build:
local:
push: false
useBuildkit: false
useDockerCLI: true
artifacts:
- image: docker.elastic.co/beats/elastic-agent
docker:
dockerfile: Dockerfile.skaffold
noCache: false
pullParent: false
squash: false
profiles:
- name: elastic-agent-standalone
manifests:
kustomize:
paths: ["deploy/skaffold"]
hooks:
before:
- host:
os: ["linux", "macos"]
command:
- cp
- deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
- deploy/skaffold/elastic-agent-kubernetes.yaml
- host:
os: ["windows"]
command:
- copy
- /Y
- deploy\kubernetes\elastic-agent-standalone-kubernetes.yaml
- deploy\skaffold\elastic-agent-kubernetes.yaml
- name: elastic-agent-managed
manifests:
kustomize:
paths: ["deploy/skaffold"]
hooks:
before:
- host:
os: ["linux", "macos"]
command:
- cp
- deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
- deploy/skaffold/elastic-agent-kubernetes.yaml
- host:
os: ["windows"]
command:
- copy
- /Y
- deploy\kubernetes\elastic-agent-managed-kubernetes.yaml
- deploy\skaffold\elastic-agent-kubernetes.yaml
deploy:
kubectl: {}