Skip to content

Commit

Permalink
tgi: loosen securityContext constraints
Browse files Browse the repository at this point in the history
Fix issue #639

Signed-off-by: Lianhao Lu <[email protected]>
  • Loading branch information
lianhao committed Dec 12, 2024
1 parent 39b96fb commit a61a25f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions helm-charts/common/tgi/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ data:
no_proxy: {{ .Values.global.no_proxy | quote }}
{{- if contains "tgi-gaudi" .Values.image.repository }}
HABANA_LOGS: "/tmp/habana_logs"
TRITON_CACHE_DIR: "/tmp/triton_cache"
{{- end }}
NUMBA_CACHE_DIR: "/tmp"
HF_HOME: "/tmp/.cache/huggingface"
Expand Down
8 changes: 4 additions & 4 deletions helm-charts/common/tgi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ podSecurityContext: {}
# fsGroup: 2000

securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsNonRoot: true
runAsUser: 1000
#readOnlyRootFilesystem: true

Check failure on line 56 in helm-charts/common/tgi/values.yaml

View workflow job for this annotation

GitHub Actions / charts-validate

56:4 [comments] missing starting space in comment
#allowPrivilegeEscalation: false

Check failure on line 57 in helm-charts/common/tgi/values.yaml

View workflow job for this annotation

GitHub Actions / charts-validate

57:4 [comments] missing starting space in comment
#runAsNonRoot: true

Check failure on line 58 in helm-charts/common/tgi/values.yaml

View workflow job for this annotation

GitHub Actions / charts-validate

58:4 [comments] missing starting space in comment
#runAsUser: 1000

Check failure on line 59 in helm-charts/common/tgi/values.yaml

View workflow job for this annotation

GitHub Actions / charts-validate

59:4 [comments] missing starting space in comment
capabilities:
drop:
- ALL
Expand Down

0 comments on commit a61a25f

Please sign in to comment.