<razrdog[m]>
everything is running as user buildbot and i've ensured /opt/buildbot/** are owned by buildbot:buildbot
<glogan>
Is the dir name being passed t on the secret provider the correct directory *inside* the container?
<glogan>
That bit me for a while
<glogan>
Since my containers are based o the upstream container
<razrdog[m]>
I think that makes sense. so if my secrets on buildmaster are /opt/buildbot/secrets/ then i need to ensure that build worker is running in /opt/buildbot/ as well?
<razrdog[m]>
my container is also based on upstream, this is my first time using a containerized worker so i'm guessing i'll have a few things to figure out
<razrdog[m]>
after what you said about matching directories I tested just echoing a secret with shellcommand and that is also an issue on the container, while secrets work fine on non containerized workers.
<razrdog[m]>
I'll report back what i figure out
<glogan>
Yeah that sounds like a path issue to me.
<glogan>
The upstream container's default root is... /builder I think?
<glogan>
As long as you're mounting /opt/whatever to the exact same place inside the container it should work, but the uids might not match. If you don't mount it to the same place then it's probably paths.
<razrdog[m]>
you were dead on! I've moved my build master to /builbot to match the worker container and I can now pass secrets
<glogan>
Yay!
<razrdog[m]>
Now that the secrets can be read I am getting another issue about the ssh key formatting. It seems to be the same issue marked here https://github.com/buildbot/buildbot/issues/5264 has anyone in here used or come across this? my secrets config does not contain the strip=True mentioned in the issue.