Skip to content

Commit

Permalink
fix: Remove validation rules for URL properties in crd
Browse files Browse the repository at this point in the history
  • Loading branch information
murillio4 committed Oct 21, 2024
1 parent 7a54a2f commit 1c2df68
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/kotlin/no/fintlabs/operator/api/v1alpha1/Url.kt
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
package no.fintlabs.operator.api.v1alpha1

import io.fabric8.generator.annotation.ValidationRule

data class Url(
@Deprecated("Not used in future versions")
@ValidationRule(
"self.matches('^[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?(\\\\.[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?)*\$')",
message = "Invalid hostname"
)
val hostname: String? = null,

@Deprecated("Not used in future versions")
@ValidationRule(
"self.matches('^/[A-Za-z0-9/_-]*$')",
message = "Invalid path"
)
val basePath: String? = null,
)

0 comments on commit 1c2df68

Please sign in to comment.