| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,7 +69,10 @@ spec: | |||
| 69 | 69 | type: string | |
| 70 | 70 | namespace: | |
| 71 | 71 | description: ow namespace assigned to the user | |
| 72 | - type: string | ||
| 72 | + type: string | ||
| 73 | + x-kubernetes-validations: | ||
| 74 | + - rule: "self.matches('^[a-z0-9]([-a-z0-9]*[a-z0-9])?$')" | ||
| 75 | + message: "Invalid namespace name" | ||
| 73 | 76 | auth: | |
| 74 | 77 | description: ow auth used to authenticate the user | |
| 75 | 78 | type: string | |
@@ -87,6 +90,9 @@ spec: | |||
| 87 | 90 | prefix: | |
| 88 | 91 | description: redis key prefixused to configure a user custom made ACL | |
| 89 | 92 | type: string | |
| 93 | + x-kubernetes-validations: | ||
| 94 | + - rule: "self.matches('^[a-z0-9]([-a-z0-9]*[a-z0-9])?$')" | ||
| 95 | + message: "Invalid redis username name" | ||
| 90 | 96 | password: | |
| 91 | 97 | description: user redis password | |
| 92 | 98 | type: string | |
| Back | FazBrowse Home | New Git URL |
0 commit comments