opendatahub-io / model-registry-operator

Apache License 2.0
3 stars 19 forks source link

feat: add feature flag to control creation of auth config and policy resources, fixes RHOAIENG-6815 #98

Closed dhirajsb closed 5 months ago

dhirajsb commented 6 months ago

Description

Added feature flag CREATE_AUTH_RESOURCES to control creation of auth config and policy resources. The feature flag is configurable as an env variable and is also added to params.env for configuration through odh installer. Fixes RHOAIENG-6815

How Has This Been Tested?

Tested manually by running the operator locally using: CREATE_AUTH_RESOURCES=false make run

Merge criteria:

dhirajsb commented 6 months ago

@aslakknutsen @bartoszmajsak I added a feature flag to disable auth policy and config creation in the operator when we merge servicemesh auth creation for model registry in the future. Please review and let me know what you think.