Managed by Score
To prevent accidental manual modifications in the Humanitec UI, score-humanitec
automatically adds the
humanitec.io/managed-by: score-humanitec
annotation to managed workloads starting with version 0.8.0
.
You can further enhance those warnings using the --workload-source-url=value
flag. When this is flag is provided, score-humanitec
will set humanitec.io/workload-source: value
as an additional workload annotation.
The value
will be turned into a link inside the Humanitec UI and allows developers to quickly jump to the respective Score file.
If you are using GitHub Actions, your score-humanitec
usage could look like:
score-humanitec delta \
--deploy \
...
-f score.yaml \
--workload-source-url "https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/score.yaml"