Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apis/v1alpha1/instrumentation_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ type InstrumentationSpec struct {
// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
// +optional
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`

// ImagePullSecrets represents the secrets to use for pulling the container images for instrumentation.
// +optional
// +listType=atomic
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

// Resource defines the configuration for the resource attributes, as defined by the OpenTelemetry specification.
Expand Down
5 changes: 5 additions & 0 deletions apis/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions apis/v1beta1/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ type OpenTelemetryCommonFields struct {
// ImagePullPolicy indicates the pull policy to be used for retrieving the container image.
// +optional
ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty"`
// ImagePullSecrets represents the secrets to use for pulling the container image.
// +optional
// +listType=atomic
ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
// VolumeMounts represents the mount points to use in the underlying deployment(s).
// +optional
// +listType=atomic
Expand Down
5 changes: 5 additions & 0 deletions apis/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metadata:
categories: Logging & Tracing,Monitoring
certified: "false"
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
createdAt: "2025-11-04T20:46:50Z"
createdAt: "2025-11-17T04:18:15Z"
description: Provides the OpenTelemetry components, including the Collector
operators.operatorframework.io/builder: operator-sdk-v1.29.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,16 @@ spec:
type: object
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
java:
properties:
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6077,6 +6077,16 @@ spec:
type: string
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
ingress:
properties:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,16 @@ spec:
type: string
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
initContainers:
items:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metadata:
categories: Logging & Tracing,Monitoring
certified: "false"
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
createdAt: "2025-11-04T20:46:50Z"
createdAt: "2025-11-17T04:18:16Z"
description: Provides the OpenTelemetry components, including the Collector
operators.operatorframework.io/builder: operator-sdk-v1.29.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,16 @@ spec:
type: object
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
java:
properties:
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6076,6 +6076,16 @@ spec:
type: string
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
ingress:
properties:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,16 @@ spec:
type: string
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
initContainers:
items:
properties:
Expand Down
10 changes: 10 additions & 0 deletions config/crd/bases/opentelemetry.io_instrumentations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,16 @@ spec:
type: object
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
java:
properties:
env:
Expand Down
10 changes: 10 additions & 0 deletions config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6063,6 +6063,16 @@ spec:
type: string
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
ingress:
properties:
annotations:
Expand Down
10 changes: 10 additions & 0 deletions config/crd/bases/opentelemetry.io_targetallocators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,16 @@ spec:
type: string
imagePullPolicy:
type: string
imagePullSecrets:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
type: array
x-kubernetes-list-type: atomic
initContainers:
items:
properties:
Expand Down
13 changes: 13 additions & 0 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
resources:
- manager.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
newTag: 1.0-79-gc3373fca
patches:
- patch: '[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--target-allocator-image=ghcr.io/open-telemetry/opentelemetry-operator/target-allocator:v1.0-79-gc3373fca"}]'
target:
kind: Deployment
- patch: '[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--operator-opamp-bridge-image=ghcr.io/open-telemetry/opentelemetry-operator/operator-opamp-bridge:v1.0-79-gc3373fca"}]'
target:
kind: Deployment
41 changes: 41 additions & 0 deletions docs/api/instrumentations.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ One of Always, Never, IfNotPresent.
Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#instrumentationspecimagepullsecretsindex">imagePullSecrets</a></b></td>
<td>[]object</td>
<td>
ImagePullSecrets represents the secrets to use for pulling the container images for instrumentation.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#instrumentationspecjava">java</a></b></td>
<td>object</td>
Expand Down Expand Up @@ -3541,6 +3548,40 @@ validation.
</table>


### Instrumentation.spec.imagePullSecrets[index]
<sup><sup>[↩ Parent](#instrumentationspec)</sup></sup>



LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.

<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b>name</b></td>
<td>string</td>
<td>
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names<br/>
<br/>
<i>Default</i>: <br/>
</td>
<td>false</td>
</tr></tbody>
</table>


### Instrumentation.spec.java
<sup><sup>[↩ Parent](#instrumentationspec)</sup></sup>

Expand Down
41 changes: 41 additions & 0 deletions docs/api/opentelemetrycollectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -19573,6 +19573,13 @@ This is only applicable to Deployment mode.<br/>
ImagePullPolicy indicates the pull policy to be used for retrieving the container image.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#opentelemetrycollectorspecimagepullsecretsindex">imagePullSecrets</a></b></td>
<td>[]object</td>
<td>
ImagePullSecrets represents the secrets to use for pulling the container image.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#opentelemetrycollectorspecingress-1">ingress</a></b></td>
<td>object</td>
Expand Down Expand Up @@ -25728,6 +25735,40 @@ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/nam
</table>


### OpenTelemetryCollector.spec.imagePullSecrets[index]
<sup><sup>[↩ Parent](#opentelemetrycollectorspec-1)</sup></sup>



LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.

<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b>name</b></td>
<td>string</td>
<td>
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names<br/>
<br/>
<i>Default</i>: <br/>
</td>
<td>false</td>
</tr></tbody>
</table>


### OpenTelemetryCollector.spec.ingress
<sup><sup>[↩ Parent](#opentelemetrycollectorspec-1)</sup></sup>

Expand Down
41 changes: 41 additions & 0 deletions docs/api/targetallocators.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ For more info, see https://prometheus.io/docs/prometheus/latest/configuration/co
ImagePullPolicy indicates the pull policy to be used for retrieving the container image.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#targetallocatorspecimagepullsecretsindex">imagePullSecrets</a></b></td>
<td>[]object</td>
<td>
ImagePullSecrets represents the secrets to use for pulling the container image.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#targetallocatorspecinitcontainersindex">initContainers</a></b></td>
<td>[]object</td>
Expand Down Expand Up @@ -5348,6 +5355,40 @@ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/nam
</table>


### TargetAllocator.spec.imagePullSecrets[index]
<sup><sup>[↩ Parent](#targetallocatorspec)</sup></sup>



LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.

<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b>name</b></td>
<td>string</td>
<td>
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names<br/>
<br/>
<i>Default</i>: <br/>
</td>
<td>false</td>
</tr></tbody>
</table>


### TargetAllocator.spec.initContainers[index]
<sup><sup>[↩ Parent](#targetallocatorspec)</sup></sup>

Expand Down
Loading