Skip to content

Conversation

@AndrewChubatiuk
Copy link
Contributor

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 License field 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.

Signed-off-by: Andrii Chubatiuk <achubatiuk@victoriametrics.com>
@AndrewChubatiuk AndrewChubatiuk merged commit 2e39387 into master Jan 21, 2026
3 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the vlogs-license branch January 21, 2026 15:48
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.

2 participants