Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump prometheus-auth to a more recent version of Go and stop using vendored modules and rancher/trash #12

Merged
merged 14 commits into from
Dec 13, 2022

Commits on Dec 12, 2022

  1. Remove vendored modules

    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    c7d9e3a View commit details
    Browse the repository at this point in the history
  2. Switch to using go.mod

    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    9d9d7a4 View commit details
    Browse the repository at this point in the history
  3. Switch from +build test to go:build test

    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    03304c5 View commit details
    Browse the repository at this point in the history
  4. Modify error log for error during query to debug log to avoid noisy l…

    …ogs on bad requests
    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    68e1afc View commit details
    Browse the repository at this point in the history
  5. Update k8s client calls in pkg/kube

    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    029a170 View commit details
    Browse the repository at this point in the history
  6. Fix imports in pkg/agent/samples and update relevant error messages r…

    …eturned by new parser library
    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    def30de View commit details
    Browse the repository at this point in the history
  7. Change modifyExpression to return a new promlb.Matcher

    In previous versions of the prometheus client, promlb.Matcher was just a struct that contained strings.
    
    However, in recent versions of the client, promlb.Matcher contains a FastRegexMatcher instantiated within it, which is only instantiated when you call promlb.NewMatcher on a matcher whose type is a regex match.
    
    As a result, simply modifying the promlb.Matcher struct fields results in a segfault on trying to parse a regex label selector using a new client, which is fixed with the change introduced here.
    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    698a8c5 View commit details
    Browse the repository at this point in the history
  8. Update tests in pkg/prom

    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    f8b4bb9 View commit details
    Browse the repository at this point in the history
  9. Update tests in pkg/agent

    Arvind Iyengar committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    eb3e94a View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Remove rancher/trash references

    Arvind Iyengar committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    8426ca7 View commit details
    Browse the repository at this point in the history
  2. Add prometheus-auth to .gitignore

    Arvind Iyengar committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    8a85e10 View commit details
    Browse the repository at this point in the history
  3. Bump dapper version

    Arvind Iyengar committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    f73766f View commit details
    Browse the repository at this point in the history
  4. Update scripts and Dockerfile.dapper for new Go version

    Arvind Iyengar committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    3c1ff67 View commit details
    Browse the repository at this point in the history
  5. Update prometheus-auth to using BCI Micro as the base

    Arvind Iyengar committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    42870a8 View commit details
    Browse the repository at this point in the history