blob: 32b167b929dd00755781dfbbb8203573fb291e61 [file] [log] [blame]
{{- if and .Values.nfsWorkaround.enabled .Values.nfsWorkaround.idDomain -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-nfs-configmap
labels:
app.kubernetes.io/component: gerrit-replica
app.kubernetes.io/instance: {{ .Release.Name }}
chart: {{ template "gerrit-replica.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 }}