Environmental Info:
K3s Version: n/a
Node(s) CPU architecture, OS, and Version:
n/a
Cluster Configuration:
n/a
Describe the bug:
Follow up to
With the change from #12018 we can now set --authentication-config, however if the authentication config file contains an anonymous field the apiserver will exit with an error, as anonymous auth cannot be configured when the --anonymous-auth CLI flag is set.
Steps To Reproduce:
See RKE2 issue:
Expected behavior:
Can configure anonymous auth via config file
Actual behavior:
Cannot configure anonymous auth via config file
Additional context / logs:
Should probably make the flag conditional on authentication-config not being set, same as authorization-mode.
Environmental Info:
K3s Version: n/a
Node(s) CPU architecture, OS, and Version:
n/a
Cluster Configuration:
n/a
Describe the bug:
Follow up to
With the change from #12018 we can now set
--authentication-config, however if the authentication config file contains ananonymousfield the apiserver will exit with an error, as anonymous auth cannot be configured when the --anonymous-auth CLI flag is set.Steps To Reproduce:
See RKE2 issue:
Expected behavior:
Can configure anonymous auth via config file
Actual behavior:
Cannot configure anonymous auth via config file
Additional context / logs:
Should probably make the flag conditional on authentication-config not being set, same as authorization-mode.