File tree Expand file tree Collapse file tree 3 files changed +11
-21
lines changed
Expand file tree Collapse file tree 3 files changed +11
-21
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,10 @@ spec:
5151 description : Spec defines the desired state of the AuthenticationFilter.
5252 properties :
5353 basic :
54- description : Basic configures HTTP Basic Authentication.
54+ description : BasicAuth configures HTTP Basic Authentication.
5555 properties :
5656 onFailure :
57- description : OnFailure customizes the 401 response for failed
58- authentication.
57+ description : AuthFailureResponse customizes 401/403 failures.
5958 properties :
6059 bodyPolicy :
6160 default : Unauthorized
@@ -88,14 +87,10 @@ spec:
8887 rule : self in [401, 403]
8988 type : object
9089 realm :
91- description : |-
92- Realm used by NGINX `auth_basic` directive.
93- https://nginx.org/en/docs/http/ngx_http_auth_basic_module.html#auth_basic
94- Also configures "realm="<realm_value>" in WWW-Authenticate header in error page location.
9590 type : string
9691 secretRef :
97- description : SecretRef allows referencing a Secret in the same
98- namespace
92+ description : LocalObjectReference specifies a local Kubernetes
93+ object.
9994 properties :
10095 name :
10196 type : string
@@ -107,7 +102,7 @@ spec:
107102 - secretRef
108103 type : object
109104 type :
110- description : Type selects the authentication mechanism.
105+ description : AuthType defines the authentication mechanism.
111106 enum :
112107 - Basic
113108 type : string
Original file line number Diff line number Diff line change @@ -50,11 +50,10 @@ spec:
5050 description: Spec defines the desired state of the AuthenticationFilter.
5151 properties:
5252 basic:
53- description: Basic configures HTTP Basic Authentication.
53+ description: BasicAuth configures HTTP Basic Authentication.
5454 properties:
5555 onFailure:
56- description: OnFailure customizes the 401 response for failed
57- authentication.
56+ description: AuthFailureResponse customizes 401/403 failures.
5857 properties:
5958 bodyPolicy:
6059 default: Unauthorized
@@ -87,14 +86,10 @@ spec:
8786 rule: self in [401, 403]
8887 type: object
8988 realm:
90- description: |-
91- Realm used by NGINX `auth_basic` directive.
92- https://nginx.org/en/docs/http/ngx_http_auth_basic_module.html#auth_basic
93- Also configures "realm="<realm_value>" in WWW-Authenticate header in error page location.
9489 type: string
9590 secretRef:
96- description: SecretRef allows referencing a Secret in the same
97- namespace
91+ description: LocalObjectReference specifies a local Kubernetes
92+ object.
9893 properties:
9994 name:
10095 type: string
@@ -106,7 +101,7 @@ spec:
106101 - secretRef
107102 type: object
108103 type:
109- description: Type selects the authentication mechanism.
104+ description: AuthType defines the authentication mechanism.
110105 enum:
111106 - Basic
112107 type: string
You can’t perform that action at this time.
0 commit comments