K3s-cluster/gitlab/configmap.yaml

39 lines
1.0 KiB
YAML
Raw Normal View History

apiVersion: v1
kind: ConfigMap
metadata:
name: gitlab-config
namespace: gitlab
data:
gitlab.rb: |
external_url 'https://git.beta.halia.dev'
gitlab_rails['gitlab_default_theme'] = 2
registry_external_url 'https://git.beta.halia.dev'
puma['worker_processes'] = 0
sidekiq['max_concurrency'] = 5
nginx['listen_port'] = 80
nginx['listen_https'] = false
gitlab_kas['enable'] = true
registry_nginx['enable'] = true
registry_nginx['proxy_set_headers'] = {
"X-Forwarded-Proto" => "https",
"X-Forwarded-Ssl" => "on"
}
registry_nginx['listen_port'] = 5050
registry_nginx['listen_https'] = false
prometheus_monitoring['enable'] = false
gitaly['env'] = {
'GITALY_COMMAND_SPAWN_MAX_PARALLEL' => '2'
}
gitaly['ruby_max_rss'] = 200_000_000
gitaly['concurrency'] = [
{
'rpc' => "/gitaly.SmartHTTPService/PostReceivePack",
'max_per_repo' => 3
}, {
'rpc' => "/gitaly.SSHService/SSHUploadPack",
'max_per_repo' => 3
}
]