Skip to content

Add podAnnotations support to executor deployment#306

Open
mhotan wants to merge 1 commit intomainfrom
mike/executor-pod-annotations
Open

Add podAnnotations support to executor deployment#306
mhotan wants to merge 1 commit intomainfrom
mike/executor-pod-annotations

Conversation

@mhotan
Copy link
Contributor

@mhotan mhotan commented Mar 26, 2026

Summary

  • The executor (nodeexecutor) deployment template was missing podAnnotations and global.podAnnotations support, unlike all other dataplane deployments
  • This prevented operators from adding annotations like prometheus.io/scrape: "true" for OTel collector pod discovery

Context

Discovered during Apple integration — their Mosaic OTel collector uses kubernetes_sd_configs with prometheus.io/scrape pod annotations for target discovery. All other DP deployments support this via executor.podAnnotations or the global additionalPodAnnotations, but the executor template was missed.

Test plan

  • make generate-expected — snapshots regenerated
  • make test — kubeconform passes

🤖 Generated with Claude Code

@aviator-app
Copy link
Contributor

aviator-app bot commented Mar 26, 2026

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR is not ready to merge (currently in state pending): this PR has not been approved.

Pending Status Checks

  • ✅ 3 tests passing!

See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@mhotan mhotan force-pushed the mike/executor-pod-annotations branch from 32df451 to 55a82af Compare March 26, 2026 04:25
The executor (nodeexecutor) deployment was missing podAnnotations and
global.podAnnotations support. The cacheservice, authz, and console
controlplane templates were missing the global .Values.podAnnotations
fallback.

This enables operators to add annotations like prometheus.io/scrape
for OTel collector discovery across all Union services.

Verified via existing test values (added podAnnotations to
dataplane.additional-podlabels.yaml and controlplane.aws.yaml).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mhotan mhotan force-pushed the mike/executor-pod-annotations branch from 55a82af to 0b0b6b9 Compare March 26, 2026 04:52
@mhotan
Copy link
Contributor Author

mhotan commented Mar 26, 2026

/aviator merge

@aviator-app
Copy link
Contributor

aviator-app bot commented Mar 26, 2026

Aviator has accepted the merge request. It will enter the queue when all of the required status checks have passed. Aviator will update the sticky status comment as the pull request moves through the queue.

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.

1 participant