Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

feat: add managed by score annotation to support humanitec UI warnings #60

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

johanneswuerbach
Copy link
Contributor

Add a "humanitec.io/managed-by": "score-humanitec" annotation to signal that workloads are managed by score and not inside the Humanitec UI.

Additionally add a new --workload-source-url parameter that allows link to the score file so developers can quickly find the file.

Description

What does this PR do?

Workloads that are managed by score can be manually edited in the humanitec app, and then the manual edit can be overridden with the next deployment. This change gives the user the ability to point to the location which manages the workload, and it will display the user a warning that the workload is managed by score (and will link to the path provided in the parameter)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • New chore (expected functionality to be implemented)

Checklist:

  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • I've signed off with an email address that matches the commit author.

Co-Authored-By: muamer-polic <143786197+muamer-polic@users.noreply.github.com>
Signed-off-by: Johannes Würbach <johannes.wuerbach@googlemail.com>
@johanneswuerbach johanneswuerbach merged commit 95f5cc1 into main Oct 3, 2023
3 checks passed
@johanneswuerbach johanneswuerbach deleted the add-managed-by-score-annotation branch October 3, 2023 16:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants