[infra] update dashmate configs and Fix ZeroSSL undefined variable ch…#723
[infra] update dashmate configs and Fix ZeroSSL undefined variable ch…#723vivekgsharma merged 1 commit intov1.0-devfrom
Conversation
WalkthroughAdds rs_dapi_image config, updates ZeroSSL Ansible tasks with stricter conditional gating, and extends dashmate.json template: adds core ZMQ settings, deprecates dapi block (disabled), revises dapi build config, and introduces a new rsDapi block with image selection, deploy, build, metrics, and logging settings. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant A as Ansible (zerossl tasks)
participant C as Config Vars
participant L as Local FS
participant S as AWS SSM
A->>C: Read dashmate_zerossl_config_certificate_id<br/>and dashmate_zerossl_ssm_certificate_id
alt config id is defined AND differs from SSM id
A->>S: Update SSM parameter with new certificate id
A->>L: Read private key file
A->>L: Read CSR file
A->>A: Set list of CSR/private key files
loop For each file in list
A->>S: Update corresponding SSM parameter
end
else skip
A-->>A: Skip all update/read tasks
end
sequenceDiagram
autonumber
participant T as dashmate.json.j2 Template
participant V as Ansible Vars
participant D as Docker Runtime
T->>V: Resolve rsDapi image (use rs_dapi_image<br/>or derive from dapi_image)
T-->>D: Emit dapi build config (Dockerfile, target dapi)
T-->>D: Emit rsDapi config (build disabled, target rs-dapi,<br/>deploy replicas var, metrics 127.0.0.1:9091, logs debug)
T-->>D: Emit core ZMQ settings (0.0.0.0:dashd_zmq_port)
T-->>D: Emit dapi.deprecated.enabled=false
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)ansible/**/*.yml📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-08-06T08:09:00.292ZApplied to files:
🔇 Additional comments (6)
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 |
Test completed on Testnet: Deployed on HPMN-16 and HPMN-21
Summary by CodeRabbit
New Features
Refactor
Bug Fixes
Chores