diff --git a/charts/sysdig-mcp/Chart.yaml b/charts/sysdig-mcp/Chart.yaml index 09eecaa..e751341 100644 --- a/charts/sysdig-mcp/Chart.yaml +++ b/charts/sysdig-mcp/Chart.yaml @@ -26,4 +26,4 @@ version: 0.1.3 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v0.1.3-beta.0" +appVersion: "v0.1.3-beta.1" diff --git a/charts/sysdig-mcp/values.yaml b/charts/sysdig-mcp/values.yaml index 765c3e4..4cb43f8 100644 --- a/charts/sysdig-mcp/values.yaml +++ b/charts/sysdig-mcp/values.yaml @@ -8,7 +8,7 @@ image: repository: ghcr.io/sysdiglabs/sysdig-mcp-server pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "v0.1.3-beta.0" + tag: "v0.1.3-beta.1" imagePullSecrets: [] nameOverride: "" diff --git a/pyproject.toml b/pyproject.toml index 1760fb7..b1d7526 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sysdig-mcp-server" -version = "0.1.3-beta.0" +version = "0.1.3-beta.1" description = "Sysdig MCP Server" readme = "README.md" requires-python = ">=3.12" diff --git a/utils/sysdig/client_config.py b/utils/sysdig/client_config.py index ac244da..c4103b1 100644 --- a/utils/sysdig/client_config.py +++ b/utils/sysdig/client_config.py @@ -79,7 +79,7 @@ def _get_public_api_url(base_url: str) -> str: # This assumes the region is a subdomain that starts with 2 lowercase letters and ends with a digit pattern = re.search(r"https://(?:(?P[a-z]{2}\d)\.app|app\.(?P[a-z]{2}\d))\.sysdig\.com", base_url) if pattern: - region = pattern.group(1) # Extract the region + region = pattern.group("region1") or pattern.group("region2") # Extract the region return f"https://api.{region}.sysdig.com" else: # Edge case for the secure API URL that is us1