Initial commit
This commit is contained in:
5
manifests/apps/gitea/helm/install.md
Normal file
5
manifests/apps/gitea/helm/install.md
Normal file
@@ -0,0 +1,5 @@
|
||||
```sh
|
||||
kubectl apply -f admin-secret.yaml,db-secret.yaml
|
||||
helm repo add gitea-charts https://dl.gitea.com/charts/
|
||||
helm repo update
|
||||
```
|
||||
131
manifests/apps/gitea/helm/values.yaml
Normal file
131
manifests/apps/gitea/helm/values.yaml
Normal file
@@ -0,0 +1,131 @@
|
||||
replicaCount: 1
|
||||
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
|
||||
image:
|
||||
registry: docker.gitea.com
|
||||
repository: gitea
|
||||
tag: "1.21.11"
|
||||
pullPolicy: IfNotPresent
|
||||
rootless: true
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
http:
|
||||
type: ClusterIP
|
||||
targetPort: 3000
|
||||
port: 3000
|
||||
|
||||
annotations: {}
|
||||
|
||||
gitea:
|
||||
admin:
|
||||
existingSecret: "gitea-admin-secret"
|
||||
email: "vloldik@openvibes.ru"
|
||||
passwordMode: initialOnlyRequireReset
|
||||
config:
|
||||
server:
|
||||
ROOT_URL: "https://git.openvibes.ru/"
|
||||
DOMAIN: "git.openvibes.ru"
|
||||
SSH_DOMAIN: "git.openvibes.ru"
|
||||
|
||||
APP_NAME: "Openvibes Git"
|
||||
service:
|
||||
DISABLE_REGISTRATION: true
|
||||
REQUIRE_SIGNIN_VIEW: false
|
||||
repository:
|
||||
ENABLE_PUSH_CREATE_USER: true
|
||||
ENABLE_PUSH_CREATE_ORG: true
|
||||
|
||||
database:
|
||||
DB_TYPE: postgres
|
||||
HOST: "postgres-service-headless:5432"
|
||||
NAME: "gitea"
|
||||
USER: "gitea"
|
||||
security:
|
||||
INSTALL_LOCK: true
|
||||
PASSWORD_COMPLEXITY: "medium"
|
||||
MIN_PASSWORD_LENGTH: 8
|
||||
|
||||
log:
|
||||
ROOT_PATH: /data/gitea/log
|
||||
LEVEL: Info
|
||||
|
||||
mailer:
|
||||
ENABLED: true
|
||||
FORCE_TRUST_SERVER_CERT: true
|
||||
FROM: gitea@mail.openvibes.ru
|
||||
PROTOCOL: smtps
|
||||
ENVELOPE_FROM: gitea@mail.openvibes.ru
|
||||
|
||||
additionalConfigFromEnvs:
|
||||
- name: GITEA__DATABASE__PASSWD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "gitea-db-secret"
|
||||
key: "db-password"
|
||||
- name: GITEA__MAILER__SMTP_ADDR
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "gitea-mailer-secret"
|
||||
key: "smtp-server"
|
||||
- name: GITEA__MAILER__SMTP_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "gitea-mailer-secret"
|
||||
key: "smtp-port"
|
||||
- name: GITEA__MAILER__USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "gitea-mailer-secret"
|
||||
key: "smtp-login"
|
||||
- name: GITEA__MAILER__PASSWD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "gitea-mailer-secret"
|
||||
key: "smtp-password"
|
||||
|
||||
metrics:
|
||||
enabled: true
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: "local-path"
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 20Gi
|
||||
|
||||
deployment:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
|
||||
postgresql:
|
||||
enabled: false
|
||||
postgresql-ha:
|
||||
enabled: false
|
||||
|
||||
valkey:
|
||||
enabled: true
|
||||
|
||||
valkey-cluster:
|
||||
enabled: false
|
||||
|
||||
redis:
|
||||
enabled: true
|
||||
|
||||
|
||||
redis-cluster:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user