gitea and apt-cacher

This commit is contained in:
2022-09-19 16:56:40 +02:00
parent b111463cf5
commit 43d17581b3
5 changed files with 51 additions and 22 deletions

View File

@@ -45,14 +45,22 @@ spec:
value: gitea
- name: DB_PASSWD
value: giteaEu94XSS4gKpheSBoMsIs
- name: GITEA__indexer__ISSUE_INDEXER_TYPE
value: db
#- name: GITEA__indexer__ISSUE_INDEXER
#value: redis
#- name: GITEA__indexer__ISSUE_INDEXER_QUEUE_CONN_STR
#value: addrs=redis-standalone.live-env.svc.cluster.local:6379 db=1
- name: GITEA__packages__ENABLED
value: "true"
- name: GITEA__log__LEVEL
value: warn
value: trace
- name: GITEA__log__MODE
value: console
- name: GITEA__queue__TYPE
value: persistable-channel
value: file
- name: GITEA__log__ROUTER
value: file
- name: GITEA__log__MACARON
value: file
#- name: GITEA__queue__TYPE
#value: redis
#- name: GITEA__queue__CONN_STR
#value: redis://redis-standalone.live-env.svc.cluster.local:6397/0
volumeMounts:
@@ -65,18 +73,18 @@ spec:
- name: ssh
containerPort: 22
protocol : TCP
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 10
httpGet:
path: /
port: http
readinessProbe:
initialDelaySeconds: 30
periodSeconds: 10
httpGet:
path: /
port: http
#livenessProbe:
# initialDelaySeconds: 300
# periodSeconds: 10
# httpGet:
# path: /
# port: http
#readinessProbe:
# initialDelaySeconds: 300
# periodSeconds: 10
# httpGet:
# path: /
# port: http
resources:
requests:
memory: "300Mi"