You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/12 16:43:04 UTC
[GitHub] [pulsar] nicoloboschi opened a new pull request, #17597: [fix][functions] Fix K8S download function method with auth enabled
nicoloboschi opened a new pull request, #17597:
URL: https://github.com/apache/pulsar/pull/17597
### Motivation
After https://github.com/apache/pulsar/commit/dab0d1f389ee66277c8350072af304895619eb9a#diff-534a0ee16ee831fd0f16fa1230ff3a6e24f6428abd378790f821867f2ec1ffb0R891 , functions deployed with `KubernetesRuntimeFactory` doesn't work if the authentication is enabled between components.
```
Was passed main parameter '--auth-plugin' but no main parameter was defined in your arg class
Download File Data from Pulsar
Usage: download [options]
Options:
--destination-file
The file to store downloaded content
--fqfn
The Fully Qualified Function Name (FQFN) for the function
--name
The name of a Pulsar Function
--namespace
The namespace of a Pulsar Function
--tenant
The tenant of a Pulsar Function
--transform-function
Download the transform Function of the connector
Default: false
```
Note that this regression is only on current master branch.
### Modifications
* Set the auth options as `pulsar-admin` CLI commands instead of `functions download` options
* Added a test
- [x] `doc-not-needed`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] eolivelli merged pull request #17597: [fix][functions] Fix K8S download function method with auth enabled
Posted by GitBox <gi...@apache.org>.
eolivelli merged PR #17597:
URL: https://github.com/apache/pulsar/pull/17597
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org