The HULL Roles allow to have key value pair rules
to define the rules.
rules
as an array, however no mixed-style of arrays and key value pairs is possible!
Properties can be set as they are defined in the Kubernetes API's roles spec.
However the properties listed below are overwritten or added by HULL:
Parameter | Description | Default | Example |
---|---|---|---|
rules |
Dictionary with PolicyRules to add to the ClusterRole's rules section. Key: Unique related to parent element. Value: The hull.PolicyRules.v1 properties. See below for reference. |
{} |
Properties can be set as they are defined in the Kubernetes API's clusterroles spec.
However the properties listed below are overwritten or added by HULL:
Parameter | Description | Default | Example |
---|---|---|---|
rules |
Dictionary with PolicyRules to add to the ClusterRole's rules section. Key: Unique related to parent element. Value: The hull.PolicyRules.v1 properties. See below for reference. |
{} |
The key-value pairs of value type
hull.PolicyRules.v1
are converted to an array on rendering
Properties can be set as they are defined in the Kubernetes API's policyrules spec.
However the properties listed below are overwritten or added by HULL:
Parameter | Description | Default | Example |
---|---|---|---|
enabled |
Needs to resolve to a boolean switch, it can be a boolean input directly or a transformation that resolves to a boolean value. If resolved to true or missing, the key-value-pair will be rendered for deployment. If resolved to false, it will be omitted from rendering. This way you can predefine objects which are only enabled and created in the cluster in certain environments when needed. | true |
Back to README.md