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,9 +34,11 @@ 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 @ io .fabric8 .generator .annotation .Nullable
37+ @ Max (63 )
3638 private @ Nullable String namespace ;
3739
3840 @ Required
41+ @ Max (63 )
3942 @ ValidationRule (
4043 value = "self.trim().size() > 0" ,
4144 message = "The name must not be empty."
You can’t perform that action at this time.
0 commit comments