Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start k3s with authorization-config apiserver flag set #12017

Open
brandond opened this issue Mar 26, 2025 · 0 comments
Open

Cannot start k3s with authorization-config apiserver flag set #12017

brandond opened this issue Mar 26, 2025 · 0 comments
Assignees

Comments

@brandond
Copy link
Member

brandond commented Mar 26, 2025

Environmental Info:
K3s Version:
v1.32.x

Node(s) CPU architecture, OS, and Version:
n/a

Cluster Configuration:
n/a

Describe the bug:
Cannot set --authorization-config apiserver arg due to hardcoded --authorization-mode flag

Steps To Reproduce:

  1. Start k3s with --kube-apiserver-arg=authorization-config=/path/to/config
  2. Note that apiserver exits with error as authorization-mode and authorization-config flag cannot both be set, and authorization-mode flag cannot be removed from default args.

Expected behavior:
No conflicting flags

Actual behavior:
conflicting flags:

ERRO[0000] apiserver exited: --authorization-config can not be specified when --authorization-mode or --authorization-webhook-* flags are defined

Additional context / logs:

  • Internal ref: SURE-9991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Peer Review
Development

No branches or pull requests

1 participant