diff --git a/charts/nethermind/Chart.yaml b/charts/nethermind/Chart.yaml index c09d4dd..545745c 100644 --- a/charts/nethermind/Chart.yaml +++ b/charts/nethermind/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nethermind description: A Helm chart for Ethereum Nethermind client type: application -version: 0.1.2 +version: 0.2.0 icon: https://github.com/NethermindEth/nethermind/raw/master/Nethermind.png keywords: - ethereum @@ -11,7 +11,7 @@ home: https://nethermind.io/ sources: - https://github.com/NethermindEth/nethermind maintainers: - - name: Ivan Vandot + - name: vandot email: vandot@ethswarm.org appVersion: latest diff --git a/charts/nethermind/templates/service.yaml b/charts/nethermind/templates/service.yaml index b5fb812..07e63bd 100644 --- a/charts/nethermind/templates/service.yaml +++ b/charts/nethermind/templates/service.yaml @@ -11,6 +11,10 @@ spec: targetPort: http protocol: TCP name: http + - port: {{ .Values.service.engine }} + targetPort: engine + protocol: TCP + name: engine - port: {{ .Values.service.prometheus }} targetPort: prometheus protocol: TCP diff --git a/charts/nethermind/templates/statefulset.yaml b/charts/nethermind/templates/statefulset.yaml index cfa5ab1..478dca4 100644 --- a/charts/nethermind/templates/statefulset.yaml +++ b/charts/nethermind/templates/statefulset.yaml @@ -47,6 +47,9 @@ spec: - name: http containerPort: {{ .Values.container.ports.http }} protocol: TCP + - name: engine + containerPort: {{ .Values.container.ports.engine }} + protocol: TCP - name: prometheus containerPort: {{ .Values.container.ports.prometheus }} protocol: TCP diff --git a/charts/nethermind/templates/tests/test-connection.yaml b/charts/nethermind/templates/tests/test-connection.yaml index 9862886..1f5a512 100644 --- a/charts/nethermind/templates/tests/test-connection.yaml +++ b/charts/nethermind/templates/tests/test-connection.yaml @@ -11,5 +11,5 @@ spec: - name: wget image: busybox command: ['wget'] - args: ['{{ include "nethermind.fullname" . }}:{{ .Values.service.port }}'] + args: ['{{ include "nethermind.fullname" . }}:{{ .Values.service.http }}'] restartPolicy: Never diff --git a/charts/nethermind/values.yaml b/charts/nethermind/values.yaml index c71492d..1213f63 100644 --- a/charts/nethermind/values.yaml +++ b/charts/nethermind/values.yaml @@ -8,9 +8,9 @@ image: repository: nethermind/nethermind pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "1.10.79" + tag: "1.14.0" args: [ - "--config", + "--config", "mainnet"] imagePullSecrets: [] @@ -26,20 +26,20 @@ volumes: persistence: enabled: true annotations: {} - accessModes: + accessModes: - ReadWriteOnce - size: 20Gi # For mainnet must increase + size: 20Gi # For mainnet must increase ## A manually managed Persistent Volume and Claim ## If defined, PVC must be created manually before volume will be bound ## The value is evaluated as a template, so, for example, the name can depend on .Release or .Chart - ## + ## # existingClaim: ## An existing directory in the node ## If defined, host directory must be created manually before volume will be bound ## See https://kubernetes.io/docs/concepts/storage/volumes/#hostpath - ## + ## # hostPath: # path: /nethermind/nethermind_db # type: Directory @@ -62,6 +62,7 @@ securityContext: {} container: ports: http: 8545 + engine: 8551 listener: 30303 discovery: 30303 prometheus: 9091 @@ -69,6 +70,7 @@ container: service: type: ClusterIP http: 8545 + engine: 8551 prometheus: 9091 serviceP2P: