-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Portainer Secrets cannot be found by Stack Compose File #11950
Comments
If you have created a secret outside of the stack file you need to add the secret as
You reference the secret ( |
@jamescarppe i think i tried this first tho i may miss-configured something. I'll try again and see if that helps. |
Before you start please confirm the following.
Problem Description
Unable to use secrets defined in Portainer UI in docker compose file when creating or updating Stack.
Every time i try to do so i get error message saying undefined secret
Here secrets UI
Relevant stack file part:
Expected Behavior
Being able to use my secrets defined in Portainer
Actual Behavior
Every time i try to use already defined secret then i get error message saying undefined secret.
Steps to Reproduce
Create any secret in Portainer UI and try to using while creating Service Stack
Portainer logs or screenshots
No response
Portainer version
2.19.5
Portainer Edition
Community Edition (CE)
Platform and Version
Docker Swarm 26.1.3
OS and Architecture
Ubuntu jammy 22.04 x86_64
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: