86 lines
1.5 KiB
YAML
86 lines
1.5 KiB
YAML
#
|
|
# IMPORTANT NOTE
|
|
#
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
# https://scm.docker.cabillot.eu/perso/helm-library-common
|
|
#
|
|
|
|
image:
|
|
repository: docker.io/gitea/gitea
|
|
tag: ""
|
|
pullPolicy: Always
|
|
|
|
env:
|
|
TZ: America/New_York
|
|
USER_UID: 1000
|
|
USER_GID: 1000
|
|
SSH_PORT: 30000
|
|
INSTALL_LOCK: true
|
|
DISABLE_REGISTRATION: true
|
|
DOMAIN: scm.cabillot.eu
|
|
SSH_DOMAIN: scm.cabillot.eu
|
|
ROOT_URL: https://scm.cabillot.eu/
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 3000
|
|
ssh:
|
|
enabled: true
|
|
type: NodePort
|
|
ports:
|
|
ssh:
|
|
enabled: true
|
|
port: 30000
|
|
protocol: TCP
|
|
nodePort: 30000
|
|
|
|
ingress:
|
|
main:
|
|
enabled: false
|
|
# Example
|
|
# hosts:
|
|
# - host: "yy.xx.zz"
|
|
# paths:
|
|
# - path: "/"
|
|
# tls:
|
|
# - secretName: "ip-tls"
|
|
# hosts:
|
|
# - "yy.xx.zz"
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: /data
|
|
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
scheme: HTTP
|
|
timeoutSeconds: 1
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
failureThreshold: 3
|
|
readiness:
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
scheme: HTTP
|
|
timeoutSeconds: 1
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
failureThreshold: 3
|
|
startup:
|
|
enabled: false
|
|
|
|
automountServiceAccountToken: false
|