couler-proj / couler

Unified Interface for Constructing and Managing Workflows on different workflow engines, such as Argo Workflows, Tekton Pipelines, and Apache Airflow.
https://couler-proj.github.io/couler/index.html
Apache License 2.0
893 stars 86 forks source link

Example for usage of secret #231

Open nooraangelva opened 2 years ago

nooraangelva commented 2 years ago

Summary

What change needs making? Example script on how to use created secret successfully. I have tried myself using the following code from test It creates a secret successfully but fails to echo the secrets value.

Use Cases

When would you use this? when I need to use a secret for example in the authentication.

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

surajnarwade commented 2 years ago

+1 to the issue, it's quite straightforward to use secrets as environment variables but could not find a way to mount the secrets as a volume inside the container.

moshewe commented 2 years ago

we do that using an external secrets definition file through argo cd