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.
2 parents 5f0b2a8 + 4783af9 commit fd44b5bCopy full SHA for fd44b5b
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