@@ -79,6 +79,12 @@ type InstrumentationSpec struct {
79
79
// Nginx defines configuration for Nginx auto-instrumentation.
80
80
// +optional
81
81
Nginx Nginx `json:"nginx,omitempty"`
82
+
83
+ // ImagePullPolicy
84
+ // One of Always, Never, IfNotPresent.
85
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
86
+ // +optional
87
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
82
88
}
83
89
84
90
// Resource defines the configuration for the resource attributes, as defined by the OpenTelemetry specification.
@@ -183,6 +189,12 @@ type Java struct {
183
189
// All extensions are copied to a single directory; if a JAR with the same name exists, it will be overwritten.
184
190
// +optional
185
191
Extensions []Extensions `json:"extensions,omitempty"`
192
+
193
+ // ImagePullPolicy
194
+ // One of Always, Never, IfNotPresent.
195
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
196
+ // +optional
197
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
186
198
}
187
199
188
200
type Extensions struct {
@@ -216,6 +228,12 @@ type NodeJS struct {
216
228
// Resources describes the compute resource requirements.
217
229
// +optional
218
230
Resources corev1.ResourceRequirements `json:"resourceRequirements,omitempty"`
231
+
232
+ // ImagePullPolicy
233
+ // One of Always, Never, IfNotPresent.
234
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
235
+ // +optional
236
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
219
237
}
220
238
221
239
// Python defines Python SDK and instrumentation configuration.
@@ -241,6 +259,12 @@ type Python struct {
241
259
// Resources describes the compute resource requirements.
242
260
// +optional
243
261
Resources corev1.ResourceRequirements `json:"resourceRequirements,omitempty"`
262
+
263
+ // ImagePullPolicy
264
+ // One of Always, Never, IfNotPresent.
265
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
266
+ // +optional
267
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
244
268
}
245
269
246
270
// DotNet defines DotNet SDK and instrumentation configuration.
@@ -265,6 +289,12 @@ type DotNet struct {
265
289
// Resources describes the compute resource requirements.
266
290
// +optional
267
291
Resources corev1.ResourceRequirements `json:"resourceRequirements,omitempty"`
292
+
293
+ // ImagePullPolicy
294
+ // One of Always, Never, IfNotPresent.
295
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
296
+ // +optional
297
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
268
298
}
269
299
270
300
type Go struct {
@@ -289,6 +319,12 @@ type Go struct {
289
319
// Resources describes the compute resource requirements.
290
320
// +optional
291
321
Resources corev1.ResourceRequirements `json:"resourceRequirements,omitempty"`
322
+
323
+ // ImagePullPolicy
324
+ // One of Always, Never, IfNotPresent.
325
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
326
+ // +optional
327
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
292
328
}
293
329
294
330
// ApacheHttpd defines Apache SDK and instrumentation configuration.
@@ -329,6 +365,12 @@ type ApacheHttpd struct {
329
365
// Resources describes the compute resource requirements.
330
366
// +optional
331
367
Resources corev1.ResourceRequirements `json:"resourceRequirements,omitempty"`
368
+
369
+ // ImagePullPolicy
370
+ // One of Always, Never, IfNotPresent.
371
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
372
+ // +optional
373
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
332
374
}
333
375
334
376
// Nginx defines Nginx SDK and instrumentation configuration.
@@ -365,6 +407,12 @@ type Nginx struct {
365
407
// Resources describes the compute resource requirements.
366
408
// +optional
367
409
Resources corev1.ResourceRequirements `json:"resourceRequirements,omitempty"`
410
+
411
+ // ImagePullPolicy
412
+ // One of Always, Never, IfNotPresent.
413
+ // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
414
+ // +optional
415
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
368
416
}
369
417
370
418
// InstrumentationStatus defines status of the instrumentation.
0 commit comments