Skip to content

Add K_CE_OVERRIDE to cloudevents plugin.#3

Merged
pantierra merged 2 commits into
mainfrom
feature/add-k-ce-overrides
Sep 18, 2025
Merged

Add K_CE_OVERRIDE to cloudevents plugin.#3
pantierra merged 2 commits into
mainfrom
feature/add-k-ce-overrides

Conversation

@pantierra
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread eoapi_notifier/outputs/cloudevents.py Outdated

# Apply KNative CE overrides if present
ce_extensions = {}
if k_ce_overrides := os.getenv("K_CE_OVERRIDES"):
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looking up K_CE_OVERRIDES in each call is not needed. It does not change over time.

@pantierra pantierra force-pushed the feature/add-k-ce-overrides branch from e699382 to 08732c1 Compare September 18, 2025 10:21
@pantierra
Copy link
Copy Markdown
Contributor Author

Indeed. Changed to read the overrides in at the beginning only.

@pantierra pantierra force-pushed the feature/add-k-ce-overrides branch from 08732c1 to f5ab594 Compare September 18, 2025 12:41
@pantierra pantierra merged commit 116327e into main Sep 18, 2025
3 checks passed
@pantierra pantierra deleted the feature/add-k-ce-overrides branch September 18, 2025 12:42
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