Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/pdp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ spec:
value: "true"
- name: OPAL_LOG_FILE_PATH
value: "/tmp/pdp.log"
- name: OPAL_LOG_FILE_ROTATION
value: "{{ .Values.pdp.logs_forwarder.rotation | default "250 MB" }}"
- name: OPAL_LOG_FILE_RETENTION
value: "{{ .Values.pdp.logs_forwarder.retention | default "3 days" }}"
{{- end }}
{{- if .Values.pdp.debug_mode }}
- name: PDP_DEBUG
Expand Down
3 changes: 3 additions & 0 deletions charts/pdp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ pdp:
enabled: false
debug_mode: false
type: "stdout" # 'stdout' or 'elasticsearch'
# Log rotation settings (only applies when enabled=true)
rotation: "250 MB" # File size threshold for rotation
retention: "3 days" # How long to keep rotated log files
elasticsearch:
host: "<elasticsearch host>"
cloud_auth: "<{user}:{password}>"
Expand Down
Loading