-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[functions] Default functionAuthProvider when running in k8s #6203
Conversation
27f4b9f
to
26d031a
Compare
@addisonj can you rebase this pull request to include some improvements in the github action files? |
26d031a
to
d120650
Compare
@sijie I did the rebase, looks to have still failed some |
@addisonj can you try to rebase again? I just merge a pull request with bunch of improvements in integration tests. |
d120650
to
214c71e
Compare
Please take a look at this test: https://github.com/apache/pulsar/pull/6203/checks?check_run_id=446244014 @addisonj
|
ping @addisonj Please try rebase master. |
214c71e
to
1dc21b4
Compare
@tuteng rebased and ran the tests locally and they appear to pass |
whoops, ignore the last comment, am able to repro now, will fix |
2746814
to
baa928c
Compare
In 2.4.x, when running with the KubernetesRuntime, it default to always using the KubernetesSecretAuthProvider class. With the change in 2.5 to making this behavior pluggable, there is currently a bug in that it doesn't keep this behavior and requires a new configuration option to be passed. This commit changes the config so that it defaults to the correct class when we are running with a kubernetes runtime. This restores the behavior match that of earlier versions This also moves the WorkerConfig test to the same package where the workerConfig resides after the refactor and re-arranges the resources files and copied via a maven task
baa928c
to
f5c4502
Compare
/pulsarbot run-failure-checks |
2 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
@sijie you still want this for 2.5.1? All tests passed on this, it just looks like github is showing the checks twice |
this looks good to merge @sijie, not sure if you want for 2.5.1? |
@addisonj thank you for your contribution! |
…6203) In 2.4.x, when running with the KubernetesRuntime, it default to always using the KubernetesSecretAuthProvider class. With the change in 2.5 to making this behavior pluggable, there is currently a bug in that it doesn't keep this behavior and requires a new configuration option to be passed. This commit changes the config so that it defaults to the correct class when we are running with a kubernetes runtime. This restores the behavior match that of earlier versions This also moves the WorkerConfig test to the same package where the workerConfig resides after the refactor and re-arranges the resources files and copied via a maven task Co-authored-by: Addison Higham <ahigham@instructure.com> (cherry picked from commit 3a3174b)
In 2.4.x, when running with the KubernetesRuntime, it default to always using the KubernetesSecretAuthProvider class. With the change in 2.5 to making this behavior pluggable, there is currently a bug in that it doesn't keep this behavior and requires a new configuration option to be passed. This commit changes the config so that it defaults to the correct class when we are running with a kubernetes runtime. This restores the behavior match that of earlier versions This also moves the WorkerConfig test to the same package where the workerConfig resides after the refactor and re-arranges the resources files and copied via a maven task Co-authored-by: Addison Higham <ahigham@instructure.com> (cherry picked from commit 3a3174b)
…6203) In 2.4.x, when running with the KubernetesRuntime, it default to always using the KubernetesSecretAuthProvider class. With the change in 2.5 to making this behavior pluggable, there is currently a bug in that it doesn't keep this behavior and requires a new configuration option to be passed. This commit changes the config so that it defaults to the correct class when we are running with a kubernetes runtime. This restores the behavior match that of earlier versions This also moves the WorkerConfig test to the same package where the workerConfig resides after the refactor and re-arranges the resources files and copied via a maven task Co-authored-by: Addison Higham <ahigham@instructure.com>(cherry picked from commit 3a3174b)
…6203) In 2.4.x, when running with the KubernetesRuntime, it default to always using the KubernetesSecretAuthProvider class. With the change in 2.5 to making this behavior pluggable, there is currently a bug in that it doesn't keep this behavior and requires a new configuration option to be passed. This commit changes the config so that it defaults to the correct class when we are running with a kubernetes runtime. This restores the behavior match that of earlier versions This also moves the WorkerConfig test to the same package where the workerConfig resides after the refactor and re-arranges the resources files and copied via a maven task Co-authored-by: Addison Higham <ahigham@instructure.com>
Motivation
In 2.4.x, when running with the KubernetesRuntime, it default to always
using the KubernetesSecretAuthProvider class. With the change in 2.5 to
making this behavior pluggable, there is currently a bug in that it
doesn't keep this behavior and requires a new configuration option to be
passed.
Modifications
This commit changes the config so that it defaults to the correct class
when we are running with a kubernetes runtime. This restores the
behavior match that of earlier versions
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation