diff --git a/.github/workflows/kubernetes-charts-build.yaml b/.github/workflows/kubernetes-charts-build.yaml index fe0a8b9..60d7da7 100644 --- a/.github/workflows/kubernetes-charts-build.yaml +++ b/.github/workflows/kubernetes-charts-build.yaml @@ -27,6 +27,19 @@ jobs: with: fetch-depth: 0 + - name: 🧹 Free up disk space + run: | + df -h # Optional: Check space before build + # Remove large, unnecessary packages/tools + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /usr/share/swift + sudo rm -rf /usr/share/rust + sudo rm -rf /usr/share/powershell + # Remove cached tools and files + sudo apt-get clean + df -h # Optional: Check space before build + - name: Set up Helm uses: azure/setup-helm@v4.3.1 diff --git a/helm-charts/medcat-trainer-helm/Chart.yaml b/helm-charts/medcat-trainer-helm/Chart.yaml index 4604112..b00f4ee 100644 --- a/helm-charts/medcat-trainer-helm/Chart.yaml +++ b/helm-charts/medcat-trainer-helm/Chart.yaml @@ -21,7 +21,7 @@ version: 0.0.1 # 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: "3.5.1" +appVersion: "3.6.0" maintainers: - name: alhendrickson diff --git a/helm-charts/medcat-trainer-helm/README.md b/helm-charts/medcat-trainer-helm/README.md index 499929d..1d61ea5 100644 --- a/helm-charts/medcat-trainer-helm/README.md +++ b/helm-charts/medcat-trainer-helm/README.md @@ -127,6 +127,7 @@ These features are not yet existing but to be added in future: | serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | solr.auth.enabled | bool | `false` | | +| solr.collection | string | `""` | Disable default collection creation by setting to empty string. MedCAT trainer does not require the collection to exist. | | solr.collectionReplicas | int | `1` | | | solr.collectionShards | int | `1` | | | solr.image.repository | string | `"bitnamilegacy/solr"` | | diff --git a/helm-charts/medcat-trainer-helm/values.yaml b/helm-charts/medcat-trainer-helm/values.yaml index 428c883..2e42cf8 100644 --- a/helm-charts/medcat-trainer-helm/values.yaml +++ b/helm-charts/medcat-trainer-helm/values.yaml @@ -165,6 +165,8 @@ medcatConfig: | solr: replicaCount: 1 + # -- Disable default collection creation by setting to empty string. MedCAT trainer does not require the collection to exist. + collection: "" collectionShards: 1 collectionReplicas: 1 @@ -178,7 +180,7 @@ solr: app.kubernetes.io/part-of: cogstack image: repository: bitnamilegacy/solr - # Pin legacy version of postgresql following bitnami change to remove free images. Match prefect version + # Pin legacy version of solr following bitnami change to remove free images tag: 9.9.0-debian-12-r1 zookeeper: