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

leverage file temaplates with k8s-secret targets #552

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

romanfurst
Copy link

@romanfurst romanfurst commented Feb 13, 2025

Desired Outcome

File templates can be used the same way for k8s_secrets as it is used in push-to-file configuration. Templates in secret annotation are rendered and store in target k8s secret. The Secret key can then be mounted as a file into the container's filesystem.

Implemented Changes

Template processing functionality has been refactored - common code has been extracted from the pushtofile package into a new shared package. This allows template processing to be used in both scenarios: when processing file templates in the k8s_secrets target mode and push-to-file mode. When target secret is processed, both conjur-map and temaplates/groups are processed and rendered.

Connected Issue/Story

DRAFT for:

#549

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.

1 participant