mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [incubator/gogs] add repo archive notice Signed-off-by: Scott Rigby <scott@r6by.com> * [incubator/gogs] use apps/v1 Signed-off-by: Carlos Panato <ctadeu@gmail.com> * [incubator/gogs] update dependencies Signed-off-by: Carlos Panato <ctadeu@gmail.com> * [incubator/gogs] update variables for postgres Signed-off-by: Carlos Panato <ctadeu@gmail.com> Co-authored-by: Carlos Panato <ctadeu@gmail.com>
391 lines
9.2 KiB
YAML
391 lines
9.2 KiB
YAML
## Override the name of the Chart.
|
|
##
|
|
# nameOverride:
|
|
|
|
## Kubernetes configuration
|
|
## For minikube, set this to NodePort, elsewhere use LoadBalancer
|
|
##
|
|
serviceType: NodePort
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: gogs/gogs
|
|
tag: 0.11.86
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
## Override the components name (defaults to service).
|
|
##
|
|
# nameOverride:
|
|
|
|
## HTTP listen port.
|
|
## ref: https://gogs.io/docs/advanced/configuration_cheat_sheet
|
|
##
|
|
httpPort: 80
|
|
|
|
## HTTP listen port on Kubernetes node.
|
|
## ref: https://gogs.io/docs/advanced/configuration_cheat_sheet
|
|
##
|
|
httpNodePort:
|
|
|
|
## SSH listen port.
|
|
##
|
|
sshPort: 22
|
|
|
|
## SSH listen port on Kubernetes node.
|
|
##
|
|
sshNodePort:
|
|
|
|
## SSH_DOMAIN - Domain name to be exposed in SSH clone URL.
|
|
## ref: https://gogs.io/docs/advanced/configuration_cheat_sheet
|
|
##
|
|
sshDomain: localhost
|
|
|
|
## Gogs configuration values
|
|
## ref: https://gogs.io/docs/advanced/configuration_cheat_sheet
|
|
##
|
|
gogs:
|
|
|
|
## Application name, can be your company or team name.
|
|
##
|
|
appName: 'Gogs'
|
|
|
|
## Either "dev", "prod" or "test".
|
|
##
|
|
runMode: 'prod'
|
|
|
|
## Force every new repository to be private.
|
|
##
|
|
forcePrivate: false
|
|
|
|
## Indicates whether or not to disable Git clone through HTTP/HTTPS. When
|
|
## disabled, users can only perform Git operations via SSH.
|
|
##
|
|
disableHttpGit: false
|
|
|
|
## Lock the path /install to configure gogs
|
|
##
|
|
installLock: true
|
|
|
|
## Indicates whether or not to enable repository file upload feature.
|
|
##
|
|
repositoryUploadEnabled: true
|
|
|
|
## File types that are allowed to be uploaded, e.g. image/jpeg|image/png.
|
|
## Leave empty means allow any file typ
|
|
##
|
|
repositoryUploadAllowedTypes:
|
|
|
|
## Maximum size of each file in MB.
|
|
##
|
|
repositoryUploadMaxFileSize: 3
|
|
|
|
## Maximum number of files per upload.
|
|
##
|
|
repositoryUploadMaxFiles: 5
|
|
|
|
## Enable this to use captcha validation for registration.
|
|
##
|
|
serviceEnableCaptcha: true
|
|
|
|
## Users need to confirm e-mail for registration
|
|
##
|
|
serviceRegisterEmailConfirm: false
|
|
|
|
## Weather or not to allow users to register.
|
|
##
|
|
serviceDisableRegistration: false
|
|
|
|
## Weather or not sign in is required to view anything.
|
|
##
|
|
serviceRequireSignInView: false
|
|
|
|
## Mail notification
|
|
##
|
|
serviceEnableNotifyMail: false
|
|
|
|
## Enable this to send mail with SMTP server.
|
|
##
|
|
mailerEnabled: false
|
|
|
|
## SMTP server host.
|
|
##
|
|
mailerHost:
|
|
|
|
## SMTP server user.
|
|
##
|
|
mailerUser:
|
|
|
|
## SMTP server password.
|
|
##
|
|
mailerPasswd:
|
|
|
|
## Mail from address. Format RFC 5322, email@example.com, or "Name" <email@example.com>
|
|
##
|
|
mailerFrom:
|
|
|
|
## Prefix prepended mail subject.
|
|
##
|
|
mailerSubjectPrefix:
|
|
|
|
## Do not verify the self-signed certificates.
|
|
##
|
|
mailerSkipVerify: false
|
|
|
|
## Either "memory", "redis", or "memcache", default is "memory"
|
|
##
|
|
cacheAdapter: memory
|
|
|
|
## For "memory" only, GC interval in seconds, default is 60
|
|
##
|
|
cacheInterval: 60
|
|
|
|
## For "redis" and "memcache", connection host address
|
|
## redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
|
|
## memcache: `127.0.0.1:11211`
|
|
##
|
|
cacheHost:
|
|
|
|
## Enable this to use captcha validation for registration.
|
|
##
|
|
serverDomain: gogs.example.com
|
|
|
|
## Full public URL of Gogs server.
|
|
##
|
|
serverRootUrl: http://gogs.example.com/
|
|
|
|
## Landing page for non-logged users, can be "home" or "explore"
|
|
##
|
|
serverLandingPage: home
|
|
|
|
## Either "mysql", "postgres" or "sqlite3", you can connect to TiDB with
|
|
## MySQL protocol. Default is to use the postgresql configuration included
|
|
## with this chart.
|
|
##
|
|
databaseType: postgres
|
|
|
|
## Database host. Unused unless `postgresql.install` is false.
|
|
##
|
|
databaseHost:
|
|
|
|
## Database user. Unused unless `postgresql.install` is false.
|
|
##
|
|
databaseUser:
|
|
|
|
## Database password. Unused unless `postgresql.install` is false.
|
|
##
|
|
databasePassword:
|
|
|
|
## Database password. Unused unless `postgresql.install` is false.
|
|
##
|
|
databaseName:
|
|
|
|
## Database SSL Mode for Postgres. Unused unless `postgresql.install` is false.
|
|
##
|
|
databaseSSLMode: disable
|
|
|
|
## Hook task queue length, increase if webhook shooting starts hanging
|
|
##
|
|
webhookQueueLength: 1000
|
|
|
|
## Deliver timeout in seconds
|
|
##
|
|
webhookDeliverTimeout: 5
|
|
|
|
## Allow insecure certification
|
|
##
|
|
webhookSkipTlsVerify: true
|
|
|
|
## Number of history information in each page
|
|
##
|
|
webhookPagingNum: 10
|
|
|
|
## Can be "console" and "file", default is "console"
|
|
## Use comma to separate multiple modes, e.g. "console, file"
|
|
##
|
|
logMode: console
|
|
|
|
## Either "Trace", "Info", "Warn", "Error", "Fatal", default is "Trace"
|
|
##
|
|
logLevel: Trace
|
|
|
|
## Undocumented, but you can take a guess.
|
|
##
|
|
otherShowFooterBranding: false
|
|
|
|
## Show version information about Gogs and Go in the footer
|
|
##
|
|
otherShowFooterVersion: true
|
|
|
|
## Show time of template execution in the footer
|
|
##
|
|
otherShowFooterTemplateLoadTime: true
|
|
|
|
## Change this value for your installation.
|
|
##
|
|
securitySecretKey: "changeme"
|
|
|
|
## Number of repositories that are showed in one explore page
|
|
##
|
|
uiExplorePagingNum: 20
|
|
|
|
## Number of issues that are showed in one page
|
|
##
|
|
uiIssuePagingNum: 10
|
|
|
|
## Number of maximum commits showed in one activity feed.
|
|
## NOTE: This value is also used in how many commits a webhook will send.
|
|
##
|
|
uiFeedMaxCommitNum: 5
|
|
|
|
## Enable running cron tasks periodically.
|
|
##
|
|
cronEnabled: true
|
|
|
|
## Run cron tasks when Gogs starts.
|
|
##
|
|
cronRunAtStart: false
|
|
|
|
## Cron syntax for scheduling update mirrors, e.g. @every 1h.
|
|
##
|
|
cronUpdateMirrorsSchedule: '@every 10m'
|
|
|
|
## Cron syntax for scheduling repository health check, e.g. @every 24h.
|
|
##
|
|
cronRepoHealthCheckSchedule: '@every 24h'
|
|
|
|
## Time duration syntax for health check execution timeout, e.g. 60s.
|
|
##
|
|
cronRepoHealthCheckTimeout: 60s
|
|
|
|
## Arguments for command git fsck, e.g. --unreachable --tags.
|
|
##
|
|
cronRepoHealthCheckArgs:
|
|
|
|
## Enable this to run repository statistics check at start time.
|
|
##
|
|
cronCheckRepoStatsRunAtStart: true
|
|
|
|
## Cron syntax for scheduling repository statistics check, e.g. @every 24h.
|
|
##
|
|
cronCheckRepoStatsSchedule: '@every 24h'
|
|
|
|
## Enable this to run repository archives cleanup at start time.
|
|
##
|
|
cronRepoArchiveCleanupRunAtStart: false
|
|
|
|
## Cron syntax for scheduling repository statistics check, e.g. @every 24h.
|
|
##
|
|
cronRepoArchiveCleanupSchedule: '@every 24h'
|
|
|
|
## Time duration to check if archive should be cleaned, e.g. 24h
|
|
##
|
|
cronRepoArchiveCleanupOlderThan: 24h
|
|
|
|
## Ingress configuration.
|
|
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
## Enable Ingress.
|
|
##
|
|
enabled: false
|
|
|
|
## Annotations.
|
|
##
|
|
# annotations:
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: 'true'
|
|
|
|
## Hostnames.
|
|
## Must be provided if Ingress is enabled.
|
|
##
|
|
# hosts:
|
|
# - gogs.domain.com
|
|
|
|
## TLS configuration.
|
|
## Secrets must be manually created in the namespace.
|
|
##
|
|
# tls:
|
|
# - secretName: gogs-tls
|
|
# hosts:
|
|
# - gogs.domain.com
|
|
|
|
## Service annotations.
|
|
## Allows attaching metadata to services for kubernetes components to act on.
|
|
##
|
|
# annotations:
|
|
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
|
|
|
|
|
|
## Persistent Volume Storage configuration.
|
|
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes
|
|
##
|
|
persistence:
|
|
## Enable persistence using Persistent Volume Claims.
|
|
##
|
|
enabled: true
|
|
|
|
## If defined, PVC must be created manually before volume will be bound
|
|
##
|
|
# existingClaim: "-"
|
|
|
|
## gogs data Persistent Volume Storage Class
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
# storageClass: "-"
|
|
|
|
## Persistent Volume Access Mode.
|
|
##
|
|
accessMode: ReadWriteOnce
|
|
|
|
## Persistent Volume Storage Size.
|
|
##
|
|
size: 1Gi
|
|
|
|
## Configuration values for the postgresql dependency.
|
|
## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
|
|
##
|
|
postgresql:
|
|
|
|
### Install PostgreSQL dependency
|
|
##
|
|
install: true
|
|
|
|
### PostgreSQL User to create.
|
|
##
|
|
postgresqlUsername: gogs
|
|
|
|
## PostgreSQL Password for the new user.
|
|
## If not set, a random 10 characters password will be used.
|
|
##
|
|
postgresqlPassword: gogs
|
|
|
|
## PostgreSQL Database to create.
|
|
##
|
|
postgresqlDatabase: gogs
|
|
|
|
## PostgreSQL SSL Mode
|
|
##
|
|
postgresSSLMode: disable
|
|
|
|
## Persistent Volume Storage configuration.
|
|
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes
|
|
##
|
|
persistence:
|
|
## Enable PostgreSQL persistence using Persistent Volume Claims.
|
|
##
|
|
enabled: true
|
|
|
|
## Security context
|
|
securityContext: {}
|
|
|
|
## Node, affinity and tolerations labels for pod assignment
|
|
nodeSelector: {}
|
|
affinity: {}
|
|
tolerations: []
|