Skip to content

feat(operator): support extraObjects#2133

Open
younsl wants to merge 3 commits intoopen-telemetry:mainfrom
younsl:feat/operator-extra-objects
Open

feat(operator): support extraObjects#2133
younsl wants to merge 3 commits intoopen-telemetry:mainfrom
younsl:feat/operator-extra-objects

Conversation

@younsl
Copy link
Copy Markdown

@younsl younsl commented Apr 1, 2026

Add extraObjects to the opentelemetry-operator chart, allowing users to deploy additional Kubernetes manifests alongside the operator in a single Helm release.

This is useful for managing custom resources such as Instrumentation or OpenTelemetryCollector directly within the operator chart, without requiring a separate release.

Consistent with the existing pattern in opentelemetry-kube-stack and opentelemetry-target-allocator charts.

Test results

With extraObjects values:

$ helm template test charts/opentelemetry-operator/ \
    --set 'extraObjects[0].apiVersion=v1' \
    --set 'extraObjects[0].kind=ConfigMap' \
    --set 'extraObjects[0].metadata.name=test-extra' \
    --set 'extraObjects[0].data.key=value'
...
kind: ConfigMap
metadata:
  name: test-extra
---

Default (empty extraObjects) renders without errors:

$ helm template test charts/opentelemetry-operator/
---
# Source: opentelemetry-operator/templates/serviceaccount.yaml
apiVersion: v1
...

younsl added 3 commits April 1, 2026 21:57
Allow deploying additional Kubernetes manifests (e.g. Instrumentation,
OpenTelemetryCollector) alongside the operator chart via extraObjects,
enabling custom resources to be managed in a single chart release.

Signed-off-by: younsl <cysl@kakao.com>
Signed-off-by: younsl <cysl@kakao.com>
Signed-off-by: younsl <cysl@kakao.com>
@younsl younsl requested review from a team, Allex1 and jvoravong as code owners April 1, 2026 13:06
@younsl younsl changed the title [operator] Add extraObjects with tpl support feat(operator): support extraObjects Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant