Skip to content

Since Ledger is using the internal IP, it will always be http - #226

Merged
cigamit merged 1 commit into
mainfrom
ledger_internal_http
Aug 31, 2026
Merged

Since Ledger is using the internal IP, it will always be http#226
cigamit merged 1 commit into
mainfrom
ledger_internal_http

Conversation

@cigamit

@cigamit cigamit commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This resolves an issue where it can't setup the link between Ascender and Ledger

@cigamit
cigamit requested a review from TheWitness August 31, 2026 21:51
@cigamit cigamit self-assigned this Aug 31, 2026
Copilot AI lite review requested due to automatic review settings August 31, 2026 21:51
@cigamit cigamit added the bug Something isn't working label Aug 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Pull request overview

This PR fixes the Ascender → Ledger (parser) linkage by forcing the log aggregator endpoint scheme to http when targeting the Ledger parser’s internal ClusterIP, avoiding incorrect https URLs derived from k8s_lb_protocol.

Changes:

  • Hardcode LOG_AGGREGATOR_HOST to http://{{ ledger_parser_ip }} for TKGI, RKE2, K3s, GKE, DKP, and AKS installs.
  • Ensure consistent behavior across Kubernetes distributions where the parser service is a ClusterIP (port 5000).
File summaries
File Description
playbooks/roles/ledger_install/tasks/ledger_install_tkgi.yml Force log aggregator host scheme to HTTP for parser ClusterIP.
playbooks/roles/ledger_install/tasks/ledger_install_rke2.yml Force log aggregator host scheme to HTTP for parser ClusterIP.
playbooks/roles/ledger_install/tasks/ledger_install_k3s.yml Force log aggregator host scheme to HTTP for parser ClusterIP.
playbooks/roles/ledger_install/tasks/ledger_install_gke.yml Force log aggregator host scheme to HTTP for parser ClusterIP.
playbooks/roles/ledger_install/tasks/ledger_install_dkp.yml Force log aggregator host scheme to HTTP for parser ClusterIP.
playbooks/roles/ledger_install/tasks/ledger_install_aks.yml Force log aggregator host scheme to HTTP for parser ClusterIP.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cigamit
cigamit merged commit 683ef4a into main Aug 31, 2026
1 check passed
@cigamit
cigamit deleted the ledger_internal_http branch August 31, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

3 participants