Configuring features¶
To offer a configurable path to introduce new features, deprecate obsolete features and fine tune some implemented features, the Paas operator offers feature flags.
Warn or block groups with user management¶
Currently the only implemented Feature Flag is for the behavior when users have defined usernames in the Paas.Spec.Groups blocks.
Allow (default)¶
When specifying allow
(or leave empty), the operator reports no errors / warnings.
Example
Warn¶
The option warn
can be used to have the WebHook warn about users being set, without declining the request,
and have the controller log warnings to console and the Paas Status block.
Example
Block¶
The option block
can be set to decline requests with users being set in the Groups block,
have the controller log warnings to console and the Paas Status block,
and have the controller remove groups that have previously been defined.