We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61dbc03 commit 4783af9Copy full SHA for 4783af9
pkg/kubeapiserver/options/authorization.go
@@ -85,6 +85,10 @@ func NewBuiltInAuthorizationOptions() *BuiltInAuthorizationOptions {
85
86
// Complete modifies authorization options
87
func (o *BuiltInAuthorizationOptions) Complete() []error {
88
+ if o == nil {
89
+ return nil
90
+ }
91
+
92
if len(o.AuthorizationConfigurationFile) == 0 && len(o.Modes) == 0 {
93
o.Modes = []string{authzmodes.ModeAlwaysAllow}
94
}
0 commit comments