Skip to content

Commit

Permalink
fix: change type stripAuthorizationHeader to *bool
Browse files Browse the repository at this point in the history
Co-authored-by: lbenguigui <[email protected]>
  • Loading branch information
kevinpollet and lbenguigui authored Mar 4, 2024
1 parent 7cdce0a commit f028d2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/hub/v1alpha1/access_control_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type AccessControlPolicyJWT struct {
PublicKey string `json:"publicKey,omitempty"`
JWKsFile string `json:"jwksFile,omitempty"`
JWKsURL string `json:"jwksUrl,omitempty"`
StripAuthorizationHeader bool `json:"stripAuthorizationHeader,omitempty"`
StripAuthorizationHeader *bool `json:"stripAuthorizationHeader,omitempty"`
ForwardHeaders map[string]string `json:"forwardHeaders,omitempty"`
TokenQueryKey string `json:"tokenQueryKey,omitempty"`
Claims string `json:"claims,omitempty"`
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/hub/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f028d2e

Please sign in to comment.