Skip to content

Release v0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jul 17:50

Service Bindings for Kubernetes implements the Service Binding Specification for Kubernetes. We are tracking changes to the spec as it approaches a stable release (currently targeting RC2++). Backwards and forwards compatibility should not be expected for alpha versioned resources.

This is a preview release for developers to gain a familiarity with the core specification concepts. Neither the specification, nor implementation are stable.

This implementation provides support for:

The following are not supported:

Samples

Samples provide an overview of the features available with Service Bindings, including:

Changelog

  • [Breaking] Drop Custom Projection support (#123)
  • [Breaking] Drop Mappings support (#134)
  • [Breaking] Drop specifying containers by index (#158)
  • [Feature] Offer Carvel kapp-controller Package and imgpkg Bundle for offline or managed installs (#160)
  • [Feature] Use metav1.Conditions on status (#159)
  • [Bug fix] Eliminated a condition where a resource could get stuck in an update-loop (#131)
  • [Maintenance] updated dependencies to their latest stable versions

Install/Upgrade

kapp is recommended to install/upgrade the Service Bindings CRDs and operator.

If upgrading from a release not installed with kapp, first remove the current install.

Then deploy Service Bindings:

kapp deploy -a service-bindings -f https://github.com/vmware-labs/service-bindings/releases/download/v0.4.0/service-bindings-0.4.0.yaml

If you are unable to use kapp, service-bindings-0.4.0.yaml can be applied via tools like kubectl, but it will be harder to uninstall and upgrade.

Advanced installs

For users who need to install into an air-gapped cluster, or wish to limit their dependence on public image registries, an imgpkg bundle is available. For this install flow Carvel kapp, imgpkg and kbld are required.

Download the bundle to a location that has access to your image registry and cluster:

curl -L https://github.com/vmware-labs/service-bindings/releases/download/v0.4.0/service-bindings-bundle-0.4.0.tar -o service-bindings-bundle-0.4.0.tar

Relocate the bundle's images to your registry:

imgpkg copy --tar service-bindings-bundle-0.4.0.tar --to-repo <your-image-repository>

Pull the config files from the bundle:

mkdir bundle
imgpkg pull --bundle <your-image-repository> --output bundle

Finally, deploy Service Binding to your cluster:

kapp deploy -a service-bindings -f <(kbld -f ./bundle/service-bindings.yml -f ./bundle/.imgpkg/images.yml)

The Carvel docs have more information about deploying to air-gapped environments.

kapp-controller managed installs

Preview support for kapp-controller with a Package definition in the service-bindings-package-0.4.0.yaml asset. Please see the Carvel docs for how to install a package on a cluster.

Uninstall

To remove service bindings from your cluster:

kapp delete -a service-bindings