From fc627f5c57887208fa5cb9367e75b073a02096aa Mon Sep 17 00:00:00 2001 From: Jamie Land Date: Tue, 18 Mar 2025 12:23:30 -0400 Subject: [PATCH] Fixing precommit issues --- .gitignore | 2 +- chart/README.md | 1 - chart/templates/config.yaml | 2 +- chart/templates/openshift/route.yaml | 2 +- chart/values.yaml | 10 ++-------- 5 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 76228118b..3396249e4 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,4 @@ venv/ pytest-report.xml .coverage .python-version -**/local-* \ No newline at end of file +**/local-* diff --git a/chart/README.md b/chart/README.md index cbd704078..bf21dc55b 100644 --- a/chart/README.md +++ b/chart/README.md @@ -86,7 +86,6 @@ By default llama-stack will use the run.yaml config that comes with the specifie | `route.tls.enabled` | `bool` | `true` | Enables or disables TLS for the OpenShift Route, providing secure communication. | | `route.tls.insecureEdgeTerminationPolicy` | `string` | `"Redirect"` | The policy for handling insecure (HTTP) requests when TLS termination is at the edge (Route). | | `route.tls.termination` | `string` | `"edge"` | Specifies that TLS termination occurs at the OpenShift Route edge. | -| `runConfig.enabled` | `bool` | `false` | Indicates whether a specific run configuration is enabled. | | `service.port` | `int` | `5001` | The port on which the Kubernetes Service will be exposed internally within the cluster. | | `service.type` | `string` | `"ClusterIP"` | The type of Kubernetes Service. `ClusterIP` makes the service only reachable from within the cluster. | | `serviceAccount.annotations` | `object` | `{}` | Annotations for the Kubernetes ServiceAccount. | diff --git a/chart/templates/config.yaml b/chart/templates/config.yaml index f7f7c6373..3cd927839 100644 --- a/chart/templates/config.yaml +++ b/chart/templates/config.yaml @@ -6,4 +6,4 @@ metadata: data: run.yaml: |- {{- .Files.Get "files/run.yaml" | nindent 4 }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/chart/templates/openshift/route.yaml b/chart/templates/openshift/route.yaml index d64c89265..e3c541725 100644 --- a/chart/templates/openshift/route.yaml +++ b/chart/templates/openshift/route.yaml @@ -28,4 +28,4 @@ spec: insecureEdgeTerminationPolicy: {{ .Values.route.tls.insecureEdgeTerminationPolicy }} {{- end }} wildcardPolicy: None -{{- end }} \ No newline at end of file +{{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index cbd359c60..07171423c 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -17,17 +17,11 @@ vllm: # https://llama-stack.readthedocs.io/en/latest/distributions/selection.html distribution: distribution-remote-vllm -runConfig: - enabled: false - # customYaml: - # Your custom run.yaml configuration file can be pasted here - # If not set, the default run.yaml file in the `files/run.yaml` will be used - telemetry: enabled: false serviceName: "otel-collector.openshift-opentelemetry-operator.svc.cluster.local:4318" sinks: "console,sqlite,otel" - + # Use to allow for other env variables to be passed to the container # env: # MY_CUSTOM_ENV_VAR: "my-custom-env-var-value" @@ -147,7 +141,7 @@ startupProbe: initialDelaySeconds: 40 periodSeconds: 10 failureThreshold: 30 - + # This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/ autoscaling: enabled: false