Skip to content

Commit

Permalink
fix: drop_log annotation to disable double logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Dec 27, 2023
1 parent d411084 commit 6252749
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/root_chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Root Chart to a single Service
|-----|------|---------|-------------|
| api.affinity | object | `{}` | |
| api.annotations."argocd.argoproj.io/sync-wave" | string | `"4"` | |
| api.annotations.drop_log | string | `"true"` | |
| api.appSettings.App.Mode | string | `"Server"` | |
| api.autoscaling | object | `{}` | |
| api.configMountPath | string | `"/app/Config"` | |
Expand Down Expand Up @@ -76,6 +77,7 @@ Root Chart to a single Service
| migration.affinity | object | `{}` | |
| migration.annotations."argocd.argoproj.io/hook-delete-policy" | string | `"HookSucceeded"` | |
| migration.annotations."argocd.argoproj.io/sync-wave" | string | `"3"` | |
| migration.annotations.drop_log | string | `"true"` | |
| migration.appSettings.App.Mode | string | `"Migration"` | |
| migration.aspNetEnv | string | `"Development"` | |
| migration.backoffLimit | int | `4` | |
Expand Down
2 changes: 2 additions & 0 deletions infra/root_chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ api:
enabled: true
annotations:
argocd.argoproj.io/sync-wave: "4"
drop_log: "true"
nameOverride: "api"
fullnameOverride: ""

Expand Down Expand Up @@ -103,6 +104,7 @@ migration:
annotations:
argocd.argoproj.io/sync-wave: "3"
argocd.argoproj.io/hook-delete-policy: HookSucceeded
drop_log: "true"

enabled: false
nameOverride: "migration"
Expand Down

0 comments on commit 6252749

Please sign in to comment.