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
1 change: 1 addition & 0 deletions charts/document-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
### Added

* `cloudNativePG` section, including `cloudNativePG.cluster` to create PostgreSQL database clusters using [CloudNativePG](https://cloudnative-pg.io/) operator.
* `observability.log.structured` to enable structured logs in JSON format

### Changed

Expand Down
177 changes: 89 additions & 88 deletions charts/document-engine/README.md

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions charts/document-engine/ci/01-no-storage-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiAuth:
secretKeyBase: verySecretStringToNeverBeUsedInProduction

service:
annotations:
service.kubernetes.io/topology-aware-hints: "auto"
trafficDistribution: PreferClose

database:
enabled: false
1 change: 1 addition & 0 deletions charts/document-engine/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ data:
{{- end }}
{{- end }}
LOG_LEVEL: {{ .log.level | quote }}
LOG_STRUCTURED: {{ .log.structured | quote }}
HEALTHCHECK_LOGLEVEL: {{ .log.healthcheckLevel | quote }}
{{- with .opentelemetry }}
{{- if .enabled }}
Expand Down
3 changes: 3 additions & 0 deletions charts/document-engine/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,9 @@
"level": {
"type": "string",
"pattern": "^(debug|info|warn|error)$"
},
"structured": {
"type": "boolean"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions charts/document-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,9 @@ observability:
# -- `LOG_LEVEL`
# @section -- D. Observability
level: info # @schema pattern:^(debug|info|warn|error)$
# -- `LOG_STRUCTURED` — enable structured logging in JSON format
# @section -- D. Observability
structured: false
# -- `HEALTHCHECK_LOGLEVEL` — log level for health checks
# @section -- D. Observability
healthcheckLevel: debug # @schema pattern:^(debug|info|warn|error)$
Expand Down