repo_id stringclasses 137
values | file_path stringlengths 10 89 | content stringlengths 0 990k | __index_level_0__ int64 0 0 |
|---|---|---|---|
templates | /mono/helm/strat-market-maker/templates/_helpers.tpl | {{/*
Expand the name of the chart.
*/}}
{{- define "strat-market-maker.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec... | 0 |
templates | /mono/helm/strat-market-maker/templates/service.yaml | apiVersion: v1
kind: Service
metadata:
name: {{ include "strat-market-maker.fullname" . }}
labels:
{{- include "strat-market-maker.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selec... | 0 |
templates | /mono/helm/strat-market-maker/templates/deployment.yaml | {{- include "common.secrets" . -}}
{{- include "common.config.configmap" . -}}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "strat-market-maker.fullname" . }}
labels:
{{- include "strat-market-maker.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Val... | 0 |
templates | /mono/helm/strat-market-maker/templates/serviceaccount.yaml | {{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "strat-market-maker.serviceAccountName" . }}
labels:
{{- include "strat-market-maker.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
... | 0 |
tests | /mono/helm/strat-market-maker/templates/tests/test-connection.yaml | apiVersion: v1
kind: Pod
metadata:
name: "{{ include "strat-market-maker.fullname" . }}-test-connection"
labels:
{{- include "strat-market-maker.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ inc... | 0 |
redpanda | /mono/helm/redpanda/values.yaml | metrics:
enabled: true
redpanda:
service:
internal:
annotations:
"prometheus.io/scrape": "true"
"prometheus.io/path": "/public_metrics"
"prometheus.io/port": "9644"
# Do not allow access from outside of the K8s cluster
external:
enabled: false
# Matches topics by name an... | 0 |
redpanda | /mono/helm/redpanda/Chart.yaml | apiVersion: v2
name: fdr-redpanda
description: Redpanda is the real-time engine for modern apps.
type: application
version: "0.1.0"
appVersion: v23.2.8
kubeVersion: "^1.21.0-0"
dependencies:
- name: redpanda
version: "5.4.9"
repository: https://charts.redpanda.com
sources:
- https://github.com/redpanda-d... | 0 |
redpanda | /mono/helm/redpanda/Chart.lock | dependencies:
- name: redpanda
repository: https://charts.redpanda.com
version: 5.4.9
digest: sha256:11d4c9051633cd27dd594706e048b7051e82c1b4c20a270eb821ba5a11c0c5cd
generated: "2024-04-19T16:10:42.31316938+08:00"
| 0 |
redpanda | /mono/helm/redpanda/Chart.state | 92e5d394a96e13d1723b61aa8211b202b50e3774bb5d2d49f712b8f0995defb8 ./Chart.lock
7e75b8ec1b78acbc4cbbbe5e5d3301dab7a21000119431c1a81f966d6799db2d ./Chart.yaml
80dcb05471e037792f4bc83520744a07c9e7f749389798785f136374d9f2a508 ./files/create-topics.sh
5a24fc3ac647d80fee00d2c09ca5e86117b90326ee6ffd4c286d9a76e712c0aa ./tem... | 0 |
values | /mono/helm/redpanda/values/dev.yaml | redpanda:
statefulset:
replicas: 1
storage:
persistentVolume:
enabled: true
storageClass: aws-ebs-gp3-xfs
tls:
enabled: false
# Do not allow access from outside of the cluster
external:
enabled: false
listeners:
kafka:
external:
default:
enabled: ... | 0 |
values | /mono/helm/redpanda/values/local.yaml | redpanda:
statefulset:
replicas: 1
initCountainers:
fsValidator:
enabled: true
tls:
enabled: false
storage:
persistentVolume:
enabled: true
size: 5Gi
resources:
memory:
container:
max: 1.5Gi
# Enable access from outside of the cluster, ie when ... | 0 |
files | /mono/helm/redpanda/files/create-topics.sh | #!/bin/env bash
# Ensure script is run with at least one argument
if [ $# -eq 0 ]
then
echo "No arguments supplied. Please supply topic names."
exit 1
fi
echo "Environment:"
env | grep RPK
# Wait until the RedPanda cluster is ready
while ! curl -s $RPK_ADMIN_HOSTS/public_metrics > /dev/null; do
echo "Wa... | 0 |
templates | /mono/helm/redpanda/templates/NOTES.txt |
You can connect to RedPanda by running a pod with RPK via
```bash
kubectl run rpk-tool \
--image="{{ .Values.redpanda.image.repository }}:{{ .Chart.AppVersion }}" \
--restart=Never --rm --attach --tty --stdin --command \
--env="RPK_ADMIN_HOSTS=redpanda.default.svc.cluster.local:9644" \
--env="RPK_BRO... | 0 |
templates | /mono/helm/redpanda/templates/job-create-topics.yaml | {{ $redpandaUserId := 101 }}
{{ $scriptMountPath := "/redpanda/bin" }}
apiVersion: batch/v1
kind: Job
metadata:
name: redpanda-topic-creator
labels:
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "-5"
"helm.sh... | 0 |
postgresql | /mono/helm/postgresql/.helmignore | # Patterns to ignore when building packages.
.DS_Store
# Local secrets
secrets.yaml
*.secrets.yaml
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj | 0 |
postgresql | /mono/helm/postgresql/Chart.yaml | # Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
apiVersion: v2
name: fdr-postgresql
appVersion: 15.4.0
version: 0.1.0
annotations:
category: database
namespace: data
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 15.x.x
description: |
PostgreSQL (Po... | 0 |
postgresql | /mono/helm/postgresql/Chart.lock | dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 15.2.9
digest: sha256:c7d18fedc2d83de3d7be99e7dd6cbc2aa8bed5187328046e23e7ba18043a185a
generated: "2024-05-07T09:55:03.774864563-03:00"
| 0 |
postgresql | /mono/helm/postgresql/Chart.state | 63580d2fdce9e83a7e629ea4840f3daf79d58e5eb40c4b82321d83cde270a85a ./Chart.lock
4b950fd85e6db9902b6350746853f7e68f78f31a8649cabceb27ee01c33baa7f ./Chart.yaml
efc832fb818cc0324a82834f5c5388ce1ba64367b3b8bd05704965dd2f364b44 ./files/initdb.sh
4e0eb6a6ebbfde3f2c3b071f5890c460395bc8cbc1ffeea6f73f38c235fbba53 ./.helmignor... | 0 |
values | /mono/helm/postgresql/values/dev.yaml | # https://github.com/bitnami/charts/tree/main/bitnami/postgresql#postgresql-common-parameters
postgresql:
architecture: standalone
image:
tag: 15.4.0-debian-11-r39
auth:
enablePostgresUser: true
username: admin
existingSecret: postgres
database: postgres
postgresqlDataDir: /mnt/postgres/... | 0 |
values | /mono/helm/postgresql/values/local.yaml | global:
postgresql:
auth:
postgresPassword: ""
username: "trading" # TODO: manage secrets
password: "trading" # TODO: manage secrets
database: "trading" # TODO: manage secrets
additionalDatabases:
- name: "archive" # TODO: manage secrets
username: "archive" #... | 0 |
files | /mono/helm/postgresql/files/initdb.sh | #!/bin/env bash
echo "Hello, PostgreSQL!"
| 0 |
templates | /mono/helm/postgresql/templates/NOTES.txt | Thank you for installing {{ .Chart.Name }}.
To view the notes from the Bitnami PostgreSQL chart, please run the following command:
helm get notes {{ .Release.Name }} --namespace {{ .Release.Namespace }}
{{- $postgresImage := "docker.io/bitnami/postgresql:15.4.0-debian-11-r39" }}
{{- $postgresSvcPort := 5432 }}
{{- ... | 0 |
templates | /mono/helm/postgresql/templates/cfgmap-initdb.tpl | apiVersion: v1
kind: ConfigMap
metadata:
name: postgres-initdb-scripts
data:
initdb.sh: |
{{ .Files.Get "files/initdb.sh" | indent 4 }}
| 0 |
templates | /mono/helm/postgresql/templates/secret-admin-password.tpl | {{ if .Values.postgresql.auth.existingSecret }}
apiVersion: v1
kind: Secret
metadata:
name: {{ .Values.postgresql.auth.existingSecret }}
type: Opaque
data:
{{ $.Values.postgresql.auth.secretKeys.adminPasswordKey }}: {{ .Values.secrets.auth.adminPassword | b64enc }}
{{ $.Values.postgresql.auth.secretKeys.userPassw... | 0 |
archive-service | /mono/helm/archive-service/.helmignore | # Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.proj... | 0 |
archive-service | /mono/helm/archive-service/values.yaml | replicaCount: 1
name: archive-service
image:
name: archive-service
repository: registry.gitlab.com/fdr-group/mono/rs/archive-service
pullPolicy: IfNotPresent
tag: "latest"
imagePullSecrets: [ ]
nameOverride: ""
fullnameOverride: "archive-service"
serviceAccount:
create: true
annotations: { }
name: "ar... | 0 |
archive-service | /mono/helm/archive-service/Chart.yaml | apiVersion: v2
name: archive-service
description: Archive Service
type: application
version: 0.1.0
appVersion: "0.1.0"
| 0 |
values | /mono/helm/archive-service/values/dev.yaml | SERVICE: "archive-service"
RUST_LOG: info
imagePullSecrets:
- name: gitlab-registry
image:
tag: "amd64-79b11d20"
configTomlFile: config/dev.toml
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
# Schedule in the same AZ as the PostgreSQL primary
- topologyKey: topology.ku... | 0 |
values | /mono/helm/archive-service/values/local.yaml | SERVICE: "archive-service"
RUST_LOG: debug
image:
tag: "local"
createSecrets: true
secrets:
postgresql_username: file://sym-secrets/postgresql_username
postgresql_password: file://sym-secrets/postgresql_password
configTomlFile: config/local-k8s.toml | 0 |
templates | /mono/helm/archive-service/templates/NOTES.txt | 1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
{{- range .paths }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
{{- end }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export N... | 0 |
templates | /mono/helm/archive-service/templates/ingress.yaml | {{- if .Values.ingress.enabled -}}
{{- $fullName := include "archive-service.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.clas... | 0 |
templates | /mono/helm/archive-service/templates/_helpers.tpl | {{/*
Expand the name of the chart.
*/}}
{{- define "archive-service.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
... | 0 |
templates | /mono/helm/archive-service/templates/hpa.yaml | {{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "archive-service.fullname" . }}
labels:
{{- include "archive-service.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "... | 0 |
templates | /mono/helm/archive-service/templates/service.yaml | apiVersion: v1
kind: Service
metadata:
name: {{ include "archive-service.fullname" . }}
labels:
{{- include "archive-service.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
... | 0 |
templates | /mono/helm/archive-service/templates/deployment.yaml | {{- if .Values.createSecrets }}
{{- include "common.secrets-v2" . }}
---
{{- end -}}
{{- include "common.config.configmap" . -}}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "archive-service.fullname" . }}
labels:
{{- include "archive-service.labels" . | nindent 4 }}
spec:
{{- if not .Valu... | 0 |
templates | /mono/helm/archive-service/templates/serviceaccount.yaml | {{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "archive-service.serviceAccountName" . }}
labels:
{{- include "archive-service.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- en... | 0 |
tests | /mono/helm/archive-service/templates/tests/test-connection.yaml | apiVersion: v1
kind: Pod
metadata:
name: "{{ include "archive-service.fullname" . }}-test-connection"
labels:
{{- include "archive-service.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "... | 0 |
config | /mono/helm/archive-service/config/dev.toml | [kafka_consumer]
group_id = "archive_service"
bootstrap_servers = "redpanda.default.svc.cluster.local:9093"
enable_partition_eof = "false"
session_timeout_ms = "6000"
auto_commit = "false"
offset_reset = "latest"
topics = ["kraken_ticker"]
[postgres]
hostname = "postgresql"
port = 5432
database = "trading"
max_connect... | 0 |
config | /mono/helm/archive-service/config/local-k8s.toml | [kafka_consumer]
group_id = "archive_service"
bootstrap_servers = "redpanda:9093"
enable_partition_eof = "false"
session_timeout_ms = "6000"
auto_commit = "false"
offset_reset = "latest"
topics = ["kraken_ticker"]
[postgres]
hostname = "postgresql"
port = 5432
database = "trading"
max_connections = 10
username = "file... | 0 |
config | /mono/helm/archive-service/config/local-host-ohlcv.toml | [postgres]
hostname = "localhost"
port = 5432
database = "trading-test"
max_connections = 10
username = "file:./.secrets/postgresql_test_username"
password = "file:./.secrets/postgresql_test_password"
[ohlcv_params]
exchange = "Kraken"
pair = "DOT_USD"
candle_interval_mins = 1
data_file = "DOTUSD_1.csv"
| 0 |
vault | /mono/helm/vault/values.yaml |
global:
namespace: vault
vault:
injector:
enabled: false # TODO: Enable once K8s auth is configured
server:
enabled: true
logLevel: info
service:
enabled: true
type: ClusterIP
active:
enabled: true
standby:
enabled: true
publishNotReadyAddres... | 0 |
vault | /mono/helm/vault/Chart.yaml | # Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
apiVersion: v2
name: fdr-vault
appVersion: 1.16.1
version: 0.1.0
annotations:
category: secrets
namespace: vault
# TODO: Move to OpenBao when it becomes stable
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
version: 0... | 0 |
vault | /mono/helm/vault/Chart.lock | dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
version: 0.28.0
digest: sha256:f4e39de88be0810aaa8275491ada495105a8afda9781277b08a3e3c4714568fe
generated: "2024-05-29T12:16:36.385268534+08:00"
| 0 |
vault | /mono/helm/vault/Chart.state | 087ac030e81dd070cdceeb3cf8d2706a63ea5d20d29c574f64a4ae18d80afec8 ./Chart.lock
2244f0fee792aa8fa7b27e7d8a7ddb87b4721cfbf9baa2361ef1c29659785c75 ./Chart.yaml
7e847654d750c983407f86db4ad9779021991c93cdaaed79e24521ea047750ea ./templates/namespace.yaml
1d9b8a1f57c4cf59c30d95ffe87a68b977d7ec678b8f75b5a56f15bb46364eea ./v... | 0 |
templates | /mono/helm/vault/templates/namespace.yaml | apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.global.namespace }}
| 0 |
promtail | /mono/helm/promtail/values.yaml | # Common values for Promtail | 0 |
promtail | /mono/helm/promtail/values-local.yaml | # Local values for Grafana Loki
config:
clients:
- url: http://loki-stack:3100/loki/api/v1/push | 0 |
fdr-common | /mono/helm/fdr-common/Chart.yaml | apiVersion: v2
name: fdr-common
description: A Helm library chart for shared templates
version: 0.1.0
type: library
| 0 |
templates | /mono/helm/fdr-common/templates/_secrets.tpl | # helm/common/_secrets.tpl
{{- define "common.secrets" -}}
{{- if .Values.createSecrets -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-secrets
type: Opaque
data:
{{- range $secret := .Values.secrets }}
{{- $fileContent := $.Files.Get (printf "sym-secrets/%s" $secret) }}
{{- if $fileContent... | 0 |
templates | /mono/helm/fdr-common/templates/_config.tpl | {{/* Define config map for TOML config */}}
{{- define "common.config.configmap" -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "fdr.common.name.configmap.toml-config" . }}
labels:
app: {{ .Chart.Name }}
data:
config.toml: |
{{ if .Values.configTomlFile }}
{{- ($.Files.Get .Values.configTomlFil... | 0 |
templates | /mono/helm/fdr-common/templates/_names.tpl | {{- define "fdr.common.name.deployment" -}}
{{ .Release.Name }}
{{- end }}
{{- define "fdr.common.name.configmap.toml-config" -}}
toml-{{ .Chart.Name }}-{{ .Release.Name }}
{{- end }}
{{- define "fdr.common.name.service" -}}
{{ .Release.Name }}
{{- end }} | 0 |
indicator-service | /mono/helm/indicator-service/.helmignore | # Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.proj... | 0 |
indicator-service | /mono/helm/indicator-service/values.yaml | replicaCount: 1
name: indicator-service
createSecrets: false
secrets: { }
image:
name: indicator-service
repository: registry.gitlab.com/fdr-group/mono/rs/indicator-service
pullPolicy: IfNotPresent
tag: "latest"
imagePullSecrets: [ ]
nameOverride: ""
fullnameOverride: "indicator-service"
serviceAccount:
... | 0 |
indicator-service | /mono/helm/indicator-service/Chart.yaml | apiVersion: v2
name: indicator-service
description: Price Oracle
type: application
version: 0.1.0
appVersion: "0.1.0"
| 0 |
values | /mono/helm/indicator-service/values/dev.yaml | SERVICE: "indicator-service"
RUST_LOG: info
imagePullSecrets:
- name: gitlab-registry
image:
tag: "amd64-79b11d20"
configTomlFile: config/dev.toml
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
# Schedule in the same AZ as the PostgreSQL primary
- topologyKey: topology.... | 0 |
values | /mono/helm/indicator-service/values/local.yaml | SERVICE: "indicator-service"
RUST_LOG: debug
image:
tag: "local"
createSecrets: true
secrets:
postgresql_username: file://sym-secrets/postgresql_username
postgresql_password: file://sym-secrets/postgresql_password
configTomlFile: config/local-k8s.toml
| 0 |
templates | /mono/helm/indicator-service/templates/NOTES.txt | 1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
{{- range .paths }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
{{- end }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export N... | 0 |
templates | /mono/helm/indicator-service/templates/_helpers.tpl | {{/*
Expand the name of the chart.
*/}}
{{- define "indicator-service.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec)... | 0 |
templates | /mono/helm/indicator-service/templates/service.yaml | apiVersion: v1
kind: Service
metadata:
name: {{ include "indicator-service.fullname" . }}
labels:
{{- include "indicator-service.labels" . | nindent 4 }}
annotations:
{{- $.Values.service.annotations | toYaml | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.p... | 0 |
templates | /mono/helm/indicator-service/templates/deployment.yaml | {{- if .Values.createSecrets }}
{{- include "common.secrets-v2" . }}
---
{{- end -}}
{{- include "common.config.configmap" . -}}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "indicator-service.fullname" . }}
labels:
{{- include "indicator-service.labels" . | nindent 4 }}
spec:
{{- if not .... | 0 |
templates | /mono/helm/indicator-service/templates/serviceaccount.yaml | {{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "indicator-service.serviceAccountName" . }}
labels:
{{- include "indicator-service.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{... | 0 |
tests | /mono/helm/indicator-service/templates/tests/test-connection.yaml | apiVersion: v1
kind: Pod
metadata:
name: "{{ include "indicator-service.fullname" . }}-test-connection"
labels:
{{- include "indicator-service.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: [ 'wget' ]
args: [ '{{ in... | 0 |
config | /mono/helm/indicator-service/config/dev.toml | [kafka_consumer]
group_id = "price_oracle"
bootstrap_servers = "redpanda.default.svc.cluster.local:9093"
enable_partition_eof = "false"
session_timeout_ms = "6000"
auto_commit = "false"
offset_reset = "latest"
topics = ["kraken_ticker"]
[postgres]
hostname = "postgresql"
port = 5432
database = "trading"
max_connection... | 0 |
config | /mono/helm/indicator-service/config/local-k8s.toml | [kafka_producer]
bootstrap_servers = "redpanda:9093"
max_in_flight_requests_per_connection = 1
batch_num_messages = 1
request_required_acks = "all"
default_timeout_milliseconds = 50
max_retries = 3
retry_backoff_milliseconds = 10
[kafka_consumer]
group_id = "price_oracle"
bootstrap_servers = "redpanda:9093"
enable_par... | 0 |
config | /mono/helm/indicator-service/config/local-host.toml | [kafka_producer]
bootstrap_servers = "localhost:9094"
max_in_flight_requests_per_connection = 1
batch_num_messages = 1
request_required_acks = "all"
default_timeout_milliseconds = 50
max_retries = 3
retry_backoff_milliseconds = 10
[kafka_consumer]
group_id = "indicator-service"
bootstrap_servers = "localhost:9094"
ena... | 0 |
node-exporter | /mono/helm/node-exporter/values.yaml |
node-exporter:
namespaceOverride: monitoring
rbac:
create: false
serviceAccount:
create: false
podAnnotations:
"prometheus.io/scrape": "true"
"prometheus.io/path": "/metrics"
"prometheus.io/port": "9100" | 0 |
node-exporter | /mono/helm/node-exporter/Chart.yaml | apiVersion: v2
name: fdr-node-exporter
description: A Helm chart to deploy Node Exporter as a daemon set to all nodes in the cluster
type: application
version: 0.1.0
dependencies:
- name: node-exporter
repository: https://charts.bitnami.com/bitnami
version: 4.2.1 | 0 |
node-exporter | /mono/helm/node-exporter/Chart.lock | dependencies:
- name: node-exporter
repository: https://charts.bitnami.com/bitnami
version: 4.2.1
digest: sha256:127b10ab9abcce58b6b071582ae2aef165b96bc588bca9bb382914fdd3d58ce7
generated: "2024-05-14T11:54:06.339879706+08:00"
| 0 |
node-exporter | /mono/helm/node-exporter/Chart.state | 7d0583b7cdd8f04a502b2ea71f86cc8a5dad872318f0500d30f207870f36fc43 ./Chart.lock
9a50ebcbfaea25eafe930f73c22368a44825abd45edf212077937766f35c9f3f ./Chart.yaml
995e61b77168ce69be1d2b990a2674d8d22b82dbca1ec4b12c530e46953d7817 ./values.yaml
| 0 |
strat-triangular-arbitrage | /mono/helm/strat-triangular-arbitrage/.helmignore | # Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.proj... | 0 |
strat-triangular-arbitrage | /mono/helm/strat-triangular-arbitrage/values.yaml | replicaCount: 1
image:
name: strategy-manager
repository: registry.gitlab.com/fdr-group/mono/rs/strategy-manager
pullPolicy: IfNotPresent
tag: "latest"
imagePullSecrets: []
nameOverride: ""
serviceAccount:
create: true
annotations: {}
service:
type: ClusterIP
port: 3000
annotations:
"promethe... | 0 |
strat-triangular-arbitrage | /mono/helm/strat-triangular-arbitrage/Chart.yaml | apiVersion: v2
name: strat-triangular-arbitrage
description: Triangular Arbitrage Strategy
type: application
version: 0.1.0
appVersion: "0.1.0"
| 0 |
values | /mono/helm/strat-triangular-arbitrage/values/dev.yaml | SERVICE: "strategy-manager"
RUST_LOG: info
imagePullSecrets:
- name: gitlab-registry
image:
# https://gitlab.com/fdr-group/mono/-/jobs/6918202320
tag: "amd64-240523035831-749ff5f7"
configTomlFile: config/dev.toml
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
# Schedule in ... | 0 |
values | /mono/helm/strat-triangular-arbitrage/values/dev-dry-run.yaml | SERVICE: "strategy-manager"
RUST_LOG: debug
imagePullSecrets:
- name: gitlab-registry
image:
# https://gitlab.com/fdr-group/mono/-/jobs/6918202320
tag: "amd64-240523035831-749ff5f7"
configTomlFile: config/dev-dry-run.toml
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
# Sch... | 0 |
values | /mono/helm/strat-triangular-arbitrage/values/local.yaml | image:
tag: "local"
SERVICE: "strategy-manager"
RUST_LOG: debug
configTomlFile: "config/local-k8s.toml"
createSecrets: true
secrets:
kraken_api_key: file://sym-secrets/kraken_api_key
kraken_api_secret: file://sym-secrets/kraken_api_secret
postgresql_username: file://sym-secrets/postgresql_username
p... | 0 |
templates | /mono/helm/strat-triangular-arbitrage/templates/_helpers.tpl | {{/*
Expand the name of the chart.
*/}}
{{- define "strat-triangular-arbitrage.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS nam... | 0 |
templates | /mono/helm/strat-triangular-arbitrage/templates/service.yaml | apiVersion: v1
kind: Service
metadata:
name: {{ include "fdr.common.name.service" . }}
labels:
{{- include "strat-triangular-arbitrage.labels" . | nindent 4 }}
annotations:
{{- $.Values.service.annotations | toYaml | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.ser... | 0 |
templates | /mono/helm/strat-triangular-arbitrage/templates/deployment.yaml | {{- if .Values.createSecrets }}
{{- include "common.secrets-v2" . }}
---
{{- end -}}
{{- include "common.config.configmap" . -}}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "fdr.common.name.deployment" . }}
labels:
{{- include "strat-triangular-arbitrage.labels" . | nindent 4 }}
spec:
{{-... | 0 |
templates | /mono/helm/strat-triangular-arbitrage/templates/serviceaccount.yaml | {{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "strat-triangular-arbitrage.serviceAccountName" . }}
labels:
{{- include "strat-triangular-arbitrage.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . |... | 0 |
tests | /mono/helm/strat-triangular-arbitrage/templates/tests/test-connection.yaml | apiVersion: v1
kind: Pod
metadata:
name: "{{ include "strat-triangular-arbitrage.fullname" . }}-test-connection"
labels:
{{- include "strat-triangular-arbitrage.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
... | 0 |
config | /mono/helm/strat-triangular-arbitrage/config/dev.toml | run_id = "51d65638-03b7-44a6-b6f4-33cfe5baf08a"
[kafka_consumer]
group_id = "triangular_arbitrage"
bootstrap_servers = "redpanda.default.svc.cluster.local:9093"
topics = [
"kraken_ticker",
"kraken_orders",
"kraken_order_book",
# Books
"kraken_book_btc_usdc",
"kraken_book_eth_usdc",
... | 0 |
config | /mono/helm/strat-triangular-arbitrage/config/local-k8s.toml | use_market_balance = false
back_test = false
run_id = "34dac011-cbb0-44e1-bca1-14c73091c7f7"
[kafka_consumer]
group_id = "triangular_arbitrage"
bootstrap_servers = "redpanda.default.svc.cluster.local:9093"
enable_partition_eof = "false"
session_timeout_ms = "6000"
auto_commit = "false"
offset_reset = "latest"
topics =... | 0 |
config | /mono/helm/strat-triangular-arbitrage/config/local-host.toml | use_market_balance = false
back_test = false
run_id = "34dac011-cbb0-44e1-bca1-14c73091c7f7"
[kafka_consumer]
group_id = "triangular_arbitrage"
bootstrap_servers = "localhost:9094"
enable_partition_eof = "false"
session_timeout_ms = "6000"
auto_commit = "false"
offset_reset = "latest"
topics = [
"poloniex_ticker",... | 0 |
config | /mono/helm/strat-triangular-arbitrage/config/dev-dry-run.toml | run_id = "51d65638-03b7-44a6-b6f4-33cfe5baf08a"
dry_run = true
[kafka_consumer]
group_id = "triangular_arbitrage_dry_run"
bootstrap_servers = "redpanda.default.svc.cluster.local:9093"
topics = [
"kraken_ticker",
"kraken_orders",
"kraken_order_book",
# Books
"kraken_book_btc_usdc",
"kr... | 0 |
grafana | /mono/helm/grafana/.helmignore | # Patterns to ignore when building packages.
.DS_Store
# Local secrets
secrets.yaml
*.secrets.yaml
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj | 0 |
grafana | /mono/helm/grafana/values.yaml | grafana:
auth:
enableAnonymous: false
persistence:
enabled: true
metrics:
enabled: true
service:
annotations:
"prometheus.io/scrape": "true"
"prometheus.io/path": "/metrics"
"prometheus.io/port": "3000"
serviceAccount:
create: false
dashboardsProvider:
... | 0 |
grafana | /mono/helm/grafana/Chart.yaml | apiVersion: v2
name: fdr-grafana
appVersion: 10.1.2
version: 0.1.0
annotations:
category: analytics
dependencies:
- name: grafana
repository: https://charts.bitnami.com/bitnami
version: 10.0.x
description: |
Grafana is an open source metric analytics and visualization suite for
visualizing time series dat... | 0 |
grafana | /mono/helm/grafana/Chart.lock | dependencies:
- name: grafana
repository: https://charts.bitnami.com/bitnami
version: 10.0.10
digest: sha256:11a1c76e75b7e4a4c5b51dfb7576691cdcd070f47a96ab2a2d88e11a61f4cd22
generated: "2024-05-08T12:35:10.929392424-03:00"
| 0 |
grafana | /mono/helm/grafana/Chart.state | cb31fe6afef71c10cf5e9adae162d4dabca53d9857f8eb164c653116088e41c8 ./Chart.lock
2847489bb7e63cb138aab27c5d62429e276c0a298db3d297b2dbd3313b3948e5 ./Chart.yaml
fceaf1289937c2428d0282e9ddedf67fdeba59ff46c5188bac354310f84e6a46 ./dashboards/example-service-dashboard.json
7fb19ce829c931ef14a1ecc3304b9da05d23a405ea2df80badb7... | 0 |
values | /mono/helm/grafana/values/dev.yaml | grafana:
admin:
user: admin
existingSecret: "grafana-admin-password"
datasources:
secretName: "grafana-datasources"
| 0 |
values | /mono/helm/grafana/values/local.yaml | grafana:
auth:
enableAnonymous: true
persistence:
enabled: true
size: 500Mi
# Grafana deployment parameters need to be nested under a redundant Grafana key
grafana:
resources:
limits:
cpu: 1000m
memory: 2048Mi # 2Gi
requests:
cpu: 500m
memory: 1024M... | 0 |
dashboards | /mono/helm/grafana/dashboards/simple_market_maker.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
... | 0 |
dashboards | /mono/helm/grafana/dashboards/example-service-dashboard.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
... | 0 |
dashboards | /mono/helm/grafana/dashboards/proxy-market-metrics.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"... | 0 |
dashboards | /mono/helm/grafana/dashboards/kraken-market-metrics.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
... | 0 |
dashboards | /mono/helm/grafana/dashboards/market-makers.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
... | 0 |
dashboards | /mono/helm/grafana/dashboards/market-maker-test.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
... | 0 |
dashboards | /mono/helm/grafana/dashboards/redpanda-dashboard.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
... | 0 |
dashboards | /mono/helm/grafana/dashboards/triangular-arbitrage.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
... | 0 |
dashboards | /mono/helm/grafana/dashboards/strat-tri-arb-rates.json | {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.