Release v0.6.1
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 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:
- Binding Secret Generation Strategies
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
- [Fix] Clean redeploys with kapp (#208)
- [Fix] ServiceBinding reconciliation fails on k8s v1.22+ (#216)
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.6.1/service-bindings-0.6.1.yaml
If you are unable to use kapp
, service-bindings-0.6.1.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.6.1/service-bindings-bundle-0.6.1.tar -o service-bindings-bundle-0.6.1.tar
Relocate the bundle's images to your registry:
imgpkg copy --tar service-bindings-bundle-0.6.1.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/config/service-bindings.yaml -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.6.1.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