Skip to content

feat: allow creating vmdistributed without vmauth set#1897

Merged
AndrewChubatiuk merged 2 commits intomasterfrom
vmdistributed-novmauth
Feb 27, 2026
Merged

feat: allow creating vmdistributed without vmauth set#1897
AndrewChubatiuk merged 2 commits intomasterfrom
vmdistributed-novmauth

Conversation

@vrutkovs
Copy link
Collaborator

Users should be able to provide their own LB instead of VMAuth (taking care of proper switching themselves), so VMAuth should be optional for VMDistributed

Fixes #1826

Copy link
Contributor

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

Choose a reason for hiding this comment

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

No issues found across 8 files

// Use an inline spec to define a VMAuth object in-place or provide a name to reference an existing VMAuth.
VMAuth VMDistributedAuth `json:"vmauth,omitempty"`
// +optional
VMAuth *VMDistributedAuth `json:"vmauth,omitempty"`
Copy link
Contributor

@AndrewChubatiuk AndrewChubatiuk Feb 27, 2026

Choose a reason for hiding this comment

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

let's add Disabled toggle into VMDistributedAuth struct instead. in a version in master omitted VMAuth section means it should get it's name from CR Name

Users should be able to provide their own LB instead of VMAuth (taking care of proper switching
themselves), so VMAuth should be optional for VMDistributed
@vrutkovs vrutkovs force-pushed the vmdistributed-novmauth branch from d1d3744 to e0fce5b Compare February 27, 2026 13:25
Copy link
Contributor

@AndrewChubatiuk AndrewChubatiuk left a comment

Choose a reason for hiding this comment

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

LGTM! Only changelog entry is needed

@AndrewChubatiuk AndrewChubatiuk merged commit 75aeb14 into master Feb 27, 2026
6 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the vmdistributed-novmauth branch February 27, 2026 17:04
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.

VMDistributed: allow configurations without vmauth

2 participants