← All changes
Harvester UI · Developed by us

Alert receivers can pick their secrets again, on the updated Rancher UI library

When setting up where Harvester sends alerts (Slack, email, PagerDuty, Opsgenie, webhook), the secret dropdowns listed only "None", so a receiver could not point at its webhook or password secret. We updated the shared Rancher UI library that Harvester's UI is built on, which fixes this, and we fixed everything the update would have broken.

Merged PR 1208 ↗ Issue 8520 ↗ PR 1207 (probe, closed) ↗ Dashboard PR 19677 ↗ Dashboard PR 19679 ↗ Dashboard PR 19684 ↗
What changes for the user
Needs a decision

The flow

1

Choose the secret for an alert receiver

The namespace has two secrets. Before, the dropdown showed only "None". Now it lists both.

Create Receiver, Slack: the Secret with Slack Webhook URL dropdown shows only None before, and None, ops-team-webhook and slack-webhook-url after
The same happens for Email, PagerDuty, Opsgenie and Webhook receivers. The secrets were always there; the UI asked the server for them in a way this Harvester version answers with an empty list.
2

Save the receiver

After picking the secret and its key, "Create" saves them with the receiver.

Before: the Key field stays greyed out and the saved receiver has no webhook secret. After: secret slack-webhook-url and key url are chosen and are part of what is saved
Before, the Key stayed greyed out and the receiver was saved without a webhook, so Slack would never get the alerts. The dark box shows what "Create" sent; we answered the save in the browser so the test Harvester was not changed.
3

The YAML editors are the new Rancher editor

Typing and saving work the same, but the YAML colours and the fold arrows are gone.

Cloud configuration template editor: before with coloured YAML and fold arrows, after in plain black text; both send the same cloud-config when saved
Both sides save exactly what was typed (dark box). The plain text on the right is a side effect we only found now; we'd like to fix it in a follow-up.

Video (optional)

0:00 Before: only "None" in the secret dropdown · 0:20 After: pick the secret and key, then Create

Notes