We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1. This bug can be reproduced using pure Argo YAML
If yes, it is more likely to be an Argo bug unrelated to Hera. Please double check before submitting an issue to Hera.
2. This bug occurs in Hera when...
Describe the bug When using SecretEnv in a Template, it is not expanded and the resulting entry in env only contains the name.
SecretEnv
Template
env
name
To Reproduce Full Hera code to reproduce the bug:
from hera.workflows import ( Container, Env, SecretEnv, WorkflowTemplate, ) from hera.workflows.models import Template whalesay = Container( image="docker/whalesay:latest", command=["cowsay"], env=[ Env(name="test", value="1"), SecretEnv(name="s1", secret_key="s1", secret_name="abc"), ], ) templates = [Template(name="test", container=whalesay)] wt = WorkflowTemplate(name="test", templates=templates) print(wt.templates[0].container.env)
Results:
[EnvVar(name='test', value='1', value_from=None), EnvVar(name='s1', value=None, value_from=None)]
Expected behavior SecretEnv should be expanded into EnvVar that it's value_from property is populated.
EnvVar
value_from
Environment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Pre-bug-report checklist
1. This bug can be reproduced using pure Argo YAML
If yes, it is more likely to be an Argo bug unrelated to Hera. Please double check before submitting an issue to Hera.
2. This bug occurs in Hera when...
Bug report
Describe the bug
When using
SecretEnv
in aTemplate
, it is not expanded and the resulting entry inenv
only contains thename
.To Reproduce
Full Hera code to reproduce the bug:
Results:
Expected behavior
SecretEnv
should be expanded intoEnvVar
that it'svalue_from
property is populated.Environment
The text was updated successfully, but these errors were encountered: