Skip to content

Commit d6f3c31

Browse files
authored
add shareProcessNamespace capability to v1alpha2 (#2541)
Signed-off-by: Benedikt Bongartz <[email protected]>
1 parent e2773be commit d6f3c31

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

apis/v1alpha2/common.go

+3
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ type OpenTelemetryCommonFields struct {
195195
// HostNetwork indicates if the pod should run in the host networking namespace.
196196
// +optional
197197
HostNetwork bool `json:"hostNetwork,omitempty"`
198+
// ShareProcessNamespace indicates if the pod's containers should share process namespace.
199+
// +optional
200+
ShareProcessNamespace bool `json:"shareProcessNamespace,omitempty"`
198201
// If specified, indicates the pod's priority.
199202
// If not specified, the pod priority will be default or zero if there is no
200203
// default.

docs/api.md

+9
Original file line numberDiff line numberDiff line change
@@ -9828,6 +9828,13 @@ OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector.
98289828
ServiceAccount indicates the name of an existing service account to use with this instance. When set, the operator will not automatically create a ServiceAccount for the collector.<br/>
98299829
</td>
98309830
<td>false</td>
9831+
</tr><tr>
9832+
<td><b>shareProcessNamespace</b></td>
9833+
<td>boolean</td>
9834+
<td>
9835+
ShareProcessNamespace indicates if the pod's containers should share process namespace.<br/>
9836+
</td>
9837+
<td>false</td>
98319838
</tr><tr>
98329839
<td><b><a href="#opentelemetrycollectorspectargetallocator">targetAllocator</a></b></td>
98339840
<td>object</td>
@@ -18566,6 +18573,8 @@ TargetAllocator indicates a value which determines whether to spawn a target all
1856618573
<td>string</td>
1856718574
<td>
1856818575
FilterStrategy determines how to filter targets before allocating them among the collectors. The only current option is relabel-config (drops targets based on prom relabel_config).<br/>
18576+
<br/>
18577+
<i>Default</i>: relabel-config<br/>
1856918578
</td>
1857018579
<td>false</td>
1857118580
</tr><tr>

0 commit comments

Comments
 (0)