Skip to content

GitOps allows setting manual_agen_install, without uploading a custom bootstrap package #38432

@MagnusHJensen

Description

@MagnusHJensen

Fleet version: main (4.80)

Web browser and operating system: GitOps


💥  Actual behavior

While verifying another bug, I encountered that I could set the manual_agent_install key in GitOps, and it gets applied just fine, but in the UI that setting is blocked if no uploaded bootstrap package.

I don't know about potential dangers with having it true and no bootstrap package or if all the code that needs this handles it correctly.

🛠️ To fix

TODO

Validate in gitops? And API level

🧑‍💻  Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Generate gitops team file
  2. Set controls -> macos_setup -> manual_agent_install: true and leave bootstrap package empty
  3. See the value is applied in the UI and Fleet detects it as set, by blocking adding software to setup experience

🕯️ More info (optional)

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    #g-mdmMDM product group:productProduct Design department (shows up on 🦢 Drafting board)bugSomething isn't working as documented~released bugThis bug was found in a stable release.

    Type

    No type

    Projects

    Status

    📨 Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions