Skip to content

Commit

Permalink
fix(node/initContainers): remove duplicate port definition
Browse files Browse the repository at this point in the history
to tackle these warnings:

$ helm install akash-node ./charts/akash-node -n akash-services
W0926 11:56:36.874077  117617 warnings.go:70] spec.template.spec.containers[0].ports[0]: duplicate port definition with spec.template.spec.initContainers[0].ports[0]
W0926 11:56:36.874089  117617 warnings.go:70] spec.template.spec.containers[0].ports[1]: duplicate port definition with spec.template.spec.initContainers[0].ports[1]
W0926 11:56:36.874094  117617 warnings.go:70] spec.template.spec.containers[0].ports[2]: duplicate port definition with spec.template.spec.initContainers[0].ports[2]
W0926 11:56:36.874096  117617 warnings.go:70] spec.template.spec.containers[0].ports[3]: duplicate port definition with spec.template.spec.initContainers[0].ports[3]
  • Loading branch information
andy108369 committed Sep 26, 2024
1 parent 872eeb6 commit b2bab16
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions charts/akash-node/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,6 @@ spec:
{{- end }}
- name: AKASH_API_ENABLE
value: "{{ .Values.akash_node.api_enable }}"
ports:
- containerPort: 1317
name: akashd-api
- containerPort: 9090
name: akashd-grpc
- containerPort: 26656
name: akashd-p2p
- containerPort: 26657
name: akashd-rpc
volumeMounts:
- name: config
mountPath: /config
Expand Down

0 comments on commit b2bab16

Please sign in to comment.