Fix Fix client
@@ -75,7 +75,7 @@ func newCmdRun(rootCmdOptions *RootCmdOptions) (*cobra.Command, *runCmdOptions)
}
cmd.Flags().String("name", "", "The integration name")
- cmd.Flags().StringArrayP("connect", "c", nil, "A ServiceBinding or Provisioned Service that the integration should bind to, specified as [[apigroup/]version:]kind:[namespace/]name")
+ cmd.Flags().StringArrayP("connect", "c", nil, "A Service that the integration should bind to, specified as [[apigroup/]version:]kind:[namespace/]name")
cmd.Flags().StringArrayP("dependency", "d", nil, "A dependency that should be included, e.g., \"-d camel-mail\" for a Camel component, or \"-d mvn:org.my:app:1.0\" for a Maven dependency")
cmd.Flags().BoolP("wait", "w", false, "Wait for the integration to be running")
cmd.Flags().StringP("kit", "k", "", "The kit used to run the integration")
@@ -700,7 +700,7 @@ func (o *runCmdOptions) GetIntegrationName(sources []string) string {
func (o *runCmdOptions) configureTraits(integration *v1.Integration, options []string, catalog *trait.Catalog) error {
// configure ServiceBinding trait
for _, sb := range o.Connects {
- bindings := fmt.Sprintf("service-binding.service-bindings=%s", sb)
+ bindings := fmt.Sprintf("service-binding.services=%s", sb)
options = append(options, bindings)
}
traits, err := configureTraits(options, catalog)
