mirror of
https://github.com/immich-app/yucca.git
synced 2026-09-30 13:33:00 +08:00
refactor(tf): move freshdesk ownership into partition-level global/freshdesk stacks (#580)
This commit is contained in:
@@ -188,10 +188,13 @@ self-heals by re-reading messages after the stored cursors. Dormant unless
|
||||
|
||||
**Freshdesk-side setup**: the ticket-update **automation rule** (reply /
|
||||
public note / status change, performed by agent → webhook to the capability
|
||||
URL with the `x-freshdesk-secret` header) and the per-env **agent group** are
|
||||
**TF-managed** (`freshdesk.tf` in each talos stack, `slop-place/freshdesk`
|
||||
provider); the rule's events/actions JSON is validated by Freshdesk itself on
|
||||
first apply. What stays
|
||||
URL with the `x-freshdesk-secret` header), the per-env **agent group**, and
|
||||
the webhook credentials themselves are owned by the partition-wide
|
||||
**`tf/deployment/<partition>/global/freshdesk` stack** (`slop-place/freshdesk`
|
||||
provider); the talos stack consumes the minted values back through 1P
|
||||
(`YUCCA_FRESHDESK_WEBHOOK_{PATH,SECRET}`, `YUCCA_FRESHDESK_GROUP_ID`) into
|
||||
the bot Secret and cluster-secrets. The rule's events/actions JSON is
|
||||
validated by Freshdesk itself on first apply. What stays
|
||||
manual, once per account: create a dedicated **bot agent** and put its API
|
||||
key in the `YUCCA_FRESHDESK_API_KEY` item (with `YUCCA_FRESHDESK_URL` beside
|
||||
it), and put an **admin** agent's key in `YUCCA_FRESHDESK_ADMIN_API_KEY` —
|
||||
|
||||
Reference in New Issue
Block a user