Skip to content

Commit

Permalink
Merge pull request #407 from celo-org/jcortejoso/eigenda-proxy-latest…
Browse files Browse the repository at this point in the history
…-updates

Update flags. Include write-on-miss
  • Loading branch information
jcortejoso authored Oct 14, 2024
2 parents a2aaacf + f246c7b commit dc1b425
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/eigenda-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: eigenda-proxy
apiVersion: v2
version: 0.3.1
version: 0.3.2
description: Helm chart deploying Layr-Labs eigenda-proxy
home: https://clabs.co
sources:
Expand Down
3 changes: 2 additions & 1 deletion charts/eigenda-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# eigenda-proxy

![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square)
![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square)

Helm chart deploying Layr-Labs eigenda-proxy

Expand Down Expand Up @@ -41,6 +41,7 @@ Helm chart deploying Layr-Labs eigenda-proxy
| config.maxBlobLength | string | `"32MiB"` | |
| config.privateKey.value | string | `""` | |
| config.routing.cacheTargets | string | `""` | |
| config.routing.writeOnMiss | bool | `false` | |
| config.s3.accessKeyId | string | `""` | |
| config.s3.accessKeySecret | string | `""` | |
| config.s3.backup | string | `nil` | |
Expand Down
9 changes: 6 additions & 3 deletions charts/eigenda-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,15 @@ spec:
--eigenda.svc-manager-addr={{ .Values.config.eth.serviceManagerAddr }} \
--eigenda.status-query-timeout=45m \
--eigenda.g1-path=$kzg_folder/g1.point \
--eigenda.g2-tau-path=$kzg_folder/g2.point.powerOf2 \
--eigenda.g2-power-of-2-path=$kzg_folder/g2.point.powerOf2 \
--eigenda.max-blob-length={{ .Values.config.maxBlobLength }} \
--eigenda.disable-tls=false \
{{- if .Values.config.routing.cacheTargets }}
--routing.cache-targets={{ .Values.config.routing.cacheTargets }} \
{{- end }}
{{- if .Values.config.routing.writeOnMiss }}
--routing.write-on-miss \
{{- end }}
{{- if and (hasKey .Values.config.s3 "backup") (not (empty .Values.config.s3.backup)) }}
--s3.backup={{ .Values.config.s3.backup }} \
{{- end }}
Expand All @@ -122,7 +125,7 @@ spec:
--s3.endpoint={{ .Values.config.s3.endpoint }} \
{{- end }}
{{- if and (hasKey .Values.config.s3 "enableTls") (not (empty .Values.config.s3.enableTls)) }}
--s3.disable-tls={{ .Values.config.s3.enableTls }} \
--s3.enable-tls={{ .Values.config.s3.enableTls }} \
{{- end }}
{{- if .Values.config.s3.credentialType }}
--s3.credential-type={{ .Values.config.s3.credentialType }} \
Expand All @@ -147,7 +150,7 @@ spec:
{{- end }}
{{- end }}
env:
- name: EIGENDA_PROXY_SIGNER_PRIVATE_KEY_HEX
- name: EIGENDA_PROXY_EIGENDA_SIGNER_PRIVATE_KEY_HEX
{{- if and (.Values.config.privateKey.secretName) (.Values.config.privateKey.secretKey) }}
valueFrom:
secretKeyRef:
Expand Down
1 change: 1 addition & 0 deletions charts/eigenda-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ config:
serviceManagerAddr: 0xD4A7E1Bd8015057293f0D0A557088c286942e84b
routing:
cacheTargets: ""
writeOnMiss: false
privateKey:
value: ""
# secretName: test
Expand Down

0 comments on commit dc1b425

Please sign in to comment.