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

Add SecretType to allow secret selecting with type #199

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

yuzp1996
Copy link
Contributor

We used to only select secret with option ExcludedSecretTypes which
can help exclude secret which type in the ExcludedSecretTypes list.

Now I add SecretTypes means we only want secret which type in the
SecretTypes list.

It this option provided we will use it if not provided means there
is no limit for secret type when selecting

Signed-off-by: yuzhipeng [email protected]

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • spec PR link included
  • Follows the commit message standard
  • Meets the contributing guidelines (including
    functionality, content, code)
  • Test cases with documentation and functionality works as expected using current and related github repos (MUST deploy and check)
  • Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

chengjingtao
chengjingtao previously approved these changes Apr 24, 2022
We used to only select secret with option ExcludedSecretTypes which
can help exclude secret which type in the ExcludedSecretTypes list.

Now I add SecretTypes means we only want secret which type in the
SecretTypes list.

It this option provided we will use it if not provided means there
is no limit for secret type when selecting

Signed-off-by: yuzhipeng <[email protected]>
@yuzp1996 yuzp1996 merged commit a464f52 into main Apr 24, 2022
@yuzp1996 yuzp1996 deleted the fix/include-secret-type branch April 24, 2022 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants