2021-10-01 08:20:59 -04:00
|
|
|
image:
|
2021-12-03 07:02:44 -05:00
|
|
|
repository: tccr.io/truecharts/gitea
|
2023-07-19 06:36:04 -04:00
|
|
|
tag: v1.20.0@sha256:b56f3bfa71224262662a7b83d255fd1b9c2ef4b26afd150ef6d36ef9da019db7
|
2021-10-01 08:20:59 -04:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 04:26:31 -05:00
|
|
|
port: 10037
|
2021-11-06 17:55:18 -04:00
|
|
|
targetPort: 3000
|
2021-10-01 08:20:59 -04:00
|
|
|
ssh:
|
2021-11-08 08:42:18 -05:00
|
|
|
enabled: true
|
2021-10-01 08:20:59 -04:00
|
|
|
ports:
|
|
|
|
ssh:
|
2021-11-08 08:42:18 -05:00
|
|
|
enabled: true
|
2021-10-01 08:20:59 -04:00
|
|
|
port: 2222
|
|
|
|
targetPort: 2222
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/data"
|
2023-04-30 15:15:20 -04:00
|
|
|
targetSelectAll: true
|
2021-10-01 08:20:59 -04:00
|
|
|
varlib:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/lib/gitea"
|
|
|
|
type: emptyDir
|
|
|
|
# Configure commit/action signing prerequisites
|
|
|
|
signing:
|
|
|
|
enabled: true
|
|
|
|
gpgHome: /data/git/.gnupg
|
|
|
|
admin:
|
|
|
|
username: giteaadmin
|
|
|
|
password: r8sA8CPHD9!bt6d
|
|
|
|
email: "gitea@local.domain"
|
|
|
|
metrics:
|
2023-04-30 15:15:20 -04:00
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
type: "servicemonitor"
|
2021-10-01 08:20:59 -04:00
|
|
|
ldap:
|
|
|
|
enabled: false
|
|
|
|
# name:
|
|
|
|
# securityProtocol:
|
|
|
|
# host:
|
|
|
|
# port:
|
|
|
|
# userSearchBase:
|
|
|
|
# userFilter:
|
|
|
|
# adminFilter:
|
|
|
|
# emailAttribute:
|
|
|
|
# bindDn:
|
|
|
|
# bindPassword:
|
|
|
|
# usernameAttribute:
|
|
|
|
# sshPublicKeyAttribute:
|
|
|
|
oauth:
|
|
|
|
enabled: false
|
|
|
|
# name:
|
|
|
|
# provider:
|
|
|
|
# key:
|
|
|
|
# secret:
|
|
|
|
# autoDiscoverUrl:
|
|
|
|
# useCustomUrls:
|
|
|
|
# customAuthUrl:
|
|
|
|
# customTokenUrl:
|
|
|
|
# customProfileUrl:
|
|
|
|
# customEmailUrl:
|
|
|
|
config:
|
|
|
|
APP_NAME: "Gitea: Git with a cup of tea"
|
|
|
|
RUN_MODE: dev
|
2022-08-13 13:36:29 -04:00
|
|
|
ALLOWED_HOST_LIST: "127.0.0.1"
|
2022-11-30 14:30:01 -05:00
|
|
|
nodeIP: 127.0.0.1
|
2023-04-30 15:15:20 -04:00
|
|
|
customConfig: []
|
|
|
|
# - name: test
|
|
|
|
# keys:
|
|
|
|
# - name: testkey
|
|
|
|
# value: testvalue
|
2021-10-01 08:20:59 -04:00
|
|
|
|
|
|
|
# Enabled postgres
|
2023-04-30 15:15:20 -04:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
2021-10-01 08:20:59 -04:00
|
|
|
|
2023-04-30 15:15:20 -04:00
|
|
|
user: gitea
|
|
|
|
database: gitea
|
2021-10-01 08:20:59 -04:00
|
|
|
# -- memcached dependency settings
|
|
|
|
memcached:
|
|
|
|
enabled: true
|
2022-08-08 17:25:02 -04:00
|
|
|
portal:
|
2023-04-30 15:15:20 -04:00
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsUser: 1000
|
|
|
|
runAsGroup: 1000
|
|
|
|
fsGroup: 1000
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
initContainers:
|
|
|
|
1-init-directories:
|
|
|
|
enabled: true
|
|
|
|
imageSelector: image
|
|
|
|
type: init
|
2023-05-23 04:26:41 -04:00
|
|
|
command:
|
|
|
|
- "/usr/sbin/init_directory_structure.sh"
|
2023-04-30 15:15:20 -04:00
|
|
|
securityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsNonRoot: false
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: gitea-env
|
|
|
|
2-configure-gitea:
|
|
|
|
enabled: true
|
|
|
|
imageSelector: image
|
|
|
|
type: init
|
2023-05-23 04:26:41 -04:00
|
|
|
command:
|
|
|
|
- "/usr/sbin/configure_gitea.sh"
|
2023-04-30 15:15:20 -04:00
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: gitea-env
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: tcp
|
|
|
|
readiness:
|
|
|
|
type: tcp
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: gitea-env
|