The ServiceBinding
and ProvisionedService
resources have moved to https://github.com/vmware-labs/service-bindings/
The ImageBinding resource binds an Imageable resource to a resources that embeds a PodSpec.
apiVersion: bindings.projectriff.io/v1alpha1
kind: ImageBinding
metadata:
name: test-binding
spec:
containerName: ""
provider:
apiVersion: ""
kind: ""
name: ""
subject:
apiVersion: ""
kind: ""
name: ""
The ImageBinding resource must be configured in the following way:
containerName
: name of container within the subject's pod spec to update with image from the providerprovider
: a reference to anImageable
resourceapiVersion
: resource API Versionkind
: resource kindname
: resource name
subject
: a reference to aPodSpecable
resourceapiVersion
: resource API Versionkind
: resource kindname
: resource name
An Imageable resource is any resource that provides an image by implementing the following partial schema
status:
latestImage: <image-reference>
Examples of Imageable resources
- kpack Image resource
- riff Application resource
- riff Function resource
- riff Container resource
The CRDs and controller can be installed into a cluster using ko
ko apply --strict -f config