Skip to content

Commit

Permalink
Updated settlement configs for sidecar and event-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
mdebarros committed Aug 4, 2021
1 parent ddc255a commit de23b4f
Show file tree
Hide file tree
Showing 4 changed files with 506 additions and 349 deletions.
284 changes: 168 additions & 116 deletions central/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1969,35 +1969,34 @@ centralsettlement:
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []

## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED
# sidecar:
# enabled: false
# image:
# repository: mojaloop/event-sidecar
# tag: v11.0.1
# pullPolicy: IfNotPresent
# command: '["npm", "run", "start"]'
# service:
# internalPort: 4001
# readinessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 120
# periodSeconds: 15
# livenessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 90
# periodSeconds: 15
# config:
# event_log_grpc_host: localhost
# event_log_grpc_port: 50051
# event_log_filter: 'audit:*, log:info, log:warn, log:error'
# event_log_metadata_only: true
# log_level: info
# log_filter: 'error, warn, info'
sidecar:
enabled: false
image:
repository: mojaloop/event-sidecar
tag: v11.0.1
pullPolicy: IfNotPresent
command: '["npm", "run", "start"]'
service:
internalPort: 4001
readinessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 120
periodSeconds: 15
livenessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 90
periodSeconds: 15
config:
event_log_grpc_host: localhost
event_log_grpc_port: 50051
event_log_filter: 'audit:*, log:info, log:warn, log:error'
event_log_metadata_only: true
log_level: info
log_filter: 'error, warn, info'

## metric configuration for prometheus instrumentation
metrics:
Expand Down Expand Up @@ -2121,9 +2120,23 @@ centralsettlement:
hub_participant:
id: 1
name: Hub

## Log config
log_level: info
log_transport: file

## Tracing Configuration
event_trace_vendor: mojaloop
event_log_filter: 'audit:*, log:warn, log:error'
# If set to true, only the metadata object from the event will be printed.
event_log_metadata_only: false
# A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve
# Any combination of: `log,audit,trace`
event_async_override: 'log,trace'
event_trace_state_enabled: true
event_traceid_per_vendor: false

## Error Handling
error_handling:
include_cause_extension: false
truncate_extensions: true
Expand Down Expand Up @@ -2246,35 +2259,34 @@ centralsettlement:
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []

## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED
# sidecar:
# enabled: false
# image:
# repository: mojaloop/event-sidecar
# tag: v11.0.1
# pullPolicy: IfNotPresent
# command: '["npm", "run", "start"]'
# service:
# internalPort: 4001
# readinessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 120
# periodSeconds: 15
# livenessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 90
# periodSeconds: 15
# config:
# event_log_grpc_host: localhost
# event_log_grpc_port: 50051
# event_log_filter: 'audit:*, log:info, log:warn, log:error'
# event_log_metadata_only: true
# log_level: info
# log_filter: 'error, warn, info'
sidecar:
enabled: false
image:
repository: mojaloop/event-sidecar
tag: v11.0.1
pullPolicy: IfNotPresent
command: '["npm", "run", "start"]'
service:
internalPort: 4001
readinessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 120
periodSeconds: 15
livenessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 90
periodSeconds: 15
config:
event_log_grpc_host: localhost
event_log_grpc_port: 50051
event_log_filter: 'audit:*, log:info, log:warn, log:error'
event_log_metadata_only: true
log_level: info
log_filter: 'error, warn, info'

## metric configuration for prometheus instrumentation
metrics:
Expand Down Expand Up @@ -2398,9 +2410,23 @@ centralsettlement:
hub_participant:
id: 1
name: Hub

## Log config
log_level: info
log_transport: file

## Tracing Configuration
event_trace_vendor: mojaloop
event_log_filter: 'audit:*, log:warn, log:error'
# If set to true, only the metadata object from the event will be printed.
event_log_metadata_only: false
# A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve
# Any combination of: `log,audit,trace`
event_async_override: 'log,trace'
event_trace_state_enabled: true
event_traceid_per_vendor: false

## Error Handling
error_handling:
include_cause_extension: false
truncate_extensions: true
Expand Down Expand Up @@ -2530,35 +2556,34 @@ centralsettlement:
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []

## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED
# sidecar:
# enabled: false
# image:
# repository: mojaloop/event-sidecar
# tag: v11.0.1
# pullPolicy: IfNotPresent
# command: '["npm", "run", "start"]'
# service:
# internalPort: 4001
# readinessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 120
# periodSeconds: 15
# livenessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 90
# periodSeconds: 15
# config:
# event_log_grpc_host: localhost
# event_log_grpc_port: 50051
# event_log_filter: 'audit:*, log:info, log:warn, log:error'
# event_log_metadata_only: true
# log_level: info
# log_filter: 'error, warn, info'
sidecar:
enabled: false
image:
repository: mojaloop/event-sidecar
tag: v11.0.1
pullPolicy: IfNotPresent
command: '["npm", "run", "start"]'
service:
internalPort: 4001
readinessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 120
periodSeconds: 15
livenessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 90
periodSeconds: 15
config:
event_log_grpc_host: localhost
event_log_grpc_port: 50051
event_log_filter: 'audit:*, log:info, log:warn, log:error'
event_log_metadata_only: true
log_level: info
log_filter: 'error, warn, info'

## metric configuration for prometheus instrumentation
metrics:
Expand Down Expand Up @@ -2682,9 +2707,23 @@ centralsettlement:
hub_participant:
id: 1
name: Hub

## Log config
log_level: info
log_transport: file

## Tracing Configuration
event_trace_vendor: mojaloop
event_log_filter: 'audit:*, log:warn, log:error'
# If set to true, only the metadata object from the event will be printed.
event_log_metadata_only: false
# A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve
# Any combination of: `log,audit,trace`
event_async_override: 'log,trace'
event_trace_state_enabled: true
event_traceid_per_vendor: false

## Error Handling
error_handling:
include_cause_extension: false
truncate_extensions: true
Expand Down Expand Up @@ -2814,35 +2853,34 @@ centralsettlement:
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []

## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED
# sidecar:
# enabled: false
# image:
# repository: mojaloop/event-sidecar
# tag: v11.0.1
# pullPolicy: IfNotPresent
# command: '["npm", "run", "start"]'
# service:
# internalPort: 4001
# readinessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 120
# periodSeconds: 15
# livenessProbe:
# enabled: true
# httpGet:
# path: /health
# initialDelaySeconds: 90
# periodSeconds: 15
# config:
# event_log_grpc_host: localhost
# event_log_grpc_port: 50051
# event_log_filter: 'audit:*, log:info, log:warn, log:error'
# event_log_metadata_only: true
# log_level: info
# log_filter: 'error, warn, info'
sidecar:
enabled: false
image:
repository: mojaloop/event-sidecar
tag: v11.0.1
pullPolicy: IfNotPresent
command: '["npm", "run", "start"]'
service:
internalPort: 4001
readinessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 120
periodSeconds: 15
livenessProbe:
enabled: true
httpGet:
path: /health
initialDelaySeconds: 90
periodSeconds: 15
config:
event_log_grpc_host: localhost
event_log_grpc_port: 50051
event_log_filter: 'audit:*, log:info, log:warn, log:error'
event_log_metadata_only: true
log_level: info
log_filter: 'error, warn, info'

## metric configuration for prometheus instrumentation
metrics:
Expand Down Expand Up @@ -2966,9 +3004,23 @@ centralsettlement:
hub_participant:
id: 1
name: Hub

## Log config
log_level: info
log_transport: file

## Tracing Configuration
event_trace_vendor: mojaloop
event_log_filter: 'audit:*, log:warn, log:error'
# If set to true, only the metadata object from the event will be printed.
event_log_metadata_only: false
# A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve
# Any combination of: `log,audit,trace`
event_async_override: 'log,trace'
event_trace_state_enabled: true
event_traceid_per_vendor: false

## Error Handling
error_handling:
include_cause_extension: false
truncate_extensions: true
Expand Down
3 changes: 2 additions & 1 deletion centralsettlement/chart-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ nodeSelector: {}
tolerations: []

sidecar:
enabled: true
enabled: false
image:
repository: mojaloop/event-sidecar
tag: v11.0.1
Expand Down Expand Up @@ -231,6 +231,7 @@ config:
event_trace_state_enabled: true
event_traceid_per_vendor: false

## Error Handling
error_handling:
include_cause_extension: false
truncate_extensions: true
Expand Down
Loading

0 comments on commit de23b4f

Please sign in to comment.