We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should allow the option for you to turn off/on each mock
So for example you could deploy mocks with the env vars:
MOCK_RBAC=false MOCK_ENTITLEMENTS=true
and then deploy the "real" rbac instead.
What needs to change is we should no longer define Service that "re-routes" applications to the mock in our template: https://github.com/RedHatInsights/mocks/blob/master/deploy/template.yaml#L177-L190
And instead that Service should be 'oc apply'd by the mocks initializer into the namespace when the app starts up: https://github.com/RedHatInsights/mocks/blob/master/crcmocks/initializer.py
As long as that Service which re-routes your apps to use the mock is absent, you should be good to go if you want to use the "real app" instead.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We should allow the option for you to turn off/on each mock
So for example you could deploy mocks with the env vars:
and then deploy the "real" rbac instead.
What needs to change is we should no longer define Service that "re-routes" applications to the mock in our template:
https://github.com/RedHatInsights/mocks/blob/master/deploy/template.yaml#L177-L190
And instead that Service should be 'oc apply'd by the mocks initializer into the namespace when the app starts up:
https://github.com/RedHatInsights/mocks/blob/master/crcmocks/initializer.py
As long as that Service which re-routes your apps to use the mock is absent, you should be good to go if you want to use the "real app" instead.
The text was updated successfully, but these errors were encountered: