2020-08-23 12:56:55 -05:00
|
|
|
# Default values for gitea.
|
|
|
|
# This is a YAML-formatted file.
|
|
|
|
# Declare variables to be passed into your templates.
|
2019-12-12 12:38:31 -06:00
|
|
|
|
2020-08-23 12:56:55 -05:00
|
|
|
replicaCount: 1
|
2019-12-12 12:38:31 -06:00
|
|
|
|
2020-10-29 12:08:58 -05:00
|
|
|
clusterDomain: cluster.local
|
|
|
|
|
2020-08-23 12:56:55 -05:00
|
|
|
image:
|
|
|
|
repository: gitea/gitea
|
2022-03-01 08:55:44 -06:00
|
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
|
|
tag: ""
|
2020-08-23 12:56:55 -05:00
|
|
|
pullPolicy: Always
|
2021-04-29 04:12:48 -05:00
|
|
|
rootless: false # only possible when running 1.14 or later
|
2019-12-12 12:38:31 -06:00
|
|
|
|
2020-08-23 12:56:55 -05:00
|
|
|
imagePullSecrets: []
|
2019-12-12 12:38:31 -06:00
|
|
|
|
2021-12-18 05:10:48 -06:00
|
|
|
# Security context is only usable with rootless image due to image design
|
|
|
|
podSecurityContext:
|
|
|
|
fsGroup: 1000
|
|
|
|
|
|
|
|
containerSecurityContext: {}
|
2021-07-01 10:02:56 -05:00
|
|
|
# allowPrivilegeEscalation: false
|
|
|
|
# capabilities:
|
|
|
|
# drop:
|
|
|
|
# - ALL
|
|
|
|
# # Add the SYS_CHROOT capability for root and rootless images if you intend to
|
|
|
|
# # run pods on nodes that use the container runtime cri-o. Otherwise, you will
|
|
|
|
# # get an error message from the SSH server that it is not possible to read from
|
|
|
|
# # the repository.
|
|
|
|
# # https://gitea.com/gitea/helm-chart/issues/161
|
|
|
|
# add:
|
|
|
|
# - SYS_CHROOT
|
|
|
|
# privileged: false
|
|
|
|
# readOnlyRootFilesystem: true
|
|
|
|
# runAsGroup: 1000
|
|
|
|
# runAsNonRoot: true
|
|
|
|
# runAsUser: 1000
|
2021-03-01 06:16:49 -06:00
|
|
|
|
2021-12-18 05:10:48 -06:00
|
|
|
# DEPRECATED. The securityContext variable has been split two:
|
|
|
|
# - containerSecurityContext
|
|
|
|
# - podSecurityContext.
|
|
|
|
securityContext: {}
|
|
|
|
|
2019-12-12 12:38:31 -06:00
|
|
|
service:
|
|
|
|
http:
|
2020-08-23 12:56:55 -05:00
|
|
|
type: ClusterIP
|
2019-12-12 12:38:31 -06:00
|
|
|
port: 3000
|
2020-12-16 06:37:47 -06:00
|
|
|
clusterIP: None
|
|
|
|
#loadBalancerIP:
|
|
|
|
#nodePort:
|
2021-06-07 12:53:01 -05:00
|
|
|
#externalTrafficPolicy:
|
|
|
|
#externalIPs:
|
|
|
|
loadBalancerSourceRanges: []
|
2020-11-20 02:08:26 -06:00
|
|
|
annotations:
|
2019-12-12 12:38:31 -06:00
|
|
|
ssh:
|
2020-08-23 12:56:55 -05:00
|
|
|
type: ClusterIP
|
2019-12-12 12:38:31 -06:00
|
|
|
port: 22
|
2020-12-16 06:37:47 -06:00
|
|
|
clusterIP: None
|
2020-08-23 12:56:55 -05:00
|
|
|
#loadBalancerIP:
|
|
|
|
#nodePort:
|
2020-09-02 07:09:24 -05:00
|
|
|
#externalTrafficPolicy:
|
|
|
|
#externalIPs:
|
2022-02-25 03:18:57 -06:00
|
|
|
#hostPort:
|
2021-02-04 14:42:42 -06:00
|
|
|
loadBalancerSourceRanges: []
|
2020-08-23 12:56:55 -05:00
|
|
|
annotations:
|
|
|
|
|
|
|
|
ingress:
|
2019-12-12 12:38:31 -06:00
|
|
|
enabled: false
|
2021-09-01 21:53:48 -05:00
|
|
|
# className: nginx
|
2020-08-23 12:56:55 -05:00
|
|
|
annotations: {}
|
|
|
|
# kubernetes.io/ingress.class: nginx
|
|
|
|
# kubernetes.io/tls-acme: "true"
|
|
|
|
hosts:
|
2021-06-24 13:28:45 -05:00
|
|
|
- host: git.example.com
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
2020-08-23 12:56:55 -05:00
|
|
|
tls: []
|
|
|
|
# - secretName: chart-example-tls
|
|
|
|
# hosts:
|
|
|
|
# - git.example.com
|
2021-12-20 05:54:37 -06:00
|
|
|
# Mostly for argocd or any other CI that uses `helm template | kubectl apply` or similar
|
|
|
|
# If helm doesn't correctly detect your ingress API version you can set it here.
|
|
|
|
# apiVersion: networking.k8s.io/v1
|
2020-08-23 12:56:55 -05:00
|
|
|
|
|
|
|
resources: {}
|
|
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
|
|
# limits:
|
|
|
|
# cpu: 100m
|
|
|
|
# memory: 128Mi
|
|
|
|
# requests:
|
|
|
|
# cpu: 100m
|
|
|
|
# memory: 128Mi
|
2019-12-12 12:38:31 -06:00
|
|
|
|
2021-06-07 03:41:16 -05:00
|
|
|
## Use an alternate scheduler, e.g. "stork".
|
|
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
|
|
##
|
|
|
|
# schedulerName:
|
|
|
|
|
2019-12-12 12:38:31 -06:00
|
|
|
nodeSelector: {}
|
2020-08-23 12:56:55 -05:00
|
|
|
|
2019-12-12 12:38:31 -06:00
|
|
|
tolerations: []
|
2020-08-23 12:56:55 -05:00
|
|
|
|
2019-12-12 12:38:31 -06:00
|
|
|
affinity: {}
|
|
|
|
|
2020-08-23 12:56:55 -05:00
|
|
|
statefulset:
|
2020-09-10 05:15:34 -05:00
|
|
|
env: []
|
|
|
|
# - name: VARIABLE
|
|
|
|
# value: my-value
|
2020-08-23 12:56:55 -05:00
|
|
|
terminationGracePeriodSeconds: 60
|
2021-03-16 19:07:42 -05:00
|
|
|
labels: {}
|
2020-08-23 12:56:55 -05:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
enabled: true
|
2021-01-20 05:28:39 -06:00
|
|
|
# existingClaim:
|
2020-08-23 12:56:55 -05:00
|
|
|
size: 10Gi
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
2021-01-22 02:24:37 -06:00
|
|
|
labels: {}
|
|
|
|
annotations: {}
|
2021-06-07 12:53:01 -05:00
|
|
|
# storageClass:
|
2021-12-20 05:58:44 -06:00
|
|
|
# subPath:
|
2020-08-23 12:56:55 -05:00
|
|
|
|
2021-01-20 05:28:39 -06:00
|
|
|
# additional volumes to add to the Gitea statefulset.
|
|
|
|
extraVolumes:
|
|
|
|
# - name: postgres-ssl-vol
|
|
|
|
# secret:
|
|
|
|
# secretName: gitea-postgres-ssl
|
|
|
|
|
|
|
|
|
|
|
|
# additional volumes to mount, both to the init container and to the main
|
|
|
|
# container. As an example, can be used to mount a client cert when connecting
|
|
|
|
# to an external Postgres server.
|
|
|
|
extraVolumeMounts:
|
|
|
|
# - name: postgres-ssl-vol
|
|
|
|
# readOnly: true
|
|
|
|
# mountPath: "/pg-ssl"
|
|
|
|
|
|
|
|
# bash shell script copied verbatim to the start of the init-container.
|
|
|
|
initPreScript: ""
|
|
|
|
#
|
|
|
|
# initPreScript: |
|
|
|
|
# mkdir -p /data/git/.postgresql
|
|
|
|
# cp /pg-ssl/* /data/git/.postgresql/
|
|
|
|
# chown -R git:git /data/git/.postgresql/
|
|
|
|
# chmod 400 /data/git/.postgresql/postgresql.key
|
|
|
|
|
2021-06-29 14:23:32 -05:00
|
|
|
# Configure commit/action signing prerequisites
|
|
|
|
signing:
|
|
|
|
enabled: false
|
|
|
|
gpgHome: /data/git/.gnupg
|
2021-01-20 05:28:39 -06:00
|
|
|
|
2020-08-23 12:56:55 -05:00
|
|
|
gitea:
|
|
|
|
admin:
|
2021-06-10 06:13:33 -05:00
|
|
|
#existingSecret: gitea-admin-secret
|
2020-08-23 12:56:55 -05:00
|
|
|
username: gitea_admin
|
|
|
|
password: r8sA8CPHD9!bt6d
|
|
|
|
email: "gitea@local.domain"
|
|
|
|
|
2021-01-21 09:45:26 -06:00
|
|
|
metrics:
|
|
|
|
enabled: false
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: false
|
2021-06-07 09:28:28 -05:00
|
|
|
# additionalLabels:
|
|
|
|
# prometheus-release: prom1
|
2021-01-21 09:45:26 -06:00
|
|
|
|
2021-10-08 07:16:24 -05:00
|
|
|
ldap: []
|
|
|
|
# - name: "LDAP 1"
|
|
|
|
# existingSecret:
|
|
|
|
# securityProtocol:
|
|
|
|
# host:
|
|
|
|
# port:
|
|
|
|
# userSearchBase:
|
|
|
|
# userFilter:
|
|
|
|
# adminFilter:
|
|
|
|
# emailAttribute:
|
|
|
|
# bindDn:
|
|
|
|
# bindPassword:
|
|
|
|
# usernameAttribute:
|
|
|
|
# publicSSHKeyAttribute:
|
2020-08-23 12:56:55 -05:00
|
|
|
|
2021-12-20 08:43:55 -06:00
|
|
|
# Either specify inline `key` and `secret` or refer to them via `existingSecret`
|
|
|
|
oauth: []
|
|
|
|
# - name: 'OAuth 1'
|
|
|
|
# provider:
|
|
|
|
# key:
|
|
|
|
# secret:
|
|
|
|
# existingSecret:
|
|
|
|
# autoDiscoverUrl:
|
|
|
|
# useCustomUrls:
|
|
|
|
# customAuthUrl:
|
|
|
|
# customTokenUrl:
|
|
|
|
# customProfileUrl:
|
|
|
|
# customEmailUrl:
|
2021-03-01 06:24:11 -06:00
|
|
|
|
2020-08-23 12:56:55 -05:00
|
|
|
config: {}
|
|
|
|
# APP_NAME: "Gitea: Git with a cup of tea"
|
2021-01-20 05:28:39 -06:00
|
|
|
# RUN_MODE: dev
|
|
|
|
#
|
2020-08-23 12:56:55 -05:00
|
|
|
# server:
|
|
|
|
# SSH_PORT: 22
|
|
|
|
#
|
|
|
|
# security:
|
|
|
|
# PASSWORD_COMPLEXITY: spec
|
|
|
|
|
2021-12-22 04:44:04 -06:00
|
|
|
additionalConfigSources: []
|
|
|
|
# - secret:
|
|
|
|
# secretName: gitea-app-ini-oauth
|
|
|
|
# - configMap:
|
|
|
|
# name: gitea-app-ini-plaintext
|
|
|
|
|
2022-03-09 00:47:55 -06:00
|
|
|
additionalConfigFromEnvs: []
|
|
|
|
|
2020-09-24 11:32:11 -05:00
|
|
|
podAnnotations: {}
|
|
|
|
|
2021-12-13 02:50:08 -06:00
|
|
|
# Modify the liveness probe for your needs or completely disable it by commenting out.
|
2021-03-01 08:46:05 -06:00
|
|
|
livenessProbe:
|
2021-12-13 02:50:08 -06:00
|
|
|
tcpSocket:
|
|
|
|
port: http
|
2021-03-01 08:46:05 -06:00
|
|
|
initialDelaySeconds: 200
|
|
|
|
timeoutSeconds: 1
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
failureThreshold: 10
|
2021-12-13 02:50:08 -06:00
|
|
|
|
|
|
|
# Modify the readiness probe for your needs or completely disable it by commenting out.
|
2021-03-01 08:46:05 -06:00
|
|
|
readinessProbe:
|
2021-12-13 02:50:08 -06:00
|
|
|
tcpSocket:
|
|
|
|
port: http
|
2021-03-01 08:46:05 -06:00
|
|
|
initialDelaySeconds: 5
|
|
|
|
timeoutSeconds: 1
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
failureThreshold: 3
|
|
|
|
|
2021-12-13 02:50:08 -06:00
|
|
|
# # Uncomment the startup probe to enable and modify it for your needs.
|
|
|
|
# startupProbe:
|
|
|
|
# tcpSocket:
|
2021-03-01 08:46:05 -06:00
|
|
|
# port: http
|
|
|
|
# initialDelaySeconds: 60
|
2021-12-13 02:50:08 -06:00
|
|
|
# timeoutSeconds: 1
|
2021-03-01 08:46:05 -06:00
|
|
|
# periodSeconds: 10
|
|
|
|
# successThreshold: 1
|
|
|
|
# failureThreshold: 10
|
|
|
|
|
2020-08-23 12:56:55 -05:00
|
|
|
memcached:
|
2021-12-22 09:41:35 -06:00
|
|
|
enabled: true
|
2020-08-23 12:56:55 -05:00
|
|
|
service:
|
|
|
|
port: 11211
|
|
|
|
|
|
|
|
postgresql:
|
2021-12-22 09:41:35 -06:00
|
|
|
enabled: true
|
2020-08-23 12:56:55 -05:00
|
|
|
global:
|
|
|
|
postgresql:
|
|
|
|
postgresqlDatabase: gitea
|
|
|
|
postgresqlUsername: gitea
|
|
|
|
postgresqlPassword: gitea
|
|
|
|
servicePort: 5432
|
|
|
|
persistence:
|
|
|
|
size: 10Gi
|
|
|
|
|
|
|
|
mysql:
|
2021-12-22 09:41:35 -06:00
|
|
|
enabled: false
|
2020-08-23 12:56:55 -05:00
|
|
|
root:
|
|
|
|
password: gitea
|
|
|
|
db:
|
|
|
|
user: gitea
|
|
|
|
password: gitea
|
|
|
|
name: gitea
|
|
|
|
service:
|
|
|
|
port: 3306
|
|
|
|
persistence:
|
|
|
|
size: 10Gi
|
2020-09-28 18:26:06 -05:00
|
|
|
|
|
|
|
mariadb:
|
2021-12-22 09:41:35 -06:00
|
|
|
enabled: false
|
2020-10-22 00:13:37 -05:00
|
|
|
auth:
|
|
|
|
database: gitea
|
|
|
|
username: gitea
|
2020-09-28 18:26:06 -05:00
|
|
|
password: gitea
|
2020-10-22 00:13:37 -05:00
|
|
|
rootPassword: gitea
|
|
|
|
primary:
|
|
|
|
service:
|
|
|
|
port: 3306
|
2020-09-28 18:26:06 -05:00
|
|
|
persistence:
|
2020-10-29 12:08:58 -05:00
|
|
|
size: 10Gi
|
2021-12-22 10:25:32 -06:00
|
|
|
|
|
|
|
# By default, removed or moved settings that still remain in a user defined values.yaml will cause Helm to fail running the install/update.
|
|
|
|
# Set it to false to skip this basic validation check.
|
|
|
|
checkDeprecation: true
|