Replies: 5 comments
-
I.E. the name of the user who is logged in. Ideally, we want to to able to pass this username as an environment variable to the stack |
Beta Was this translation helpful? Give feedback.
-
What about defining your own environment variable and passing the value of your choice (the username) in this variable? |
Beta Was this translation helpful? Give feedback.
-
@deviantony we want it to be automated for the user, not give him a choice to define something else. Based on this username, we are mounting secrets and private keys into the container. Wrong username can reveal others' private keys. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, we would also like to use these features. We have custom templates which we would like to automate so every new container has as least as possible fields to enter. What is the situation with this request? |
Beta Was this translation helpful? Give feedback.
-
@asoldo11 I have updated the labels for this issue to correctly show that it is a enhancement request and not a question. Portainer is open to the community to introduce features, so if you are able, feel free to open a PR 👍 |
Beta Was this translation helpful? Give feedback.
-
Question:
In our infra one specific guy is going to create a new stack by using a already coded portainer stack template file. We have a need for this user's username. You guys know if I can get the username and pass it to the stack as a environment var?
Beta Was this translation helpful? Give feedback.
All reactions