Skip to content

feat(application): KEDA trigger fields, fallback and ServiceMonitor name (PLATENG-1306) - #30

Merged
ryanmcafee merged 1 commit into
mainfrom
PLATENG-1306/keda-trigger-fields
Sep 25, 2026
Merged

ryanmcafee merged 1 commit into
mainfrom
PLATENG-1306/keda-trigger-fields

Conversation

@tokio-on-jupiter

Copy link
Copy Markdown
Contributor

Why

query-engine #2391 gives executor a two-trigger KEDA ScaledObject (SQS backlog plus a Prometheus Neo4j queue-depth gate) combined by a scalingModifiers formula, with a fallback, and a ServiceMonitor named executor. The chart could not express three parts of that: triggers had no name/metricType/useCachedMetrics, every trigger was forced to carry authenticationRef (a prometheus trigger has none), fallback was not rendered, and the ServiceMonitor name was fixed to <name>-svc-monitor.

What

  • keda.triggers[]: name, metricType, useCachedMetrics emitted when set; authenticationRef: false omits the reference for that trigger (string still overrides the name, default unchanged).
  • keda.fallback: passed through like advanced.
  • serviceMonitor.name: optional override.
  • Values comments, README rows, 5 new unit tests (63 total, 42 snapshots unchanged), lint clean. Existing renders are byte-identical: every new field is opt-in.

Consumed by query-engine-infra to mirror the executor autoscaler (PLATENG-1306); pin bump there follows the release.

…lback, ServiceMonitor name

scalingModifiers formulas reference triggers by name, and a prometheus
trigger has no AWS identity to assume, so a trigger can now opt out of
authenticationRef. fallback passes through like advanced. ServiceMonitor
gets a name override so an adopted monitor keeps its live name.

Co-authored-by: Claude <noreply@anthropic.com>
@tokio-on-jupiter
tokio-on-jupiter requested a review from a team as a code owner September 25, 2026 00:27
@github-actions

Copy link
Copy Markdown

@tokio-on-jupiter Validation Successful

@ryanmcafee
ryanmcafee merged commit 0f68c71 into main Sep 25, 2026
3 checks passed
@ryanmcafee
ryanmcafee deleted the PLATENG-1306/keda-trigger-fields branch September 25, 2026 13:54
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