2021-10-01 12:20:59 +00:00
|
|
|
{{/* Define the configmap */}}
|
|
|
|
{{- define "gitea.configmap" -}}
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: gitea-env
|
|
|
|
data:
|
|
|
|
GITEA_APP_INI: "/data/gitea/conf/app.ini"
|
|
|
|
GITEA_CUSTOM: "/data/gitea"
|
|
|
|
GITEA_WORK_DIR: "/data"
|
|
|
|
GITEA_TEMP: "/tmp/gitea"
|
2023-02-02 22:49:09 +00:00
|
|
|
GITEA_ADMIN_USERNAME: {{ .Values.admin.username | quote }}
|
|
|
|
GITEA_ADMIN_PASSWORD: {{ .Values.admin.password | quote }}
|
2021-10-01 12:20:59 +00:00
|
|
|
SSH_PORT: {{ .Values.service.ssh.ports.ssh.port | quote }}
|
|
|
|
SSH_LISTEN_PORT: {{ .Values.service.ssh.ports.ssh.targetPort | quote }}
|
|
|
|
TMPDIR: "/tmp/gitea"
|
|
|
|
GNUPGHOME: "/data/git/.gnupg"
|
|
|
|
|
|
|
|
{{- end -}}
|