Skip to content

Conversation

@gnosek
Copy link
Collaborator

@gnosek gnosek commented Nov 27, 2023

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area tests

/area proposals

What this PR does / why we need it:

Without this PR, the injected sidecars are pretty much forced to run with the default environment. This PR introduces two ways to control the sidecar environment:

  1. Any changes to the environment in the top-level environment_variables section are propagated to sidecars
  2. Each sidecar (mount section in the config) can have its own private environment variables that take preference over the top-level ones

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

This is falcosecurity/kilt#81, resubmitted without changes

Copy link
Collaborator

@pgcrooks-sysdig pgcrooks-sysdig left a comment

Choose a reason for hiding this comment

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

Hopefully the renames will unblock the tests.

@gnosek
Copy link
Collaborator Author

gnosek commented Nov 27, 2023

Working on these right now. Yeah, something like this.

Copy link
Collaborator

@francesco-racciatti francesco-racciatti left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@pgcrooks-sysdig pgcrooks-sysdig left a comment

Choose a reason for hiding this comment

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

LGTM

@gnosek gnosek merged commit 1d6c072 into dev Dec 7, 2023
@gnosek gnosek deleted the sidecar-env branch December 7, 2023 11:03
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.

4 participants