Skip to content

Commit

Permalink
Add templating to scribe configmap (#1569)
Browse files Browse the repository at this point in the history
* Feat: add templating to scribe configmap

* lint + version bump

* agents version bump

* demo omnirpc config

* omnirpc bump

* explorer lint

---------

Co-authored-by: nautsimon <[email protected]>
  • Loading branch information
dwasse and nautsimon authored Nov 15, 2023
1 parent 4dbe5a8 commit 3492838
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 48 deletions.
8 changes: 4 additions & 4 deletions charts/agents/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ dependencies:
version: 9.3.2
- name: omnirpc
repository: file://../omnirpc/
version: 0.2.91
version: 0.2.92
- name: scribe
repository: file://../scribe/
version: 0.2.15
version: 0.2.16
- name: jaeger
repository: https://jaegertracing.github.io/helm-charts
version: 0.69.1
digest: sha256:7b9ac6625ebd1bbb31b539dda69c5399b3285ad05287fba122e355e57a434bed
generated: "2023-11-01T00:44:48.396983-05:00"
digest: sha256:9f69403329ddaea21c35c9e75b4e555237c1e1ced342b82a517db142713af709
generated: "2023-11-14T22:07:00.422311-06:00"
6 changes: 3 additions & 3 deletions charts/agents/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.29
version: 0.1.30

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -29,11 +29,11 @@ dependencies:
repository: "https://charts.bitnami.com/bitnami"
condition: mysql.enabled
- name: omnirpc
version: "0.2.91"
version: "0.2.92"
repository: "file://../omnirpc/"
condition: omnirpc.enabled
- name: scribe
version: "0.2.15"
version: "0.2.16"
repository: "file://../scribe/"
condition: scribe.enabled
- name: jaeger
Expand Down
6 changes: 3 additions & 3 deletions charts/explorer/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: omnirpc
repository: file://../omnirpc/
version: 0.2.91
version: 0.2.92
- name: clickhouse
repository: https://sentry-kubernetes.github.io/charts
version: 3.1.3
digest: sha256:c3f0ef19b6724eb840c4d77f3a343901da44f3d2ca336187a52cc1ee0f5470a5
generated: "2023-11-01T00:44:53.090052-05:00"
digest: sha256:d41e7713f0f1e6b9e17f8a30cc38497a76fb9c2fdb9b884682ebe55234816444
generated: "2023-11-14T22:07:32.395834-06:00"
6 changes: 3 additions & 3 deletions charts/explorer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.15
version: 0.2.16

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
appVersion: "1.17.0"

dependencies:
- name: omnirpc
version: "0.2.91"
version: "0.2.92"
repository: "file://../omnirpc/"
condition: omnirpc.enabled
- name: clickhouse
Expand Down
2 changes: 1 addition & 1 deletion charts/omnirpc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.91
version: 0.2.92

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
30 changes: 2 additions & 28 deletions charts/omnirpc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,35 +98,9 @@ files:
config.yml: |-
client_type: resty
chains:
11155111:
1:
rpcs:
- rpc: https://ethereum-sepolia.publicnode.com
rpc_type: atable
- rpc: https://rpc.sepolia.org
rpc_type: auxiliary
- rpc: https://endpoints.omniatech.io/v1/eth/sepolia/public
rpc_type: auxiliary
confirmations: 1
421614:
rpcs:
- rpc: https://arbitrum-sepolia.blockpi.network/v1/rpc/public
rpc_type: stable
- rpc: https://sepolia-rollup.arbitrum.io/rpc
rpc_type: auxiliary
confirmations: 1
444:
rpcs:
- rpc: https://l2-synapse-sepolia-testnet-1mdqkm651f.t.conduit.xyz
rpc_type: stable
confirmations: 1
43113:
rpcs:
- rpc: https://api.avax-test.network/ext/bc/C/rpc
rpc_type: stable
- rpc: https://avalanche-fuji.blockpi.network/v1/rpc/public
rpc_type: auxiliary
- rpc: https://endpoints.omniatech.io/v1/avax/fuji/public
rpc_type: auxiliary
- https://eth.llamarpc.com
confirmations: 1
env:
Expand Down
6 changes: 3 additions & 3 deletions charts/scribe/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dependencies:
version: 9.3.2
- name: omnirpc
repository: file://../omnirpc/
version: 0.2.91
digest: sha256:7996a0999644426256ef1218066ed3dc408004204324cd94f4d8e044fa57374b
generated: "2023-11-01T00:44:55.324185-05:00"
version: 0.2.92
digest: sha256:72a2b51d01b7b6a2d9c6ee3938fcad62214315e7f321468ac54b54bfa7ba78df
generated: "2023-11-14T22:07:43.630566-06:00"
4 changes: 2 additions & 2 deletions charts/scribe/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.15
version: 0.2.16

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -29,6 +29,6 @@ dependencies:
repository: "https://charts.bitnami.com/bitnami"
condition: mysql.enabled
- name: omnirpc
version: "0.2.91"
version: "0.2.92"
repository: "file://../omnirpc/"
condition: omnirpc.enabled
2 changes: 1 addition & 1 deletion charts/scribe/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
{{ toYaml .Values.files | indent 2 }}
{{ tpl (toYaml .Values.files) . | indent 2 }}
{{- end }}

0 comments on commit 3492838

Please sign in to comment.