Skip to content

Commit

Permalink
Changed local log location
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaswell-bcgov committed Jul 12, 2024
1 parent 9f9bcce commit e664d96
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions helm/templates/deployment-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ spec:
key: redis-password
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["2>&1 > /var/log/app.log"]
command: [
"touch /tmp/log/app.log"
"2>&1 > /tmp/log/app.log"
]
ports:
- name: web
containerPort: 3000
Expand Down Expand Up @@ -104,7 +107,7 @@ spec:
subPath: {{ .subPath }}
{{- end }}
- name: local-logs
mountPath: /var/log/
mountPath: /tmp/log/
{{- if .Values.fluentbit.enabled }}
- name: {{ .Chart.Name }}-fluent-bit
image: {{ .Values.fluentbit.imageRegistry }}
Expand Down

0 comments on commit e664d96

Please sign in to comment.