[HWORKS-2971] Document Trino authentication in disaster-recovery backup/restore#620
Merged
Merged
Conversation
… backups https://hopsworks.atlassian.net/browse/HWORKS-2971 Document Trino authentication in the disaster-recovery backup section: the password and group files and the admin and monitoring credentials are labelled and captured by the k8s-backups-main Velero schedule, Hopsworks rebuilds the password and group files from restored RonDB state after a restore, and the internal shared secret is deliberately not backed up. Add the operator notes on protecting the backup store (it holds usable admin credentials) and the ArgoCD ignoreDifferences requirement for self-healing installs. Signed-off-by: Jim Dowling <jim@logicalclocks.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Disaster Recovery documentation to explicitly cover how Trino authentication data is handled during Velero-backed backup/restore, including post-restore behavior and operator guidance for secure handling and ArgoCD-managed clusters.
Changes:
- Expands the “Kubernetes objects” backup scope description to include Trino authentication artifacts.
- Adds a new “Trino authentication” section describing what is backed up, what is rebuilt after restore, and what is intentionally not backed up.
- Adds operator-facing warning/note callouts for credential exposure in backups and ArgoCD self-healing considerations.
o-alex
reviewed
Jul 23, 2026
o-alex
left a comment
Contributor
There was a problem hiding this comment.
From the HWORKS-2971 ticket review.
o-alex
approved these changes
Jul 23, 2026
… backups https://hopsworks.atlassian.net/browse/HWORKS-2971 Add an operator note to the Trino authentication DR section: the automatic recovery holds only for backups taken after this feature was deployed. A pre-upgrade backup does not contain the Trino Secrets (they were not yet labelled for the k8s-backups-main schedule), and an existing cluster first has such a backup only after its next backup cycle. Restoring an older backup still recovers all RonDB-derived authentication via the reconciliation, but not the admin/monitoring credential entries, which are re-rendered from chart values on a fresh install, so out-of-band rotations are lost and Prometheus may need its Trino monitoring credentials re-aligned. Signed-off-by: Jim Dowling <jim@logicalclocks.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: https://hopsworks.atlassian.net/browse/HWORKS-2971
Paired PRs: logicalclocks/hopsworks-ee#3177, logicalclocks/hopsworks-helm#2147
Summary
k8s-backups-mainVelero schedule (included in the Kubernetes-objects backup).createSharedSecret: falseDR note).ignoreDifferences+RespectIgnoreDifferenceson the Trino auth Secrets.Test plan
markdownlint-cli2passes on the changed page.