WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@dd-octo-sts
Copy link
Contributor

@dd-octo-sts dd-octo-sts bot commented Dec 5, 2025

Backport e8675d3 from #43677.


What does this PR do?

Update usage of config component to load in cel_workload_exclude configurations through environment variable definitions directly.

Motivation

By default, the config component can't unmarshal envvar values. This configuration option allows the config component to properly read in environment variable values as strings to be loaded into the specified interfaces.

Describe how you validated your changes

Unit Tests

Additional Notes

This migration drops the support of defining the cel_workload_exclude configuration option as a direct YAML string in the Agent's environment. Other complex Agent configuration options only support the JSON version of the environment variable parsing.

… Config Parsing (#43677)

### What does this PR do?

Update usage of config component to load in `cel_workload_exclude` configurations through environment variable definitions directly.

### Motivation

By default, the config component can't unmarshal envvar values. This configuration option allows the config component to properly read in environment variable values as strings to be loaded into the specified interfaces.

### Describe how you validated your changes

Unit Tests

### Additional Notes

This migration drops the support of defining the `cel_workload_exclude` configuration option as a direct YAML string in the Agent's environment. Other complex Agent configuration options only support the JSON version of the environment variable parsing.

Co-authored-by: gabe.dossantos <[email protected]>
(cherry picked from commit e8675d3)
@dd-octo-sts dd-octo-sts bot added changelog/no-changelog qa/done QA done before merge and regressions are covered by tests labels Dec 5, 2025
@dd-octo-sts dd-octo-sts bot requested a review from a team as a code owner December 5, 2025 16:09
@dd-octo-sts dd-octo-sts bot added backport bot team/container-platform The Container Platform Team short review PR is simple enough to be reviewed quickly labels Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bot changelog/no-changelog qa/done QA done before merge and regressions are covered by tests short review PR is simple enough to be reviewed quickly team/container-platform The Container Platform Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants