| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame^] | 1 | {{- if and .Values.nfsWorkaround.enabled .Values.nfsWorkaround.idDomain -}} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 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 }} |
| 15 | data: |
| 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 }} |