Issue using harbor private registries with AWS storage behind harbor as my policy bundle server #541
Replies: 4 comments 2 replies
-
The configuration looks ok to me. @gitu and @carabasdaniel have contributed a lot to the OCI downloader and may have some ideas here. |
Beta Was this translation helpful? Give feedback.
-
The OPA configuration looks good. Does it work if you manually pull the manifest from |
Beta Was this translation helpful? Give feedback.
-
We're going to retest this with a harbor upgrade that's hopefully coming in a week or two. I'm hoping that might give different or more specific error messages from within harbor that might give another avenue of investigation. |
Beta Was this translation helpful? Give feedback.
-
Looks like there are bugs entered with OCI pulls from private repos entered since I mentioned my issue: open-policy-agent/opa#6590 We've had a delay getting a new harbor deployed to retest my original issue, but that's still my plan. |
Beta Was this translation helpful? Give feedback.
-
For me, my setup works as a harbor public repo (if I remove the credential information), but not if I mark the harbor repo private.
I've added all of the Amazon root CA's to my cert bundle reference from the opa-config:
From the OPA logs, some of the layers seem to come in alright?:
But then not, with an HTTP 400:
Nothing in the various Harbor logs seems helpful. My understanding is that the OCIDownloader is a little different than the normal service declaration. I'm hoping that I've just done the configuration wrong here?
Beta Was this translation helpful? Give feedback.
All reactions