diff --git a/llamafactory/Chart.yaml b/llamafactory/Chart.yaml index f0d31790..71ee14ac 100755 --- a/llamafactory/Chart.yaml +++ b/llamafactory/Chart.yaml @@ -3,4 +3,4 @@ appVersion: '0.9.1' description: description name: llamafactory type: application -version: '1.0.7' +version: '1.0.8' diff --git a/llamafactory/OlaresManifest.yaml b/llamafactory/OlaresManifest.yaml index f2656afb..9fd1b20a 100755 --- a/llamafactory/OlaresManifest.yaml +++ b/llamafactory/OlaresManifest.yaml @@ -6,7 +6,7 @@ metadata: description: Easily fine-tune 100+ large language models with zero-code CLI and Web UI appid: llamafactory title: LLaMA Factory - version: '1.0.7' + version: '1.0.8' categories: - Developer Tools - Productivity @@ -88,5 +88,11 @@ options: apiTimeout: 0 dependencies: - name: olares - version: '>=1.11.0-0' - type: system \ No newline at end of file + version: '>=1.12.1-0' + type: system + +provider: +- name: llamafactoryapi + entrance: llamafactoryapi + paths: ["/*"] + verbs: ["*"] \ No newline at end of file diff --git a/llamafactory/templates/deployment.yaml b/llamafactory/templates/deployment.yaml index bf60cbe8..171b0a2b 100755 --- a/llamafactory/templates/deployment.yaml +++ b/llamafactory/templates/deployment.yaml @@ -119,6 +119,8 @@ spec: io.kompose.service: llamafactory status: loadBalancer: {} +{{- if .Values.sysVersion }} + {{- if semverCompare "<1.12.1-0" (toString .Values.sysVersion) }} --- apiVersion: sys.bytetrade.io/v1alpha1 kind: ProviderRegistry @@ -138,4 +140,6 @@ spec: - name: All uri: / status: - state: active \ No newline at end of file + state: active + {{- end }} +{{- end }} \ No newline at end of file