8000 📝 Point license management at the installer and fix the scope description by abahmed · Pull Request #613 · abahmed/kwatch · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions 7 deploy/chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ keep`). Because neither the previous nor the new manifest has `data`, Helm's
three-way merge leaves the instance key kwatch wrote alone on upgrade. If you
install without this chart's
templates, create that Secret empty (type Opaque) yourself, or the license
stays pending and Community. Besides the instance key, `kwatch license
deactivate` writes a `deactivated-at` field to the same Secret so the running
leader drops its lease and falls back to Community. Licenses use 3 day leases
stays pending and Community. Besides the instance key, kwatch writes a
`deactivated-at` field to the same Secret when the license is deactivated
from the installer's License / Pro menu, so the running leader drops its lease
and falls back to Community. Licenses use 3 day leases
with a 4 day grace, so a cluster that cannot reach the license server keeps
Pro for at most 7 days.

Expand Down
2 changes: 1 addition & 1 deletion deploy/feature-catalog.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ incidents.startup-summary|startup|Summarise pre-existing incidents once at cold
incidents.state|startup|Keep incidents and history on disk across restarts||pro
incidents.downtime-changes|startup|Report changes made while kwatch was down|incidents.state|pro
incidents.gap-report|startup|Report what changed and crashed while kwatch was down|incidents.downtime-changes|pro
policy.scope|runtime|Filter by namespace, reason, selector and silences||community
policy.scope|runtime|Filter by namespace lists and silences||community
policy.severity|runtime|Override severity by reason and owner kind||pro
policy.maintenance|runtime|Hold incidents for objects under maintenance||pro
policy.runbooks|runtime|Attach reason-aware runbook links||pro
Expand Down
3 changes: 2 additions & 1 deletion docs/production-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,8 @@ A file that cannot be read at all is replaced by an empty one (see
Kwatch serves no diagnostic endpoints and writes nothing to the cluster except
its own Lease, the license instance Secret (`kwatch-license-instance`, only
when a license key is configured: kwatch updates its instance key there, and
`kwatch license deactivate` writes a `deactivated-at` field) and
a `deactivated-at` field appears when the license is deactivated from the
installer's License / Pro menu) and
SelfSubjectAccessReviews for its permission audit (not persisted). The
license Secret grant is `get` and `update` on that one name, and the audit
checks it when a key is set. Secret values are only hashed, and evidence is redacted before
Expand Down
2 changes: 1 addition & 1 deletion internal/feature/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ var definitions = []Definition{
StartupOnly, []ID{DowntimeChanges},
},
{
Scope, "Filter by namespace, reason, selector and silences",
Scope, "Filter by namespace lists and silences",
Runtime, nil,
},
{
Expand Down
0