Add JsonPropertyDescription on all CR fields (#11052)

This commit is contained in:
Andrea Peruffo 2022-04-08 10:55:43 +01:00 committed by GitHub
parent 7816e69e38
commit 3bfc6721b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" +