-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathinstana-agent-image-prepuller.yaml
82 lines (82 loc) · 2.54 KB
/
instana-agent-image-prepuller.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: instana-agent-image-prepuller
spec:
selector:
matchLabels:
name: instana-agent-image-prepuller
template:
metadata:
labels:
name: instana-agent-image-prepuller
spec:
imagePullSecrets:
- name: containers-instana-io-pull-secret
containers:
- name: wait-container
image: icr.io/instana/instana-agent-operator:latest
command: ["/bin/sh", "-c", "echo 'All images pre-pulled successfully'; sleep 600"]
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
initContainers:
- name: pull-operator
image: icr.io/instana/instana-agent-operator:latest
command: ["/bin/sh", "-c", "echo 'Pulled operator image'"]
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
- name: pull-dynamic-agent
image: icr.io/instana/agent:latest
command: ["/bin/sh", "-c", "echo 'Pulled dynamic agent image'"]
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
- name: pull-k8sensor
image: icr.io/instana/k8sensor:latest
command: ["/ko-app/k8sensor", "--help"]
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
- name: pull-static-agent
image: containers.instana.io/instana/release/agent/static:latest
command: ["/bin/sh", "-c", "echo 'Pulled static agent image'"]
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault