Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Oct 11, 2024
1 parent 21ea623 commit 36371c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
6 changes: 3 additions & 3 deletions cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,23 @@ var ServerOverrides = []ServerOverride{
EnvName: "SERVER_EVENT_INGESTER_BASIC_AUTH_USERNAME",
Description: "sets the basic auth username for the event ingester",
OverrideFunc: func(val string, overrides *server.Override) {
overrides.BasicAuth.Username = val
overrides.EventIngesterBasicAuth.Username = val
},
}),
createServerOverride(ServerOverrideConfig{
FlagName: "server-event-ingester-basic-auth-password",
EnvName: "SERVER_EVENT_INGESTER_BASIC_AUTH_PASSWORD",
Description: "sets the basic auth password for the event ingester",
OverrideFunc: func(val string, overrides *server.Override) {
overrides.BasicAuth.Password = val
overrides.EventIngesterBasicAuth.Password = val
},
}),
createServerOverride(ServerOverrideConfig{
FlagName: "server-coordinator-auth-secret",
EnvName: "SERVER_COORDINATOR_AUTH_SECRET",
Description: "sets the auth secret for the coordinator",
OverrideFunc: func(val string, overrides *server.Override) {
overrides.Coordinator.AuthSecret = val
overrides.CoordinatorAuth.AuthSecret = val
},
}),
}
Expand Down
24 changes: 1 addition & 23 deletions deploy/local/docker-compose/xatu-cannon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ coordinator:
Authorization: "Bearer SET_ME"

outputs:
# - name: log
# type: stdout
# filter:
# eventNames:
# - BEACON_API_ETH_V2_BEACON_BLOCK_EXECUTION_TRANSACTION
# # - BEACON_API_ETH_V1_VALIDATOR_ATTESTATION_DATA
# # - BEACON_API_ETH_V1_EVENTS_BLOCK_V2
# # - BEACON_API_ETH_V1_EVENTS_FINALIZED_CHECKPOINT_V2
- name: xatu
type: xatu
config:
Expand All @@ -85,18 +77,4 @@ outputs:
maxExportBatchSize: 32
workers: 50
headers:
Authorization: "Bearer SET_ME"
# - name: xatu
# type: xatu
# config:
# address: server.xatu.pectra-devnet-3.ethpandaops.io:80
# tls: false
# maxQueueSize: 51200
# batchTimeout: 0.5s
# exportTimeout: 30s
# maxExportBatchSize: 32
# workers: 50
# authorizationSecret: "ethpandaops-observability-rocks-lol"
# filter:
# eventNames:
# - BEACON_API_ETH_V2_BEACON_BLOCK_V2
Authorization: "Bearer SET_ME"

0 comments on commit 36371c2

Please sign in to comment.