UNCLASSIFIED - NO CUI

Skip to content

Toolbox customScripts bug

Location: /charts/gitlab/charts/toolbox/templates/deployment.yaml Line: 273

Under the volumes block, "gitlab.nodeSelector" is being included resulting in invalid yaml.

{{- end }}
- name: toolbox-secrets
emptyDir:
medium: "Memory"
{{- include "gitlab.certificates.volumes" . | nindent 6 }}
{{- include "gitlab.nodeSelector" . | nindent 6 }}
{{- if .Values.customScripts }}
- name: {{ template "fullname" . }}-custom-scripts
projected:
sources:
- configMap:
name: {{ template "fullname" . }}-custom-scripts
{{- end }}

This is preventing the use of custom ruby scripts for gitlab toolbox if nodeSelector is defined.

Edited by Ryan Morris