Skip to content

feat: add condition to override kibana url #322

Open
ce314007 wants to merge 5 commits into
BaritoLog:masterfrom
ce314007:feat/openkibanabutton
Open

feat: add condition to override kibana url #322
ce314007 wants to merge 5 commits into
BaritoLog:masterfrom
ce314007:feat/openkibanabutton

Conversation

@ce314007
Copy link
Copy Markdown
Contributor

@ce314007 ce314007 commented Mar 3, 2026

No description provided.

Comment on lines +72 to +74
- location_name = app_group.kibana_helm_infrastructure&.infrastructure_location&.name
- override_map = ENV['BARITO_VIEWER_DOMAIN_OVERRIDED_MAP'].to_s.split(',').map { |pair| pair.split('=') }.to_h
- viewer_domain = override_map[location_name] || Figaro.env.viewer_domain
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.

if we put this here, this will be read again and again (in a loop), can we put this outside of the loop so this operation will be executed only once?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants