apiVersion: v1 kind: ConfigMap metadata: name: gogs-app-ini namespace: cicd data: app.ini: | BRAND_NAME = Observe RUN_USER = git RUN_MODE = prod [database] TYPE = mysql HOST = gogs-mysql.cicd.svc.cluster.local:3306 NAME = gogs SCHEMA = public USER = gogs PASSWORD = cecf@cestong.com SSL_MODE = disable PATH = /app/gogs/data/gogs.db [repository] ROOT = /data/git/gogs-repositories [server] DOMAIN = git.cestong.com.cn HTTP_PORT = 6161 EXTERNAL_URL = http://git.cestong.com.cn DISABLE_SSH = false SSH_PORT = 8162 START_SSH_SERVER = false OFFLINE_MODE = false [mailer] ENABLED = false [auth] REQUIRE_EMAIL_CONFIRMATION = false DISABLE_REGISTRATION = true ENABLE_REGISTRATION_CAPTCHA = true REQUIRE_SIGNIN_VIEW = false [user] ENABLE_EMAIL_NOTIFICATION = false [picture] DISABLE_GRAVATAR = false ENABLE_FEDERATED_AVATAR = false [session] PROVIDER = file [log] MODE = file LEVEL = Info ROOT_PATH = /app/gogs/log [security] INSTALL_LOCK = true SECRET_KEY = yrVPvcB2Li1vTtB LOCAL_NETWORK_ALLOWLIST = jenkins.cestong.com.cn [http] ACCESS_CONTROL_ALLOW_ORIGIN = *