Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ class Hello(BaseTask):

## Changelog

### Version 25.3.1

#### 🛠️ Enhancements

- **Added support** for skipping SSL verification in legacy clusters.

### Version 25.3.0

#### 🛠️ Enhancements
Expand Down
10 changes: 9 additions & 1 deletion digitalai/release/integration/k8s.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import threading

from kubernetes import client, config
Expand Down Expand Up @@ -27,7 +28,14 @@ def get_client():
except Exception:
dai_logger.exception("Failed to load any Kubernetes config")
raise RuntimeError("Could not configure Kubernetes client")
kubernetes_client = client.CoreV1Api()
# Check if SSL verification should be disabled (for legacy clusters)
if os.getenv('SKIP_TLS_LEGACY_K8S', 'false').lower() == 'true':
configuration = client.Configuration.get_default_copy()
configuration.verify_ssl = False
kubernetes_client = client.CoreV1Api(client.ApiClient(configuration))
dai_logger.info("Kubernetes TLS certificate verification disabled")
else:
kubernetes_client = client.CoreV1Api()
#dai_logger.info("Kubernetes client created successfully")

return kubernetes_client
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages = ["digitalai"]

[project]
name = "digitalai_release_sdk"
version = "25.3.0"
version = "25.3.1"
authors = [
{ name="Digital.ai", email="pypi-devops@digital.ai" },
]
Expand Down