Add ability to turn on OPA rules from the chart directly.
Related Issue
Motivation and Context
Issues with OPA and bootstrapping uncovered this. Default values can help direct the consumer to use the correct config rather than enabling things through extraEnvs
Test Coverage For This Change
Simply run a bootstrap with OPA enabled.
if dashboard.opa.allowAdminPasswordReset is set to true the bootstrap will succeed if not it will fail with an error
You do not have permission to reset the password for other users. As an admin user, this permission can be modified using OPA rules.
Screenshots (if appropriate)
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Refactoring or add test (improvements in base code or adds test coverage to functionality)
[x] Documentation updates or improvements.
Checklist
[ ] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If PRing from your fork, don't come from your master!
[ ] Make sure you are making a pull request against our master branch (left side). Also, it would be best if you started your change off our latest master.
[ ] My change requires a change to the documentation.
[ ] I have manually updated the README(s)/documentation accordingly.
Description
Add ability to turn on OPA rules from the chart directly.
Related Issue
Motivation and Context
Issues with OPA and bootstrapping uncovered this. Default values can help direct the consumer to use the correct config rather than enabling things through extraEnvs
Test Coverage For This Change
Simply run a bootstrap with OPA enabled. if
dashboard.opa.allowAdminPasswordReset
is set totrue
the bootstrap will succeed if not it will fail with an errorYou do not have permission to reset the password for other users. As an admin user, this permission can be modified using OPA rules.
Screenshots (if appropriate)
Types of changes
Checklist
master
!master
branch (left side). Also, it would be best if you started your change off our latestmaster
.