-
Notifications
You must be signed in to change notification settings - Fork 85
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
fix!(jans-cedarling): fix cedarling-properties docs to be more proper #10788
Conversation
Because it hard to keep consistent, and contains mistakes Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> (cherry picked from commit cdd7a41)
…Nativity-Plan Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
To highlight key if missing Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
@@ -152,7 +152,7 @@ pub struct BootstrapConfigRaw { | |||
|
|||
/// Configuration for token-based entities, mapping token names to their | |||
/// respective settings. | |||
#[serde(rename = "CEDARLING_TOKEN_CONFIGS", default)] | |||
#[serde(rename = "CEDARLING_TOKEN_CONFIGS")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove the serde(default)
here? won't the deserialization fail if the CEDARLING_TOKEN_CONFIGS
is not provided? the TokenConfigs
struct implements Default
in raw_config/token_settings.rs
.
Are we requiring the user to set this bootstrap config now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I missed that TokenConfigs
have custom implementation of Default
trait.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it also looks like python tests are failing now. might be because the names of some bootstrap properties were changed. |
…ING_TOKEN_CONFIGS` when parsing wia serde Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
…that show default implementation of `CEDARLING_TOKEN_CONFIGS` Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
…LING_POLICY_STORE_LOCAL` Signed-off-by: Oleh Bozhok <olehbozhok@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I changed the PR title a bit to include breaking change !
Prepare
Description
Improve documentation. Fix name of some keys. Added information about required bootstrap properties keys.
Target issue
link
closes #10748
Implementation Details
Required keys for startup
CEDARLING_TOKEN_CONFIGS
is absentserde
show key in errorTest and Document the changes
Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with
docs:
to indicate documentation changes or if the below checklist is not selected.