feat(k8s/gitea): enable Actions and split packages/actions into extra PVC
This commit is contained in:
@@ -51,6 +51,14 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
extraVolumes:
|
||||
- name: gitea-extra
|
||||
persistentVolumeClaim:
|
||||
claimName: gitea-extra
|
||||
extraContainerVolumeMounts:
|
||||
- name: gitea-extra
|
||||
mountPath: /data/extra
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
@@ -125,6 +133,21 @@ spec:
|
||||
UPDATE_AVATAR: true
|
||||
REGISTER_EMAIL_CONFIRM: false
|
||||
|
||||
actions:
|
||||
ENABLED: true
|
||||
DEFAULT_ACTIONS_URL: github
|
||||
LOG_RETENTION_DAYS: 7
|
||||
ARTIFACT_RETENTION_DAYS: 7
|
||||
LOG_COMPRESSION: zstd
|
||||
|
||||
"storage.packages":
|
||||
PATH: /data/extra/packages
|
||||
"storage.actions_log":
|
||||
PATH: /data/extra/actions_log
|
||||
"storage.actions_artifacts":
|
||||
STORAGE_TYPE: local
|
||||
PATH: /data/extra/actions_artifacts
|
||||
|
||||
additionalConfigFromEnvs:
|
||||
- name: GITEA__database__DB_TYPE
|
||||
value: postgres
|
||||
|
||||
Reference in New Issue
Block a user