Closed kingdonb closed 2 years ago
The issue seems to due to the kind value being OciRepository
instead of OCIRepository
.
The full error message contains OCIRepository as a supported kind:
The Receiver "podinfo-package" is invalid: spec.resources[0].kind: Unsupported value: "OciRepository": supported values: "Bucket", "GitRepository", "Kustomization", "HelmRelease", "HelmChart", "HelmRepository",
"ImageRepository", "ImagePolicy", "ImageUpdateAutomation", "OCIRepository"
Oh, good catch @darkowlzz – then I'll fix it in my test manifest and close this, (but #393 still blocks this feature from working together properly with GitHub GHCR.)
I see that OCIRepository type is an allowed event source in 0.25.0
OCIRepository should also be added as an allowed target for receiver, but it looks like it has not yet. (Will this be possible to include before the final release?)
I tried it just now with the latest commit from the
oci
branch, that appears to include this latest notification controller release, and just to confirm it does look like that needs to be added:This is my Receiver:
I am uncertain whether
package
webhooks work with any other target, I will test that next. From a quick search of the open issues, signs point to no: