Skip to content

Commit c466df5

Browse files
authored
mistake in syntax
I have error without it: ```The authpolicy "authexample" is invalid: spec.authentication_policies.resource: Required value```
1 parent b9b629a commit c466df5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/crds/auth.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,10 @@ spec:
671671
672672
authentication_policies:
673673
# Perform LDAP authentication for the host hotdrink.beverages.com
674-
- expression: 'HTTP.REQ.HOSTNAME.SET_TEXT_MODE(IGNORECASE).EQ("hotdrink.beverages.com")'
674+
- resource:
675+
path: []
676+
method: []
677+
expression: 'HTTP.REQ.HOSTNAME.SET_TEXT_MODE(IGNORECASE).EQ("hotdrink.beverages.com")'
675678
provider: ["ldap-auth-provider"]
676679
677680

0 commit comments

Comments
 (0)