logs: support license options for VLAgent, VLSingle and VLCluster#1722
Merged
AndrewChubatiuk merged 2 commits intomasterfrom Jan 21, 2026
Merged
logs: support license options for VLAgent, VLSingle and VLCluster#1722AndrewChubatiuk merged 2 commits intomasterfrom
AndrewChubatiuk merged 2 commits intomasterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds license support for VictoriaLogs components (VLAgent, VLSingle, and VLCluster) to enable enterprise features. The implementation follows the established pattern used for VictoriaMetrics components.
Changes:
- Added
Licensefield to VLAgentSpec, VLSingleSpec, and VLClusterSpec API types - Integrated license volume mounting and argument configuration in all VictoriaLogs component factories
- Updated defaults handling to pass license information for enterprise image tag selection
- Added comprehensive CRD and API documentation updates
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| api/operator/v1/vlagent_types.go | Added License field to VLAgentSpec |
| api/operator/v1/vlsingle_types.go | Added License field to VLSingleSpec |
| api/operator/v1/vlcluster_types.go | Added License field to VLClusterSpec |
| api/operator/v1/zz_generated.deepcopy.go | Auto-generated deepcopy methods for License field |
| internal/controller/operator/factory/vlagent/vlagent.go | Integrated license volume and args configuration for VLAgent |
| internal/controller/operator/factory/vlsingle/vlsingle.go | Integrated license volume and args configuration for VLSingle |
| internal/controller/operator/factory/vlcluster/vlinsert.go | Integrated license volume and args configuration for VLInsert |
| internal/controller/operator/factory/vlcluster/vlselect.go | Integrated license volume and args configuration for VLSelect |
| internal/controller/operator/factory/vlcluster/vlstorage.go | Integrated license volume and args configuration for VLStorage |
| internal/controller/operator/factory/vlcluster/vmauth_lb.go | Integrated license configuration for VLCluster load balancer; improved variable naming (vmounts→vmMounts) |
| internal/controller/operator/factory/build/defaults.go | Updated addDefaultsToCommonParams calls to pass license information for VL components |
| docs/api.md | Updated License type documentation to include VLAgent, VLCluster, and VLSingle specs |
| docs/CHANGELOG.md | Added FEATURE entry documenting license support for VL components |
| config/crd/overlay/crd.yaml | Added license field definitions to VLAgent, VLCluster, and VLSingle CRDs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
vrutkovs
approved these changes
Jan 21, 2026
Signed-off-by: Andrii Chubatiuk <achubatiuk@victoriametrics.com>
vrutkovs
added a commit
that referenced
this pull request
Mar 17, 2026
…, VMCluster and VLSingle settings test cases Add upgrade test cases for configurations that changed behavior since operator version 0.67.0. Adds modifier functions to verify that the operator doesn't forcibly roll out existing deployments when using: - `TargetRefs` within `UnauthorizedUserAccessSpec` (introduced in #1713) for VMAuth - `UseProxyProtocol` (introduced in #1686) for VMAuth, VMAlert, VMAlertmanager and VMCluster - `APIServerConfig`, `InsertPorts`, `IngestOnlyMode`, `StreamAggrConfig`, etc. for VMSingle (#1702) - `License` for VLSingle (#1722) - `IngestOnlyMode` for VMAgent (#1556)
vrutkovs
added a commit
that referenced
this pull request
Mar 18, 2026
…, VMCluster and VLSingle settings test cases Add upgrade test cases for configurations that changed behavior since operator version 0.67.0. Adds modifier functions to verify that the operator doesn't forcibly roll out existing deployments when using: - `TargetRefs` within `UnauthorizedUserAccessSpec` (introduced in #1713) for VMAuth - `UseProxyProtocol` (introduced in #1686) for VMAuth, VMAlert, VMAlertmanager and VMCluster - `APIServerConfig`, `InsertPorts`, `IngestOnlyMode`, `StreamAggrConfig`, etc. for VMSingle (#1702) - `License` for VLSingle (#1722) - `IngestOnlyMode` for VMAgent (#1556)
vrutkovs
added a commit
that referenced
this pull request
Mar 30, 2026
…, VMCluster and VLSingle settings test cases Add upgrade test cases for configurations that changed behavior since operator version 0.67.0. Adds modifier functions to verify that the operator doesn't forcibly roll out existing deployments when using: - `TargetRefs` within `UnauthorizedUserAccessSpec` (introduced in #1713) for VMAuth - `UseProxyProtocol` (introduced in #1686) for VMAuth, VMAlert, VMAlertmanager and VMCluster - `APIServerConfig`, `InsertPorts`, `IngestOnlyMode`, `StreamAggrConfig`, etc. for VMSingle (#1702) - `License` for VLSingle (#1722) - `IngestOnlyMode` for VMAgent (#1556)
vrutkovs
added a commit
that referenced
this pull request
Mar 30, 2026
…, VMCluster and VLSingle settings test cases Add upgrade test cases for configurations that changed behavior since operator version 0.67.0. Adds modifier functions to verify that the operator doesn't forcibly roll out existing deployments when using: - `TargetRefs` within `UnauthorizedUserAccessSpec` (introduced in #1713) for VMAuth - `UseProxyProtocol` (introduced in #1686) for VMAuth, VMAlert, VMAlertmanager and VMCluster - `APIServerConfig`, `InsertPorts`, `IngestOnlyMode`, `StreamAggrConfig`, etc. for VMSingle (#1702) - `License` for VLSingle (#1722) - `IngestOnlyMode` for VMAgent (#1556)
vrutkovs
added a commit
that referenced
this pull request
Mar 30, 2026
…, VMCluster and VLSingle settings test cases Add upgrade test cases for configurations that changed behavior since operator version 0.67.0. Adds modifier functions to verify that the operator doesn't forcibly roll out existing deployments when using: - `TargetRefs` within `UnauthorizedUserAccessSpec` (introduced in #1713) for VMAuth - `UseProxyProtocol` (introduced in #1686) for VMAuth, VMAlert, VMAlertmanager and VMCluster - `APIServerConfig`, `InsertPorts`, `IngestOnlyMode`, `StreamAggrConfig`, etc. for VMSingle (#1702) - `License` for VLSingle (#1722) - `IngestOnlyMode` for VMAgent (#1556)
vrutkovs
added a commit
that referenced
this pull request
Mar 31, 2026
…, VMCluster and VLSingle settings test cases Add upgrade test cases for configurations that changed behavior since operator version 0.67.0. Adds modifier functions to verify that the operator doesn't forcibly roll out existing deployments when using: - `TargetRefs` within `UnauthorizedUserAccessSpec` (introduced in #1713) for VMAuth - `UseProxyProtocol` (introduced in #1686) for VMAuth, VMAlert, VMAlertmanager and VMCluster - `APIServerConfig`, `InsertPorts`, `IngestOnlyMode`, `StreamAggrConfig`, etc. for VMSingle (#1702) - `License` for VLSingle (#1722) - `IngestOnlyMode` for VMAgent (#1556)
vrutkovs
added a commit
that referenced
this pull request
Apr 2, 2026
…, VMCluster and VLSingle settings test cases Add upgrade test cases for configurations that changed behavior since operator version 0.67.0. Adds modifier functions to verify that the operator doesn't forcibly roll out existing deployments when using: - `TargetRefs` within `UnauthorizedUserAccessSpec` (introduced in #1713) for VMAuth - `UseProxyProtocol` (introduced in #1686) for VMAuth, VMAlert, VMAlertmanager and VMCluster - `APIServerConfig`, `InsertPorts`, `IngestOnlyMode`, `StreamAggrConfig`, etc. for VMSingle (#1702) - `License` for VLSingle (#1722) - `IngestOnlyMode` for VMAgent (#1556)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
related issue VictoriaMetrics/helm-charts#2649