You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary of changes:
- As proposed on the ML, `ActiveRolesProvider` is removed, and `DefaultActiveRolesProvider` is merged into `DefaultAuthenticator`. `ActiveRolesAugmentor` is also merged into `AuthenticatingAugmentor`.
- The implicit convention that no roles in credentials == all roles requested is removed as it is ambiguous. Credentials must explicitly include the `PRINCIPAL_ROLE:ALL` pseudo-role to request all roles available.
- PersistedPolarisPrincipal is removed. It existed merely as a means of passing the `PrincipalEntity` from the authenticator to the roles provider. This is not necessary anymore.
| advancedConfig | object |`{}`| Advanced configuration. You can pass here any valid Polaris or Quarkus configuration property. Any property that is defined here takes precedence over all the other configuration values generated by this chart. Properties can be passed "flattened" or as nested YAML objects (see examples below). Note: values should be strings; avoid using numbers, booleans, or other types. |
191
191
| affinity | object |`{}`| Affinity and anti-affinity for polaris pods. See https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.|
| authentication.activeRolesProvider | object |`{"type":"default"}`| The `ActiveRolesProvider` implementation to use. Only one built-in type is supported: default. |
| authentication.authenticator | object |`{"type":"default"}`| The `Authenticator` implementation to use. Only one built-in type is supported: default. |
| authentication.tokenBroker | object |`{"maxTokenGeneration":"PT1H","secret":{"name":null,"privateKey":"private.pem","publicKey":"public.pem","rsaKeyPair":{"privateKey":"private.pem","publicKey":"public.pem"},"secretKey":"symmetric.pem","symmetricKey":{"secretKey":"symmetric.key"}},"type":"rsa-key-pair"}`| The `TokenBroker` implementation to use. Two built-in types are supported: rsa-key-pair and symmetric-key. Only relevant when using internal (or mixed) authentication. When using external authentication, the token broker is not used. |
| oidc.principalMapper.type | string |`"default"`| The `PrincipalMapper` implementation to use. Only one built-in type is supported: default. |
300
299
| oidc.principalRolesMapper | object |`{"filter":null,"mappings":[],"rolesClaimPath":null,"type":"default"}`| Principal roles mapping configuration. |
301
300
| oidc.principalRolesMapper.filter | string |`nil`| A regular expression that matches the role names in the identity. Only roles that match this regex will be included in the Polaris-specific roles. |
302
-
| oidc.principalRolesMapper.mappings | list |`[]`| A list of regex mappings that will be applied to each role name in the identity. This can be used to transform the role names in the identity into role names as expected by Polaris. The default ActiveRolesProvider expects the security identity to expose role names in the format `POLARIS_ROLE:<role name>`. |
301
+
| oidc.principalRolesMapper.mappings | list |`[]`| A list of regex mappings that will be applied to each role name in the identity. This can be used to transform the role names in the identity into role names as expected by Polaris. The default Authenticator expects the security identity to expose role names in the format `POLARIS_ROLE:<role name>`. |
303
302
| oidc.principalRolesMapper.rolesClaimPath | string |`nil`| The path to the claim that contains the principal roles. Nested paths can be expressed using "/" as a separator, e.g. "polaris/principal_roles" would look for the "principal_roles" field inside the "polaris" object in the token claims. If not set, Quarkus looks for roles in standard locations. See https://quarkus.io/guides/security-oidc-bearer-token-authentication#token-claims-and-security-identity-roles.|
304
303
| oidc.principalRolesMapper.type | string |`"default"`| The `PrincipalRolesMapper` implementation to use. Only one built-in type is supported: default. |
0 commit comments