-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: eXOF helm charts, celotool changes and other adhoc fixes (#10626)
- Loading branch information
Showing
20 changed files
with
266 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: "1.0" | ||
appVersion: '1.0' | ||
description: A Helm chart to get the RBAC token needed by the oracle to reach the K8s API server | ||
name: oracle-rbac | ||
version: 0.2.0 | ||
version: 0.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{ range $index, $e := until (.Values.oracle.replicas | int) }} | ||
{{- $index_counter := (dict "Values" $.Values "index" $index) -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
type: kubernetes.io/service-account-token | ||
metadata: | ||
name: {{ template "secret-name" $index_counter }} | ||
annotations: | ||
kubernetes.io/service-account.name: {{ template "name" $index_counter }} | ||
--- | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
oracle: | ||
currencyPair: CELOXOF | ||
overrideOracleCount: 12 # At 5s block time, every client reports once per minute | ||
aggregation: | ||
mid: | ||
maxExchangeVolumeShare: 1 | ||
maxPercentageDeviation: 0.025 | ||
maxPercentageBidAskSpread: 0.015 | ||
metrics: | ||
enabled: true | ||
prometheusPort: 9090 | ||
apiRequestTimeoutMs: 5000 | ||
circuitBreakerPriceChangeThreshold: 0.25 | ||
gasPriceMultiplier: 1.5 | ||
priceSources: "[ | ||
[ | ||
{exchange: 'BINANCE', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'BINANCE', symbol: 'EURUSDT', toInvert: true}, | ||
{exchange: 'ALPHAVANTAGE', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'BINANCE', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'BINANCE', symbol: 'EURUSDT', toInvert: true}, | ||
{exchange: 'CURRENCYAPI', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'COINBASE', symbol: 'CELOUSD', toInvert: false}, | ||
{exchange: 'COINBASE', symbol: 'USDTUSD', toInvert: true}, | ||
{exchange: 'COINBASE', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'ALPHAVANTAGE', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'COINBASE', symbol: 'CELOUSD', toInvert: false}, | ||
{exchange: 'COINBASE', symbol: 'USDTUSD', toInvert: true}, | ||
{exchange: 'COINBASE', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'CURRENCYAPI', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'OKX', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'BITSTAMP', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'ALPHAVANTAGE', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'OKX', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'BITSTAMP', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'CURRENCYAPI', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'KUCOIN', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'KRAKEN', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'ALPHAVANTAGE', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'KUCOIN', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'KRAKEN', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'CURRENCYAPI', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'BITGET', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'BITGET', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'ALPHAVANTAGE', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
], | ||
[ | ||
{exchange: 'BITGET', symbol: 'CELOUSDT', toInvert: false}, | ||
{exchange: 'BITGET', symbol: 'USDTEUR', toInvert: false}, | ||
{exchange: 'CURRENCYAPI', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
] | ||
]" | ||
# Additional sources missing adapters [ | ||
# {exchange: 'UPBIT', symbol: 'CELOKRW', toInvert: false}, | ||
# {exchange: 'UPBIT', symbol: 'BTCKRW', toInvert: true}, | ||
# {exchange: 'KRAKEN', symbol: 'BTCEUR', toInvert: false}, | ||
# {exchange: 'ALPHAVANTAGE', symbol: 'EURXOF', toInvert: false, ignoreVolume: true} | ||
# ] | ||
minPriceSourceCount: 6 | ||
reportStrategy: BLOCK_BASED | ||
reporter: | ||
blockBased: | ||
minReportPriceChangeThreshold: 0.005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
apiVersion: v1 | ||
appVersion: "1.0" | ||
appVersion: '1.0' | ||
description: A Helm chart for the oracle client | ||
name: oracle | ||
version: 0.2.0 | ||
version: 0.2.1 | ||
dependencies: | ||
- name: common | ||
repository: oci://us-west1-docker.pkg.dev/devopsre/clabs-public-oci | ||
version: 0.2.0 | ||
version: 0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.