From 3bfc6721b343ec446b2c64cacef79c026052e432 Mon Sep 17 00:00:00 2001 From: Andrea Peruffo Date: Fri, 8 Apr 2022 10:55:43 +0100 Subject: [PATCH] Add JsonPropertyDescription on all CR fields (#11052) --- .../org/keycloak/operator/v2alpha1/crds/KeycloakSpec.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/operator/src/main/java/org/keycloak/operator/v2alpha1/crds/KeycloakSpec.java b/operator/src/main/java/org/keycloak/operator/v2alpha1/crds/KeycloakSpec.java index d41763f615..1bb3bc500a 100644 --- a/operator/src/main/java/org/keycloak/operator/v2alpha1/crds/KeycloakSpec.java +++ b/operator/src/main/java/org/keycloak/operator/v2alpha1/crds/KeycloakSpec.java @@ -27,9 +27,13 @@ import java.util.List; public class KeycloakSpec { + @JsonPropertyDescription("Number of Keycloak instances in HA mode. Default is 1.") private int instances = 1; + @JsonPropertyDescription("Custom Keycloak image to be used.") private String image; - private List 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 serverConfiguration; // can't use Set due to a bug in Sundrio https://github.com/sundrio/sundrio/issues/316 @NotNull @JsonPropertyDescription("Hostname for the Keycloak server.\n" +