Skip to content

[opentelemetry-operator] allow for overriding namespace in values file #1758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

CharlieTLe
Copy link
Contributor

@CharlieTLe CharlieTLe commented Jul 10, 2025

Fixes: #1755

@CharlieTLe CharlieTLe requested review from Allex1, jvoravong and a team as code owners July 10, 2025 21:24
@CharlieTLe CharlieTLe force-pushed the operator-namespaceOverride branch 5 times, most recently from 289ab7b to 847bfa9 Compare July 10, 2025 21:49
@CharlieTLe CharlieTLe force-pushed the operator-namespaceOverride branch from 847bfa9 to fc57f4b Compare July 10, 2025 22:19
@CharlieTLe
Copy link
Contributor Author

Hi @TylerHelmuth, could you help review?

{{- else -}}
{{- .Release.Namespace -}}
{{- end -}}
{{- end -}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Namespace names have a char size limit of 63 I've seen users hit before, I'd suggest truncating the value based on the limit with something like this.
{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}}

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.

[opentelemetry-operator] allow for overriding namespace in values file
2 participants