Skip to content
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

Improve validation for bruteForceDetection in realm #3

Open
pascal-sochacki opened this issue Dec 29, 2022 · 1 comment
Open

Improve validation for bruteForceDetection in realm #3

pascal-sochacki opened this issue Dec 29, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@pascal-sochacki
Copy link
Owner

In keycloak some options don't work together. For example i define bruteForceDetection on a realm and set PermanetLock to true but also set a value for "Wait increment". It would be nice if i get a validation error if a none valid combination is applied to the cluster

@pascal-sochacki pascal-sochacki added the enhancement New feature or request label Dec 29, 2022
@pascal-sochacki
Copy link
Owner Author

There is a way to define rules with some logic

// ClientParameters are the configurable fields of a Client.
// +kubebuilder:validation:XValidation:rule="!self.AuthorizationServicesEnabled || (self.AuthorizationServicesEnabled && self.ServiceAccountsEnabled)"
type ClientParameters struct {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant