kubewarden / allow-privilege-escalation-psp-policy

A Kubewarden Pod Security Policy that controls usage of allowPrivilegeEscalation
https://kubewarden.io
Apache License 2.0
6 stars 7 forks source link

Registry error: OCI API error: manifest unknown #48

Closed kravciak closed 1 year ago

kravciak commented 1 year ago

Current Behavior

version: psp-allow-privilege-escalation:v0.2.4

# Policy server log
ERROR policy_server: error while downloading policy clusterwide-test-allow-privilege-escalation-psp from ghcr.io/kubewarden/policies/psp-allow-privilege-escalation:v0.2.4: 
the policy registry://ghcr.io/kubewarden/policies/psp-allow-privilege-escalation:v0.2.4 could not be downloaded due to error: 
Registry error: url https://ghcr.io/v2/kubewarden/policies/psp-allow-privilege-escalation/manifests/v0.2.4, envelope: OCI API errors: [OCI API error: manifest unknown]

# Trying manually
~ kwctl pull ghcr.io/kubewarden/policies/psp-allow-privilege-escalation:v0.2.4
Error: the policy registry://ghcr.io/kubewarden/policies/psp-allow-privilege-escalation:v0.2.4 could not be downloaded due to error: 
Registry error: url https://ghcr.io/v2/kubewarden/policies/psp-allow-privilege-escalation/manifests/v0.2.4, envelope: OCI API errors: [OCI API error: manifest unknown]
flavio commented 1 year ago

@kravciak , @jordojordo I've pushed the fix and tagged a new release. The 0.2.5 is going to address this issue

kravciak commented 1 year ago

Fixed in v0.2.5, thanks