Skip to content

Commit

Permalink
Make sure the meUser gets set to the host user. (#178)
Browse files Browse the repository at this point in the history
* Make sure the meUser gets set to the host user.

* add test stub for v4 meuser stuff

---------

Co-authored-by: Mike Pirog <[email protected]>
  • Loading branch information
reynoldsalec and pirog committed Oct 10, 2024
1 parent 3b2f116 commit 43be6c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builders/lando-v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = {

// add some upstream stuff and legacy stuff
upstream.appMount = config['app-mount'].destination;
upstream.legacy = merge({}, {meUser: username}, upstream.legacy ?? {});
upstream.legacy = merge({}, upstream.legacy ?? {}, {meUser: username});
// this will change but for right now i just need the image stuff to passthrough
upstream.config = {image: config.image};

Expand Down
3 changes: 3 additions & 0 deletions examples/lando-v4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Run the following commands to verify things work as expected
```bash
# should do something
true

# should run container operations as the host user
true
```

Destroy tests
Expand Down

0 comments on commit 43be6c4

Please sign in to comment.