Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Nov 1, 2024
1 parent 1381ed5 commit 37a36b5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/evm-bridge-withdrawer/templates/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ data:
ASTRIA_BRIDGE_WITHDRAWER_SEQUENCER_GRPC_ENDPOINT: "{{ tpl .Values.config.sequencerGrpcEndpoint . }}"
ASTRIA_BRIDGE_WITHDRAWER_SEQUENCER_BRIDGE_ADDRESS: "{{ .Values.config.sequencerBridgeAddress }}"
ASTRIA_BRIDGE_WITHDRAWER_FEE_ASSET_DENOMINATION: "{{ .Values.config.feeAssetDenom }}"
ASTRIA_BRIDGE_WITHDRAWER_USE_COMPAT_ADDRESS: "{{ .Values.config.useCompatAddress }}"

ASTRIA_BRIDGE_WITHDRAWER_ROLLUP_ASSET_DENOMINATION: "{{ .Values.config.rollupAssetDenom }}"
ASTRIA_BRIDGE_WITHDRAWER_ETHEREUM_CONTRACT_ADDRESS: "{{ .Values.config.evmContractAddress }}"
Expand All @@ -33,7 +34,6 @@ data:
OTEL_SERVICE_NAME: "{{ tpl .Values.otel.serviceName . }}"
{{- if not .Values.global.dev }}
{{- else }}
ASTRIA_BRIDGE_WITHDRAWER_USE_COMPAT_ADDRESS: "{{ .Values.config.useCompatAddress }}"
{{- end }}
---
{{- if not .Values.secretProvider.enabled }}
Expand Down
2 changes: 1 addition & 1 deletion charts/graph-node/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: graph-node
description: A Helm chart for Graph Node deployment
version: 0.1.0
version: 0.2.0
appVersion: "0.0.1"

maintainers:
Expand Down
23 changes: 13 additions & 10 deletions charts/graph-node/templates/volumes.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{/* We need to manually create a PersistentVolume when local. */}}
{{/* In prod, a PV will be created by the StorageClass' provisioner using dynamic provisioning feature. */}}
{{- if and .Values.ipfs.storage.enabled }}
{{- range $key, $value := .Values.storage.entities }}
{{- if $.Values.storage.local }}
{{- range $key, $value := .Values.ipfs.storage.entities }}
{{- if $.Values.ipfs.storage.local }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down Expand Up @@ -41,7 +41,7 @@ metadata:
"app.kubernetes.io/managed-by": {{ $.Release.Service | quote }}
"helm.sh/chart": {{ $.Chart.Name }}-{{ $.Chart.Version | replace "+" "_" }}
spec:
{{- if $.Values.storage.local }}
{{- if $.Values.ipfs.storage.local }}
storageClassName: {{ .Values.persistence.storageClass }}
{{- end }}
{{- if $value.storageClassName }}
Expand All @@ -56,22 +56,25 @@ spec:
{{- end }}
{{- end }}
{{- if and .Values.postgres.storage.enabled }}
{{- range $key, $value := .Values.storage.entities }}
{{- if $.Values.storage.local }}
{{- range $key, $value := .Values.postgres.storage.entities }}
{{- if $.Values.postgres.storage.local }}
apiVersion: v1
kind: PersistentVolume
kind: PersistentVolumeClaim
metadata:
name: postgres-pvc
name: ipfs-pvc
spec:
capacity:
storage: {{ $value.size }}
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
storageClassName: {{ .Values.persistence.storageClass }}
accessModes:
- ReadWriteOnce
local:
path: {{ $value.path }}
resources:
requests:
storage: {{ .Values.ipfs.storage.size }}
nodeAffinity:
required:
nodeSelectorTerms:
Expand All @@ -93,7 +96,7 @@ metadata:
"app.kubernetes.io/managed-by": {{ $.Release.Service | quote }}
"helm.sh/chart": {{ $.Chart.Name }}-{{ $.Chart.Version | replace "+" "_" }}
spec:
{{- if $.Values.storage.local }}
{{- if $.Values.postgres.storage.local }}
storageClassName: {{ .Values.persistence.storageClass }}
{{- end }}
{{- if $value.storageClassName }}
Expand Down

0 comments on commit 37a36b5

Please sign in to comment.