Skip to content

Commit 4d5ae08

Browse files
Fix Trivy security vulnerabilities and sync README with .env.example for MultiAgentQnA
Signed-off-by: gopal-raj-suresh <gopal.raj.dummugudupu@cloud2labs.com>
1 parent 238a62c commit 4d5ae08

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

core/helm-charts/observability/habana-exporter/habana-metrics.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
operator: "Exists"
2626
effect: "NoSchedule"
2727
# Required for network monitoring
28-
hostNetwork: true
28+
hostNetwork: false
2929
containers:
3030
- name: metric-exporter
3131
image: vault.habana.ai/gaudi-metric-exporter/metric-exporter:1.20.1-97
@@ -34,7 +34,8 @@ spec:
3434
- name: LD_LIBRARY_PATH
3535
value: "/usr/lib/habanalabs"
3636
securityContext:
37-
privileged: true
37+
privileged: false
38+
readOnlyRootFilesystem: true
3839
volumeMounts:
3940
- name: pod-resources
4041
mountPath: /var/lib/kubelet/pod-resources

sample_solutions/MultiAgentQnA/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ INFERENCE_MODEL_NAME=meta-llama/Llama-3.1-8B-Instruct
233233
# Set this to: api.example.com (domain without https://)
234234
# If using a public domain, set any placeholder value like: not-needed
235235
LOCAL_URL_ENDPOINT=not-needed
236+
237+
# SSL Verification Settings
238+
# Set to false only for dev with self-signed certs
239+
VERIFY_SSL=true
236240
EOF
237241
```
238242

@@ -275,6 +279,10 @@ INFERENCE_MODEL_NAME=meta-llama/Llama-3.1-8B-Instruct
275279
# Set this to: api.example.com (domain without https://)
276280
# If using a public domain, set any placeholder value like: not-needed
277281
LOCAL_URL_ENDPOINT=not-needed
282+
283+
# SSL Verification Settings
284+
# Set to false only for dev with self-signed certs
285+
VERIFY_SSL=true
278286
```
279287

280288
**Important Configuration Notes:**

0 commit comments

Comments
 (0)