feat(aws): configure basic auth for bindle#74
Conversation
Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
1162a50 to
221e18c
Compare
|
@bacongobbler with the current commit, services deploy correctly but I'm unable to deploy an app. Looking at the bindle logs, I see auth errors like the following, presumably from hippo requests: The deploy itself fails like so: I'm not seeing any logs in Hippo, even with I wonder if the first thing we can double-check is that Hippo is passing along the username and password correctly? If easier/more convenient to test using the local installer, you can try this wip branch instead: https://github.com/vdice/fermyon-installer/tree/wip/local-bindle-basic-auth |
|
This is probably because Hippo does not propagate bindle credential auth down to the nomad job. Hippo can fetch information from bindle, but the nomad job running Spin cannot pull the bindle because it doesn't have the username/password credentials. |
|
Thanks @bacongobbler -- I'll have to double-check but I think bindle-server v0.8.0 running with basic auth actually still allows anonymous GETs, so Spin should be able to fetch bindles as usual. I'll need to double-check this. But I can confirm that the Nomad job representing the Spin app hasn't yet been scheduled on Nomad when I hit this behavior; so I think we're encountering issues prior to this. |
|
Hmm, okay. I’ll see if I can reproduce the issue tomorrow. Thanks for looking into this. |
Ref #3