We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4362918 commit dd6ae75Copy full SHA for dd6ae75
1 file changed
install-bundler/bundler/templates/statefulset.yaml
@@ -74,6 +74,11 @@ spec:
74
- name: {{ include "chart.name" . }}-pod
75
imagePullPolicy: {{ if eq .Values.provider "local" }} "Never" {{ else }} "IfNotPresent" {{ end }}
76
image: {{ .Values.image.name }}:{{.Values.image.tag}}
77
+ command: ["/bin/sh", "-c"]
78
+ args:
79
+ - |
80
+ export POD_INDEX=$(cat /etc/podinfo/ordinal_index)
81
+ export NODE_CONFIG='{"relayer": {"nodePathIndex": '$POD_INDEX'}}'
82
83
ports:
84
- containerPort: {{ .Values.targetPort }}
0 commit comments