Skip to content

Commit

Permalink
Update deployment.yaml - fix debugging enabled issue
Browse files Browse the repository at this point in the history
Fix for volume issue occuring when debugging is on, see srsran#4
  • Loading branch information
hudouseko authored Sep 12, 2024
1 parent 1e2c6ca commit baf8b9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/srsran-project/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
{{- if .Values.debugging.enabled }}
- name: srs-host-volume
hostPath:
path: {{ .Values.debugging.hostPath }}/{{ now | date "2006-01-02--15:04:05" }}
path: {{ .Values.debugging.hostPath }}/{{ now | date "20060102-150405" }}
type: DirectoryOrCreate
{{- end }}
{{- if .Values.config.hal }}
Expand All @@ -60,8 +60,8 @@ spec:
- name: config-volume
mountPath: /etc/config
{{- if .Values.debugging.enabled }}
- mountPath: {{ .Values.debugging.containerPath }}
name: srs-host-volume
- name: srs-host-volume
mountPath: {{ .Values.debugging.containerPath }}
{{- end }}
{{- if .Values.config.hal }}
- name: hugepage-1gi
Expand Down

0 comments on commit baf8b9a

Please sign in to comment.