Skip to content

add useLegacyNaming flag to switch between legacy (current chart naming) and operator naming#3030

Open
AndrewChubatiuk wants to merge 1 commit into
masterfrom
add-useLegacyNaming
Open

add useLegacyNaming flag to switch between legacy (current chart naming) and operator naming#3030
AndrewChubatiuk wants to merge 1 commit into
masterfrom
add-useLegacyNaming

Conversation

@AndrewChubatiuk

@AndrewChubatiuk AndrewChubatiuk commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

added useLegacyNaming flag (default: true), which allows to define naming convention for plain k8s resources, that are managed by helm charts that do not contain operator. It allows for new users to have resources with naming convention, which is compatible with operator (useLegacyNaming: false)

@github-actions github-actions Bot added k8s-stack k8s-stack helm chart related issue agent vmagent helm chart related issue alert vmalert helm chart related issue auth vmauth helm chart related issue cluster vmcluster helm chart related issue operator operator helm chart related issue single VictoriaMetrics Single node helm chart related issue anomaly vmanomaly logs metrics gateway traces collector labels Jun 24, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 72 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread charts/victoria-logs-agent/values.yaml Outdated
@AndrewChubatiuk AndrewChubatiuk changed the title add useLegacyNaming flag to switch between current chart and operator naming add useLegacyNaming flag to switch between legacy (current chart naming) and operator naming Jun 24, 2026
@vrutkovs

Copy link
Copy Markdown
Contributor

"vm.plain.fullname" seems to conflict with fullnameOverride with useLegacyNaming=false? We also have vm.fullname and vm.managed.fullname - do we need to update those too?

@AndrewChubatiuk

AndrewChubatiuk commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator Author

"vm.plain.fullname" seems to conflict with fullnameOverride with useLegacyNaming=false? We also have vm.fullname and vm.managed.fullname - do we need to update those too?

good point! updated vm.plain.fullname and vm.managed.fullname, for vm.fullname it's not needed

@vrutkovs

Copy link
Copy Markdown
Contributor

We still use vm.fullname in vlagent and vmanomaly charts - and these won't be affected by useLegacyNaming at all

@AndrewChubatiuk

Copy link
Copy Markdown
Collaborator Author

We still use vm.fullname in vlagent and vmanomaly charts - and these won't be affected by useLegacyNaming at all

now i'm thinking about keeping this useLegacyNaming for single and cluster instances only and migrate the rest to new convention

@vrutkovs

Copy link
Copy Markdown
Contributor

Wouldn't that affect service names too, so users would have to reconfigure vmagent addresses? Perhaps we should take objects one by one and carefully check that upgrade passes as expected

@AndrewChubatiuk

Copy link
Copy Markdown
Collaborator Author

agree, probably also makes sense to add respective CR into each plain chart, it should cover one of existing issues

@github-actions github-actions Bot added the crds label Jul 2, 2026
func25 added a commit to VictoriaMetrics/VictoriaLogs that referenced this pull request Jul 6, 2026
Updates the cluster dashboard selection logic to handle both legacy
Helm-style `job` names and operator-style `job` names. See
VictoriaMetrics/helm-charts#3030
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent vmagent helm chart related issue alert vmalert helm chart related issue anomaly vmanomaly auth vmauth helm chart related issue cluster vmcluster helm chart related issue collector common crds gateway k8s-stack k8s-stack helm chart related issue logs metrics operator operator helm chart related issue single VictoriaMetrics Single node helm chart related issue traces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants