Revert "NO-ISSUE: discover fulfillment certificates and deployments by label in refresh script" - #237
Conversation
…y label …" This reverts commit 5c5ef33.
|
@omer-vishlitzky: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: omer-vishlitzky 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 |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: osac-project/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR modifies fulfillment service initialization in two deployment scripts: changing AAP job-launch error handling from automatic curl failure to retry-loop dependency, and replacing dynamic label-based discovery with explicit hardcoded fulfillment deployment lists across TLS waiting and restart phases. ChangesFulfillment Service Reliability and Determinism
Sequence DiagramsequenceDiagram
participant PrepScript as prepare-fulfillment-service.sh
participant AAP as AAP Job Launcher
participant curl as curl
participant jq as jq parser
participant RefreshScript as refresh-after-snapshot.sh
participant OC as oc kubectl
PrepScript->>curl: curl -ksS (no -f flag)
curl->>AAP: POST /launch job
AAP-->>curl: HTTP response (2xx or error)
curl-->>jq: response body
jq->>jq: parse job ID or error
jq-->>PrepScript: result / proceed to retry
RefreshScript->>OC: wait for hardcoded certs in parallel
OC-->>RefreshScript: cert readiness
RefreshScript->>OC: restart hardcoded deployments
OC-->>RefreshScript: restart initiated
RefreshScript->>OC: rollout status (PID tracked)
OC-->>RefreshScript: rollout success/failure
Risk Assessment & Security Implications🔒 Error Handling Semantic Shift (Medium Risk) ✓ Determinism Hardening (Low to Medium Risk Reduction) Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly Related PRs
Suggested Labels
Suggested Reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reverts #236
Summary by CodeRabbit