Managed by Score

To prevent accidental manual modifications in the Humanitec UI, humctl and workload artefacts automatically add the humanitec.io/managed-by annotation to managed workloads. The optional humanitec.io/workload-source annotation can capture the source of the Score workload and can be set in the metadata annotations:

metadata:
  name: my-workload
  annotations:
    humanitec.io/workload-source: https://github.com/org/repo

The value will be turned into a link inside the Humanitec UI and allows developers to quickly jump to the source of the respective Score file.

The humctl score deploy command optionally supports a --workload-source-url to override this. If you are using GitHub Actions, your humctl usage could look like:

humctl score deploy \
  ...
  -f score.yaml \
  --workload-source-url "https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/score.yaml"
Top