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

Extend kn-workflow CLI to Generate K8s secrets for workflows #2630

Open
Tracked by #1524
ElaiShalevRH opened this issue Sep 30, 2024 · 2 comments
Open
Tracked by #1524

Extend kn-workflow CLI to Generate K8s secrets for workflows #2630

ElaiShalevRH opened this issue Sep 30, 2024 · 2 comments

Comments

@ElaiShalevRH
Copy link

The current functionality of the kn-workflow CLI allows for the generation of Kubernetes resources, specifically SonataFlow CRs and a series of ConfigMap CRs, based on the application.properties file, schemas and spec folders. However, a common use case has emerged where users need to patch the generated SonataFlow CR to mount a secret into the pod, making environment variables available to the workflow's application.

To streamline this process, we propose extending the kn-workflow plugin with the ability to Generate Kubernetes Secret from secret.properties files, while ensuring proper resource ordering. We will also update the plugin documentation and will provide examples.

@ElaiShalevRH
Copy link
Author

Hey @ricardozanini, would like to get your blessing for this :) Thanks

@ricardozanini
Copy link
Member

+1

@treblereel, can you please also evaluate this one for the upcoming improvements in EPIC?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants