Skip to content

settings request doesn't return trackingMethod if it isn't defined in cm and default is in use #22962

@oleksandr-codefresh

Description

@oleksandr-codefresh

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug
No trackingMethod data returned from GET /v1/settings if you're using default.

To Reproduce

  1. Remove application.resourceTrackingMethod from argocd-cm (if present)
  2. call api GET v1/settings

Expected behavior
Default tracking method should be returned

Screenshots

Version
>= v2.2.0

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent:settingsRBAC issues/enhancementsregressionBug is a regression, should be handled with high priorityversion:3.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions