Skip to content

Commit

Permalink
Merge pull request #4605 from josetesan/patch-1
Browse files Browse the repository at this point in the history
Update CRD-generator.md
  • Loading branch information
andreaTP committed Nov 29, 2022
2 parents 55394f3 + 00f81e1 commit 2f9f7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/CRD-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ If a field or one of its accessors is annotated with `io.fabric8.generator.annot

```java
public class ExampleSpec {
@Min(1)
@Max(1)
int someValue;
}
```
Expand Down Expand Up @@ -217,7 +217,7 @@ The field will have the `pattern` property in the generated CRD, such as:
spec:
properties:
someValue:
maximum: "\\b[1-9]\\b"
pattern: "\\b[1-9]\\b"
type: string
required:
- someValue
Expand Down

0 comments on commit 2f9f7ad

Please sign in to comment.