blob: 32b167b929dd00755781dfbbb8203573fb291e61 [file] [log] [blame]
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +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-replica
8 app.kubernetes.io/instance: {{ .Release.Name }}
9 chart: {{ template "gerrit-replica.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 }}