Skip to content

Commit

Permalink
Add debug to the env (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc authored Aug 23, 2024
1 parent 5f048a6 commit eeea207
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions notebooks-accounting/templates/accounting-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ spec:
{{- toYaml . | nindent 16 }}
{{- end }}
command: ["egi-notebooks-accounting-dump", "-c", "/etc/egi-notebooks-accounting/config.ini"]
{{- if .Values.debug }}
env:
- name: VERBOSE
value: "1"
{{- end}}
resources:
{{- toYaml .Values.resources | nindent 16 }}
volumeMounts:
Expand Down
5 changes: 5 additions & 0 deletions notebooks-accounting/templates/eosc-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ spec:
{{- toYaml . | nindent 16 }}
{{- end }}
command: ["egi-notebooks-eosc-accounting", "-c", "/etc/egi-notebooks-accounting/config.ini"]
{{- if .Values.debug }}
env:
- name: VERBOSE
value: "1"
{{- end}}
resources:
{{ toYaml .Values.resources | indent 16 }}
volumeMounts:
Expand Down

0 comments on commit eeea207

Please sign in to comment.