linode / provider-ceph

Provider Ceph is a Crossplane provider capable of managing S3 Buckets on one or more Ceph clusters.
Apache License 2.0
19 stars 3 forks source link

Can't install provider from private registry #179

Open migueladh opened 8 months ago

migueladh commented 8 months ago

What happened?

When moving original image from xpkg.upbound.io to an internal repository and installing the provider, the provider fails to start, since it's referencing the controller image in package/crossplane.yaml (even though the provider is mono-image and injects runtime on build)

How can we reproduce it?

Try to run the provider on a k8s cluster with no access to public repos.

What environment did it happen in?

Crossplane version: all

If

  controller:
    image: xpkg.upbound.io/linode/provider-ceph:v0.0.40

gets removed from package/crossplane.yaml, provider will default to start embedded runtime :)

Alegrowin commented 2 months ago

If that can unblock you, I solved for the same yesterday, had to bump the version in package/crossplane.yaml before running crossplane xpkg push -f _output/xpkg/linux_amd64/provider-ceph-v0.0.0-486.gea34efd.dirty.xpkg docker.io/user/provider-ceph:v0.0.50