3 Commits

Author SHA1 Message Date
491f02d8eb swap to github 2025-03-10 21:36:10 -05:00
6e2ec41297 disable package store 2025-03-10 21:35:36 -05:00
dae3bd7a39 migrate storage 2025-03-10 21:34:33 -05:00
3 changed files with 29 additions and 24 deletions

View File

@@ -2,8 +2,8 @@ cluster:
name: cl01tl name: cl01tl
git: git:
# repo: git@github.com:alexlebens/infrastructure.git # repo: git@github.com:alexlebens/infrastructure.git
# repo: https://github.com/alexlebens/infrastructure.git repo: https://github.com/alexlebens/infrastructure.git
repo: http://gitea-http.gitea:3000/alexlebens/infrastructure # repo: http://gitea-http.gitea:3000/alexlebens/infrastructure
# repo: ssh://git@gitea-ssh.gitea:2222/alexlebens/infrastructure # repo: ssh://git@gitea-ssh.gitea:2222/alexlebens/infrastructure
revision: HEAD revision: HEAD
applicationSet: applicationSet:

View File

@@ -17,24 +17,3 @@ spec:
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea-primary-storage
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: gitea-primary-storage
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: storage
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
volumeMode: Filesystem
storageClassName: ceph-filesystem
accessModes:
- ReadWriteMany
resources:
requests:
storage: 20Gi

View File

@@ -18,7 +18,10 @@ gitea:
ingress: ingress:
enabled: false enabled: false
persistence: persistence:
storageClass: ceph-block storageClass: ceph-filesystem
size: 10Gi
accessModes:
- ReadWriteMany
extraVolumes: extraVolumes:
- name: gitea-nfs-storage-backup - name: gitea-nfs-storage-backup
persistentVolumeClaim: persistentVolumeClaim:
@@ -73,6 +76,19 @@ gitea:
ISSUE_INDEXER_ENABLED: true ISSUE_INDEXER_ENABLED: true
ISSUE_INDEXER_TYPE: meilisearch ISSUE_INDEXER_TYPE: meilisearch
REPO_INDEXER_ENABLED: false REPO_INDEXER_ENABLED: false
attachment:
STORAGE_TYPE: minio
lfs:
STORAGE_TYPE: minio
picture:
AVATAR_STORAGE_TYPE: minio
# "storage.packages":
# STORAGE_TYPE: minio
storage:
MINIO_ENDPOINT: minio.gitea:80
MINIO_LOCATION: us-east-1
MINIO_BUCKET: gitea
MINIO_USE_SSL: false
service: service:
REGISTER_MANUAL_CONFIRM: true REGISTER_MANUAL_CONFIRM: true
SHOW_REGISTRATION_BUTTON: false SHOW_REGISTRATION_BUTTON: false
@@ -104,6 +120,16 @@ gitea:
secretKeyRef: secretKeyRef:
name: gitea-postgresql-17-cluster-app name: gitea-postgresql-17-cluster-app
key: password key: password
- name: GITEA__DATABASE__MINIO_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: gitea-minio-user-secret
key: AWS_ACCESS_KEY_ID
- name: GITEA__DATABASE__MINIO_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: gitea-minio-user-secret
key: AWS_SECRET_ACCESS_KEY
- name: GITEA__INDEXER__ISSUE_INDEXER_CONN_STR - name: GITEA__INDEXER__ISSUE_INDEXER_CONN_STR
valueFrom: valueFrom:
secretKeyRef: secretKeyRef: