-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
script template should support env #711
Comments
I agree with your use case especially secrets and environment variables. Being able to control |
Indeed @jessesuen I'd like to control the Is it planned for soon ? Do you want me to open a dedicated issue for that ? |
Is this a BUG REPORT or FEATURE REQUEST?:
Feature request
What happened:
I wanted to use an existing Secret's values in a
script
template, so I tried to useenv
(in the same vein as thecontainer
template).What you expected to happen:
env
is ignored in the Workflow, and isn't present in the resulting container'sspec
.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
A couple of workarounds exist:
script
, use acontainer
template and include the script source as araw
artifact 👍script
, use acontainer
template and inline the script withargs
😐kubectl
binary as an input artifact and read from the Secret in the script source 😵I feel like
volumeMounts
should also be supported, though I don't need it for this use case.Environment:
The text was updated successfully, but these errors were encountered: