Skip to content

Conversation

@mattmoor
Copy link
Member

@mattmoor mattmoor commented Dec 5, 2025

Right now this is backwards, so custom assembly overlays wouldn't appropriately override the base configuration's setting.

Right now this is backwards, so custom assembly overlays wouldn't appropriately override the base configuration's setting.

Signed-off-by: Matt Moore <[email protected]>
Comment on lines 160 to 162
target.Users = slices.Concat(a.Users, target.Users)
target.Groups = slices.Concat(a.Groups, target.Groups)
return nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these wrong too? Do we need to dedupe (with preference for a) if a user or group is defined in both?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, we use this backwards from what I expected downstream, so I believe this is already doing what we want, and I just wrote the (downstream) test backwards.

StopSignal: "bar",
WorkDir: "bar",
Accounts: types.ImageAccounts{
RunAs: "bar",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do WorkDir, Cmd, etc., all get "bar" when this should get "foo"?

This code is weird.

@mattmoor mattmoor closed this Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants