File tree Expand file tree Collapse file tree
operator/src/main/java/it/aboutbits/postgresql/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package it .aboutbits .postgresql .core ;
22
33import io .fabric8 .crdv2 .generator .v1 .SchemaCustomizer ;
4+ import io .fabric8 .generator .annotation .Max ;
45import io .fabric8 .generator .annotation .Required ;
56import io .fabric8 .generator .annotation .ValidationRule ;
67import it .aboutbits .postgresql .core .schema_customizer .KubernetesNameCustomizer ;
@@ -33,10 +34,12 @@ public class ResourceRef {
3334 /// The namespace of the referenced Kubernetes resource.
3435 /// If `null`, defaults to the namespace of the CR that defines this reference.
3536 @ Nullable
37+ @ Max (63 )
3638 @ io .fabric8 .generator .annotation .Nullable
3739 private String namespace ;
3840
3941 @ Required
42+ @ Max (63 )
4043 @ ValidationRule (
4144 value = "self.trim().size() > 0" ,
4245 message = "The name must not be empty."
You can’t perform that action at this time.
0 commit comments