Set Vault to read-only and scale down secret-collection-manager#79591
Set Vault to read-only and scale down secret-collection-manager#79591psalajova wants to merge 1 commit into
Conversation
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR makes two targeted configuration changes to the Vault infrastructure in the app.ci cluster: enabling read-only mode for the subpath-proxy container in the Vault StatefulSet, and scaling the secret-collection-manager Deployment to zero replicas. ChangesVault Infrastructure Configuration
🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: psalajova The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@psalajova: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Merge this PR to "freeze" Vault on migration day.
(prerequistie ci-tools PR openshift/ci-tools#5197)
/hold
Summary by CodeRabbit
This pull request prepares the OpenShift CI infrastructure's Vault service for migration by implementing two changes:
Vault Read-Only Mode: The Vault subpath-proxy container is configured with a
--read-onlyflag in the Vault StatefulSet manifest, putting the service into read-only mode to prevent any modifications during the migration window.Scaling Down Secret Collection Manager: The
vault-secret-collection-managerDeployment (the selfservice UI for secret management) is scaled down from 2 to 0 replicas, disabling user-facing secret management operations during migration.These changes work together to "freeze" the Vault service on migration day—preventing both programmatic modifications (via read-only mode) and user-initiated secret management actions (by disabling the selfservice UI). The PR is held pending merge at the scheduled migration time.