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

feat: add ability to fetch only specific resources by name #383

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

simonsystem
Copy link

@simonsystem simonsystem commented Dec 19, 2024

This introduces a new environment variable RESOURCE_NAME which can be used, to configure specific resources being fetched by name.

RESOURCE_NAME can be a comma-separated list of resources, resource-type-prefixed resources or namespace-prefixed resources. E.g. resource-name,secret/resource-name,namespace/secret/resource-name

Closes #378

@ChristianGeie ChristianGeie added enhancement New feature or request python Pull requests that update Python code labels Dec 20, 2024
@ChristianGeie
Copy link
Collaborator

thx for contributing this awesome feature. it's also possible for you to implement testing the feature using sidecar-pythonscript-resource-name in github workflow?

@simonsystem
Copy link
Author

@ChristianGeie Added the github workflows. Tell me, if something is still missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to limit serviceaccount to read only specified secrets/configmaps
2 participants