Release v0.5.0
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 pre-RC3). 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:
- Provisioned Service
- Workload Projection
- Service Binding
- Direct Secret Reference
- Role-Based Access Control (RBAC)
The following are not supported:
- Workload Resource Mapping
- Extensions including:
Samples
Samples provide an overview of the features available with Service Bindings, including:
- Spring PetClinic with MySQL
- Controlled Resource
- Overridden Type and Provider
- Provisioned Service
- Multiple Bindings
Changelog
- [Breaking] Change apiVersion from
service.binding/v1alpha2
toservicebindings.io/v1alpha3
(#173 #169) - [Feature] Carvel packaging with image pull secret (#176)
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.5.0/service-bindings-0.5.0.yaml
If you are unable to use kapp
, service-bindings-0.5.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.5.0/service-bindings-bundle-0.5.0.tar -o service-bindings-bundle-0.5.0.tar
Relocate the bundle's images to your registry:
imgpkg copy --tar service-bindings-bundle-0.5.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.5.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