| {{- if and .Values.nfsWorkaround.enabled .Values.nfsWorkaround.idDomain -}} |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: {{ .Release.Name }}-nfs-configmap |
| labels: |
| app.kubernetes.io/component: gerrit |
| app.kubernetes.io/instance: {{ .Release.Name }} |
| chart: {{ template "gerrit.chart" . }} |
| heritage: {{ .Release.Service }} |
| release: {{ .Release.Name }} |
| {{- if .Values.additionalLabels }} |
| {{ toYaml .Values.additionalLabels | indent 4 }} |
| {{- end }} |
| data: |
| idmapd.conf: |- |
| [General] |
| |
| Verbosity = 0 |
| Pipefs-Directory = /run/rpc_pipefs |
| # set your own domain here, if it differs from FQDN minus hostname |
| Domain = {{ .Values.nfsWorkaround.idDomain }} |
| |
| [Mapping] |
| |
| Nobody-User = nobody |
| Nobody-Group = nogroup |
| {{- end }} |