IBM / cloudpak-gitops

Deployment of IBM Cloud Paks using ArgoCD / Red Hat GitOps operator.
Apache License 2.0
22 stars 23 forks source link

fix: Service Binding Operator binding no longer works with SBO 1.0 GA version #55

Closed nastacio closed 2 years ago

nastacio commented 2 years ago

Describe the bug Attempting to synchronize the cp4i-client Application fails with the following error:

error validating data: ValidationError(ServiceBinding.spec): unknown field "mountPath" in com.coreos.operators.binding.v1alpha1.ServiceBinding.spec

SERVICE_BINDING_ROOT To Reproduce Steps to reproduce the behavior:

  1. Follow the installation instructions to add Cloud Pak for Integration to the repository.
  2. Log in to the Argo CD console and hit "Sync" on the cp4i-app, cp4i-operators, and cp4i-resources tiles. Wait for all of them to finish
  3. Hit the "Sync" button on the cp4i-client tile.

Expected behavior The client applications should be deployed, started, and bound to the MQ instance

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Looks like that field was removed from the spec in lieu of a SERVICE_BINDING_ROOT environment variable to be set in the client application: https://redhat-developer.github.io/service-binding-operator/userguide/using-projected-bindings/using-projected-bindings.html