From https://github.com/tigerpeng2001/graylog-helm/blob/main/evaluation.txt
Graylog and DataNode StatefulSets render nodeSelector as a Go map string (e.g., map[kubernetes:map[io/os:linux]]) instead of a YAML map.
|
{{- if .Values.datanode.nodeSelector }} |
|
nodeSelector: {{ .Values.datanode.nodeSelector }} |
|
{{- end }} |
|
{{- if .Values.graylog.nodeSelector }} |
|
nodeSelector: {{ .Values.graylog.nodeSelector }} |
|
{{- end }} |
How to reproduce?
helm template graylog ./charts/graylog --set graylog.nodeSelector.kubernetes.os=linux --set datanode.nodeSelector.kubernetes.os=linux | grep "nodeSelector"
Should output
nodeSelector: map[kubernetes:map[os:linux]]
nodeSelector: map[kubernetes:map[os:linux]]
From https://github.com/tigerpeng2001/graylog-helm/blob/main/evaluation.txt
Graylog and DataNode StatefulSets render nodeSelector as a Go map string (e.g.,
map[kubernetes:map[io/os:linux]]) instead of a YAML map.graylog-helm/charts/graylog/templates/workload/statefulsets/datanode.yaml
Lines 48 to 50 in 5ffb072
graylog-helm/charts/graylog/templates/workload/statefulsets/graylog.yaml
Lines 49 to 51 in 5ffb072
How to reproduce?
Should output