Skip to content

v0.10.0: assumed roles (autoconfiguration)

Compare
Choose a tag to compare
@weisdd weisdd released this 04 Apr 17:39
· 98 commits to master since this release
1c32daf
  • Key changes:
    • Added support for autoconfiguration through Assumed roles (disabled by default, can be enabled through ASSUMED_ROLES: true):
      • In environments, where OIDC-role names match names of namespaces, ACLs can be constructed on the fly (e.g. ["role1", "role2"] will give access to metrics from namespaces role1 and role2; kube.* - to namespaces starting with kube.*, .* - to all metrics). The roles specified in acl.yaml are still considered and get merged with assumed roles;
      • Thanks to @aberestyak for the idea;
    • Logs:
      • Log OIDC roles when debug is enabled. The field will contain all roles present in the token, not only those that are considered during ACL generation process.