File: refactor-rbac-967ed5edcc1ef2a4.yaml

package info (click to toggle)
python-observabilityclient 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 336 kB
  • sloc: python: 1,876; sh: 46; makefile: 19
file content (13 lines) | stat: -rw-r--r-- 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
---
upgrade:
  - |
    The rbac module was refactored. The `Rbac` class was renamed to
    `PromQLRbac` and it was moved from `observabilityclient.v1.rbac` to
    `observabilityclient.rbac`. The `enrich_query` function was renamed to
    `modify_query` and the `append_rbac` function was renamed to
    `append_rbac_labels`. All "disable_rbac" logic was removed from the
    PromQLRbac. This functionality should be handled externaly from the class
    if needed. The PromQLRbac constructor now requires an instance of the
    PrometheusAPIClient instead of an instance of observabilityclient. It
    also requires an explicitly specified project id instead of trying to
    figure it out from a provided session object.