Skip to content

Commit d95d806

Browse files
committed
fix compile issue
1 parent c95e06f commit d95d806

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

operator/src/main/java/it/aboutbits/postgresql/core/ResourceRef.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import io.fabric8.crdv2.generator.v1.SchemaCustomizer;
44
import io.fabric8.generator.annotation.Required;
55
import io.fabric8.generator.annotation.ValidationRule;
6+
import it.aboutbits.postgresql.core.schema_customizer.HostCustomizer;
7+
import it.aboutbits.postgresql.core.schema_customizer.KubernetesNameCustomizer;
68
import lombok.Getter;
79
import lombok.Setter;
810
import org.jspecify.annotations.NullMarked;
@@ -27,7 +29,7 @@
2729
@NullMarked
2830
@Getter
2931
@Setter
30-
@SchemaCustomizer(HostnameRFC1123Customizer.class)
32+
@SchemaCustomizer(KubernetesNameCustomizer.class)
3133
public class ResourceRef {
3234
/// The namespace of the referenced Kubernetes resource.
3335
/// If `null`, defaults to the namespace of the CR that defines this reference.

0 commit comments

Comments
 (0)