deckhouse / deckhouse-cli

Command Line Interface to work with Deckhouse Kubernetes Platform
Apache License 2.0
7 stars 8 forks source link

mirror: update trivy mimetypes error text for trivy-checks #57

Open mvasl opened 4 hours ago

mvasl commented 4 hours ago

Authored by @unreturned in https://github.com/deckhouse/deckhouse-cli/pull/55

Handle error for trivy-bdu

Nov 14 21:27:42.714 INFO  ║ Mirroring kovalkov-quay.ru-central1.internal/user/dkp/security/trivy-bdu
Nov 14 21:27:42.715 INFO  ║ [1 / 1] Pushing image kovalkov-quay.ru-central1.internal/user/dkp/security/trivy-bdu:1
Nov 14 21:28:44.409 WARN  ║ Push image: "": task failed to many times, last error: Write kovalkov-quay.ru-central1.internal/user/dkp/security/trivy-bdu:1 to registry: PUT https://kovalkov-quay.ru-central1.internal/v2/user/dkp/security/trivy-bdu/manifests/1: MANIFEST_INVALID: manifest invalid; map[message:failed to parse manifest: manifest data does not match schema: 'application/octet-stream' is not one of ['application/vnd.oci.image.config.v1+json', 'application/vnd.sylabs.sif.config.v1+json', 'application/vnd.cncf.helm.config.v1+json']

and rework recommendations for Quay - more information at https://github.com/deckhouse/deckhouse/pull/10672