Add JsonPropertyDescription on all CR fields (#11052)
This commit is contained in:
parent
7816e69e38
commit
3bfc6721b3
1 changed files with 5 additions and 1 deletions
|
@ -27,9 +27,13 @@ import java.util.List;
|
||||||
|
|
||||||
public class KeycloakSpec {
|
public class KeycloakSpec {
|
||||||
|
|
||||||
|
@JsonPropertyDescription("Number of Keycloak instances in HA mode. Default is 1.")
|
||||||
private int instances = 1;
|
private int instances = 1;
|
||||||
|
@JsonPropertyDescription("Custom Keycloak image to be used.")
|
||||||
private String image;
|
private String image;
|
||||||
private List<ValueOrSecret> serverConfiguration; // can't use Set due to a bug in Sundrio
|
@JsonPropertyDescription("Configuration of the Keycloak server.\n" +
|
||||||
|
"expressed as a keys (reference: https://www.keycloak.org/server/all-config) and values that can be either direct values or references to secrets.")
|
||||||
|
private List<ValueOrSecret> serverConfiguration; // can't use Set due to a bug in Sundrio https://github.com/sundrio/sundrio/issues/316
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@JsonPropertyDescription("Hostname for the Keycloak server.\n" +
|
@JsonPropertyDescription("Hostname for the Keycloak server.\n" +
|
||||||
|
|
Loading…
Reference in a new issue