Is it possible for imagepolicies to differentiate between images and Helm charts? #5156
-
I've come across this problem quite recently and looked at the documentation and generally around the internet to see if my understanding is correct. In my cluster, I am using images and Helm charts pulled from an AWS ECR (which is OCI compliant). I am using My issue arrises from the fact that my image tags and Helm chart tags follow the same format, meaning that both my Here are some AWS docs on Helm charts in OCI compliant ECR service: https://docs.aws.amazon.com/AmazonECR/latest/userguide/push-oci-artifact.html and this doc states in step 7 that "In the output, verify that the artifactMediaType parameter indicates the proper artifact type", showing that the Would it be possible to add a feature to Flux such that imagepolicies can filter for specific object types. If this is not possible, then I'm just going to add a suffix to all my Helm chart tags with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Flux simply lists tags, so you need to use some prefix. We cannot pull manifests of every single tag to look at their oci type, this would create enormous traffic. |
Beta Was this translation helpful? Give feedback.
Flux simply lists tags, so you need to use some prefix. We cannot pull manifests of every single tag to look at their oci type, this would create enormous traffic.