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

Hardcode --authentication-skip-lookup=true to short-circuit ConfigMap auth #98

Merged
merged 3 commits into from
Aug 4, 2021

Conversation

0xch4z
Copy link
Contributor

@0xch4z 0xch4z commented Aug 3, 2021

Resolves #91

This change hardcodes some flags. Setting --authentication-skip-lookup=true short circuits configmap lookup for authentication (no longer needed), allowing for more fine-grained permissions. Also hardcodes --cloud-provider to "linode".

The manifest template has also been updated to use a restricted clusterrolebinding.

@0xch4z 0xch4z requested review from sibucan and thorn3r August 3, 2021 17:27
@0xch4z 0xch4z changed the title Fix skip configmap auth Hardcode --authentication-skip-lookup=false to short-circuit ConfigMap auth Aug 3, 2021
@0xch4z 0xch4z force-pushed the fix-skip-configmap-auth branch from c0cd9d2 to da4d7ab Compare August 3, 2021 17:42
0xch4z added 2 commits August 3, 2021 13:47
This change hardcodes some flags. Setting
--authentication-skip-lookup=false short circuits configmap lookup for
authentication (no longer needed), allowing for more fine-grained
permissions. Also hardcodes --cloud-provider to "linode".
@0xch4z 0xch4z force-pushed the fix-skip-configmap-auth branch from da4d7ab to b515853 Compare August 3, 2021 17:49
@0xch4z 0xch4z changed the title Hardcode --authentication-skip-lookup=false to short-circuit ConfigMap auth Hardcode --authentication-skip-lookup=true to short-circuit ConfigMap auth Aug 3, 2021
@sibucan
Copy link
Contributor

sibucan commented Aug 3, 2021

Since we're setting a default on the --cloud-provider flag to "linode" within the application, is the flag necessary in the template?

Copy link
Contributor

@sibucan sibucan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Tested, the CCM now has default values set for the cloud-provider and authentication-skip-lookup flags.

@0xch4z 0xch4z merged commit d979ab9 into linode:master Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --authentication-skip-lookup=true flag
2 participants