blob: dd2c3ddfffbf67a6ff5585a4d236557d3446f5d1 [file] [log] [blame]
Giorgi Lekveishviliee15ee22024-03-28 12:35:10 +04001{{- if and .Values.nfsWorkaround.enabled .Values.nfsWorkaround.idDomain -}}
2apiVersion: v1
3kind: ConfigMap
4metadata:
5 name: {{ .Release.Name }}-nfs-configmap
6 labels:
7 app.kubernetes.io/component: gerrit
8 app.kubernetes.io/instance: {{ .Release.Name }}
9 chart: {{ template "gerrit.chart" . }}
10 heritage: {{ .Release.Service }}
11 release: {{ .Release.Name }}
12 {{- if .Values.additionalLabels }}
13{{ toYaml .Values.additionalLabels | indent 4 }}
14 {{- end }}
15data:
16 idmapd.conf: |-
17 [General]
18
19 Verbosity = 0
20 Pipefs-Directory = /run/rpc_pipefs
21 # set your own domain here, if it differs from FQDN minus hostname
22 Domain = {{ .Values.nfsWorkaround.idDomain }}
23
24 [Mapping]
25
26 Nobody-User = nobody
27 Nobody-Group = nogroup
28{{- end }}