-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathskaffold.yaml
65 lines (65 loc) · 1.89 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
58
59
60
61
62
63
64
65
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: datadog-agent
build:
platforms: [ "linux/arm64" ]
tagPolicy:
gitCommit: {
variant: "AbbrevCommitSha"
}
local:
push: false
concurrency: 0
deploy:
helm:
releases:
- name: datadog-agent
remoteChart: datadog/datadog
version: 3.88.1
setValueTemplates:
datadog:
apiKey: "{{cmd \"bash\" \"-c\" \"echo $DD_API_KEY\"}}"
appKey: "{{cmd \"bash\" \"-c\" \"echo $DD_APP_KEY\"}}"
kubelet:
tlsVerify: false
agents.image:
repository: "{{.IMAGE_REPO_agent}}"
tag: "{{.IMAGE_TAG_agent}}@{{.IMAGE_DIGEST_agent}}"
doNotCheckTag: true
clusterAgent:
image:
repository: "{{.IMAGE_REPO_clusteragent}}"
tag: "{{.IMAGE_TAG_clusteragent}}"
doNotCheckTag: true
clusterCheckRunner.image:
repository: "{{.IMAGE_REPO_agent}}"
tag: "{{.IMAGE_TAG_agent}}"
doNotCheckTag: true
profiles:
- name: kind
activation:
- kubeContext: kind
command: dev
build:
artifacts:
- image: agent
custom:
buildCommand: "inv agent.hacky-dev-image-build --target-image=$IMAGE"
- image: clusteragent
custom:
buildCommand: "inv cluster-agent.hacky-dev-image-build --target-image=$IMAGE"
- name: minikube
activation:
- kubeContext: minikube
command: dev
build:
artifacts:
- image: agent
custom:
buildCommand: "docker exec datadog_agent_devcontainer bash -c \"
inv agent.hacky-dev-image-build --target-image=$IMAGE\""
- image: clusteragent
custom:
buildCommand: "docker exec datadog_agent_devcontainer bash -c \"
inv cluster-agent.hacky-dev-image-build --target-image=$IMAGE\""