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['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 } ] node_exporter['listen_address'] = '0.0.0.0:9100' gitlab_workhorse['prometheus_listen_addr'] = '0.0.0.0:9229' gitlab_exporter['listen_address'] = '0.0.0.0' gitlab_exporter['listen_port'] = '9168' sidekiq['listen_address'] = '0.0.0.0' redis_exporter['listen_address'] = '0.0.0.0:9121' postgres_exporter['listen_address'] = '0.0.0.0:9187' gitaly['prometheus_listen_addr'] = '0.0.0.0:9236' gitlab_rails['monitoring_whitelist'] = ['0.0.0.0'] gitlab_rails['prometheus_address'] = '0.0.0.0:9090' nginx['status']['options'] = { "server_tokens" => "off", "access_log" => "off", "allow" => "0.0.0.0", "deny" => "all", } postgresql['enable'] = false gitlab_rails['db_adapter'] = 'postgresql' gitlab_rails['db_encoding'] = 'unicode' gitlab_rails['db_host'] = 'localhost' gitlab_rails['db_password'] = 'aberation' gitlab_rails['manage_backup_path'] = true gitlab_rails['backup_path'] = "/backups"