UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Resolve "Feature request: .gitlab.toolbox.customScripts for preloading `rails runner` scripts to use on demand"

Files
7
{{- if .Values.enabled -}}
{{- if .Values.customScripts -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "fullname" . }}-custom-scripts
namespace: {{ $.Release.Namespace }}
labels:
{{- include "gitlab.standardLabels" . | nindent 4 }}
{{- include "gitlab.commonLabels" . | nindent 4 }}
data:
{{- range $key, $value := .Values.customScripts }}
{{ $key }}: |
{{ $value }}
{{- end }}
{{- end }}
{{- end }}
Loading