Skip to content
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

pulsar admin exposes secret for source and sink #13059

Merged

Conversation

nlu90
Copy link
Member

@nlu90 nlu90 commented Dec 1, 2021

Motivation

Follow-up fix of #12950 for #12834

It turns out the Source and Sink doesn't inherit from Function cmd, so we need to add the api separately.

Modifications

add the --secrets argument into pulsar-admin [source|sink] create/update/localrun command

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • The public API: new --secrets argument for submitting/updating sources/sinks

Documentation

Check the box below and label this PR (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions github-actions bot added the doc-required Your PR changes impact docs and you will update later. label Dec 1, 2021
@Anonymitaet
Copy link
Member

For the doc side, I've confirmed w/ @freeznet, this PR is similar to #12950 (comment)

Hi @nlu90 same comments for you: #12950 (comment)

@Anonymitaet Anonymitaet added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. and removed doc-required Your PR changes impact docs and you will update later. labels Dec 1, 2021
@codelipenghui codelipenghui merged commit e888c29 into apache:master Dec 2, 2021
fxbing pushed a commit to fxbing/pulsar that referenced this pull request Dec 19, 2021
### Motivation
Follow-up fix of apache#12950 for apache#12834 

It turns out the Source and Sink doesn't inherit from Function cmd, so we need to add the api separately.

### Modifications

add the `--secrets` argument into `pulsar-admin [source|sink] create/update/localrun` command
@codelipenghui codelipenghui deleted the neng/expose-source-sink-secret branch December 21, 2021 01:46
codelipenghui pushed a commit that referenced this pull request Dec 21, 2021
### Motivation
Follow-up fix of #12950 for #12834

It turns out the Source and Sink doesn't inherit from Function cmd, so we need to add the api separately.

### Modifications

add the `--secrets` argument into `pulsar-admin [source|sink] create/update/localrun` command

(cherry picked from commit e888c29)
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Dec 21, 2021
zymap pushed a commit that referenced this pull request Dec 23, 2021
Follow-up fix of #12950 for #12834

It turns out the Source and Sink doesn't inherit from Function cmd, so we need to add the api separately.

add the `--secrets` argument into `pulsar-admin [source|sink] create/update/localrun` command

(cherry picked from commit e888c29)
@zymap zymap added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/admin area/connector cherry-picked/branch-2.8 Archived: 2.8 is end of life cherry-picked/branch-2.9 Archived: 2.9 is end of life doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. release/2.8.3 release/2.9.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pulsar-admin] support passing secrets (secretsMap) when create functions / connectors
9 participants