Conversation
… db trx are saved
…n to enable unmanaged attributes
…p when running with local flag.
There was a problem hiding this comment.
Pull request overview
This PR fixes the localIp retrieval in values.yaml for local development by adding LoadBalancer IP detection and ensuring the local=True parameter is passed to get_cluster_ip().
Changes:
- Added LoadBalancer IP detection from ingress-nginx service as the preferred method for local development
- Fixed function call to pass
local=Trueparameter toget_cluster_ip()
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tools/deployment-cli-tools/ch_cli_tools/utils.py | Added LoadBalancer IP detection logic before minikube IP fallback |
| tools/deployment-cli-tools/ch_cli_tools/helm.py | Corrected function call to pass local=True parameter |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ], timeout=5).decode("utf-8").strip() | ||
| if out and out != '<no value>': | ||
| return out | ||
| except: |
There was a problem hiding this comment.
Bare except clause catches all exceptions including system exits and keyboard interrupts. Specify except Exception: to catch only expected exceptions while allowing system exits to propagate.
zsinnema
left a comment
There was a problem hiding this comment.
@ddelpiano I think this should go into the development branch of CH, wdyt?
|
@zsinnema @filippomc what would you like me to do with this branch? I can see there are some changes that are reverting to older versions we currently have in develop, not sure this has to into develop or we want to bring it first in a release that is not that far from the upgrades that Zoran started and then merge all back to develop, let me know what you prefer. Thanks! |
No description provided.