Skip to content

Commit ba138ea

Browse files
authored
Add base64 MC values validation (#85)
Signed-off-by: v.oleynikov <[email protected]>
1 parent e265107 commit ba138ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

openapi/config-values.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ properties:
1717
tlsParameters:
1818
type: object
1919
default: {}
20-
x-doc-d8editions: [se,se-plus,ee,fe]
20+
x-doc-d8editions: [se, se-plus, ee, fe]
2121
description: |
2222
**This feature is available in SE, SE+, EE, and FE.**
2323
@@ -26,6 +26,7 @@ properties:
2626
ca:
2727
type: string
2828
description: Root certificate in PEM format, encoded in Base64, which can be used to verify the NFS server certificate.
29+
pattern: "^[A-Za-z0-9+/]*={0,2}$"
2930
mtls:
3031
type: object
3132
default: {}
@@ -34,6 +35,8 @@ properties:
3435
clientCert:
3536
type: string
3637
description: Client certificate in PEM format, encoded in Base64.
38+
pattern: "^[A-Za-z0-9+/]*={0,2}$"
3739
clientKey:
3840
type: string
3941
description: Client key in PEM format, encoded in Base64.
42+
pattern: "^[A-Za-z0-9+/]*={0,2}$"

0 commit comments

Comments
 (0)