Skip to content

Commit

Permalink
Merge pull request #2148 from go-bai/fix_chart
Browse files Browse the repository at this point in the history
fix: add missing MY_NODE_NAME environment variable in chart
  • Loading branch information
thomasferrandiz authored Jan 10, 2025
2 parents e59e799 + a929725 commit fb196ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chart/kube-flannel/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ spec:
{{- range .Values.netpol.args }}
- {{ . | quote }}
{{- end }}
env:
- name: MY_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
volumeMounts:
- name: lib-modules
mountPath: /lib/modules
Expand Down

0 comments on commit fb196ec

Please sign in to comment.