diff --git a/pkg/shared/cluster/bind.go b/pkg/shared/cluster/bind.go index 444e51d5b..45a61d0a9 100644 --- a/pkg/shared/cluster/bind.go +++ b/pkg/shared/cluster/bind.go @@ -177,7 +177,7 @@ func createBindingCR(options *v1alpha.BindOperationOptions, serviceMetadata sche Namespace: namespace, }, Spec: bindv1alpha1.ServiceBindingSpec{ - BindAsFiles: true, + BindAsFiles: options.BindAsFiles, Services: []bindv1alpha1.Service{serviceRef}, Application: appRef, },