Add deploy-gitea,yaml
This commit is contained in:
79
deploy-gitea,yaml
Normal file
79
deploy-gitea,yaml
Normal file
@@ -0,0 +1,79 @@
|
||||
service:
|
||||
http:
|
||||
type: ClusterIP
|
||||
port: 3000
|
||||
ssh:
|
||||
type: ClusterIP
|
||||
port: 22
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: traefik
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-http
|
||||
kubernetes.io/ingress.class: traefik
|
||||
hosts:
|
||||
- host: git.thedevops.dev
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: gitea-tls
|
||||
hosts:
|
||||
- git.thedevops.dev
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
storageClass: longhorn
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
postgresql-ha:
|
||||
enabled: false
|
||||
|
||||
postgresql:
|
||||
enabled: false
|
||||
|
||||
valkey:
|
||||
enabled: false
|
||||
|
||||
memcached:
|
||||
enabled: false
|
||||
|
||||
statefulset:
|
||||
enabled: true # ВКЛЮЧАЕМ ОБЯЗАТЕЛЬНО!
|
||||
|
||||
gitea:
|
||||
admin:
|
||||
username: admin
|
||||
password: StrongPassword123
|
||||
email: admin@thedevops.dev
|
||||
|
||||
config:
|
||||
server:
|
||||
DOMAIN: git.thedevops.dev
|
||||
ROOT_URL: https://git.thedevops.dev/
|
||||
SSH_PORT: 22
|
||||
DISABLE_SSH: false
|
||||
|
||||
service:
|
||||
DISABLE_REGISTRATION: false
|
||||
REQUIRE_SIGNIN_VIEW: false
|
||||
|
||||
repository:
|
||||
DEFAULT_BRANCH: main
|
||||
|
||||
database:
|
||||
DB_TYPE: sqlite3
|
||||
|
||||
security:
|
||||
PASSWORD_COMPLEXITY: lower,upper,digit,spec
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 256Mi
|
||||
Reference in New Issue
Block a user