Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 25, 2024
1 parent 6ae5cee commit 35d143d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChatQnA/kubernetes/helm_charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

apiVersion: v2
name: chatqna-charts
description: A Helm chart for Kubernetes
Expand Down
3 changes: 3 additions & 0 deletions ChatQnA/kubernetes/helm_charts/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

apiVersion: v1
kind: ConfigMap
metadata:
Expand Down
7 changes: 5 additions & 2 deletions ChatQnA/kubernetes/helm_charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

{{- range $deployment := .Values.deployments }}
apiVersion: apps/v1
kind: Deployment
Expand All @@ -22,7 +25,7 @@ spec:
name: qna-config
{{- if $deployment.spec.args }}
args:
{{- range $arg := $deployment.spec.args }}
{{- range $arg := $deployment.spec.args }}
{{- if $arg.name }}
- {{ $arg.name }}
{{- end }}
Expand Down Expand Up @@ -100,6 +103,6 @@ spec:
{{- end }}
{{- end }}


---
{{- end }}
3 changes: 3 additions & 0 deletions ChatQnA/kubernetes/helm_charts/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

{{- range $service := .Values.services }}
apiVersion: v1
kind: Service
Expand Down
4 changes: 3 additions & 1 deletion ChatQnA/kubernetes/helm_charts/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

config:
EMBEDDING_MODEL_ID: BAAI/bge-base-en-v1.5
EMBEDDING_SERVER_HOST_IP: embedding-dependency-svc
Expand Down Expand Up @@ -254,4 +257,3 @@ services:
selector:
app: vector-db
type: ClusterIP

0 comments on commit 35d143d

Please sign in to comment.