Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.
/ bindings Public archive

Experimental: bindings that leverage duck-types

License

Notifications You must be signed in to change notification settings

vmware-archive/bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bindings

ServiceBinding

The ServiceBinding and ProvisionedService resources have moved to https://github.com/vmware-labs/service-bindings/

ImageBinding

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 provider
  • provider: a reference to an Imageable resource
    • apiVersion: resource API Version
    • kind: resource kind
    • name: resource name
  • subject: a reference to a PodSpecable resource
    • apiVersion: resource API Version
    • kind: resource kind
    • name: resource name

Imageable

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

Install

The CRDs and controller can be installed into a cluster using ko

ko apply --strict -f config

About

Experimental: bindings that leverage duck-types

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published