Skip to content

Handle host vitals labels without label_membership_type in GitOps #38868

@spalmesano0

Description

@spalmesano0
- name: Engineering department
  description: Hosts used by engineers
  criteria:
    vital: end_user_idp_department
    value: Engineering
  • @spalmesano0: A dynamic label with an empty query is created.
Image Image

Some ways this could be handled:

  1. Detect that criteria has vital set, and automatically assign label_membership_type: host_vitals.
  2. Throw an error. Below is what happens when a manual label is created without label_membership_type: manual:
Error: 1 error occurred:
	* a SQL query or host vitals criteria is required for each non-manual label

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-pingali~coreFeature contributes to the core purpose of Fleet: guide people out of the thicket through openness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions