Skip to content

Commit

Permalink
fix: add gitea object storage config
Browse files Browse the repository at this point in the history
  • Loading branch information
oscaromeu committed Mar 17, 2024
1 parent e569a04 commit e917716
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
18 changes: 12 additions & 6 deletions kubernetes/apps/tools/gitea/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ spec:

storage:
STORAGE_TYPE: minio
MINIO_ENDPOINT: datahub-hl.datahub.svc.cluster.local:9000
MINIO_BUCKET: gitea-bucket-v1
MINIO_USE_SSL: true
MINIO_INSECURE_SKIP_VERIFY: true

Expand Down Expand Up @@ -204,11 +202,19 @@ spec:
kind: Secret
name: gitea-config
valuesKey: host
- targetPath: gitea.config.storage.MINIO_BUCKET
kind: ConfigMap
name: gitea-bucket-v1
valuesKey: BUCKET_NAME
- targetPath: gitea.config.storage.MINIO_ENDPOINT
kind: ConfigMap
name: gitea-bucket-v1
valuesKey: BUCKET_HOST
- targetPath: gitea.config.storage.MINIO_ACCESS_KEY_ID
kind: Secret
name: gitea-config
valuesKey: aws_access_key_id
name: gitea-bucket-v1
valuesKey: AWS_ACCESS_KEY_ID
- targetPath: gitea.config.storage.MINIO_SECRET_ACCESS_KEY
kind: Secret
name: gitea-config
valuesKey: aws_secret_access_key
name: gitea-bucket-v1
valuesKey: AWS_SECRET_ACCESS_KEY
4 changes: 2 additions & 2 deletions kubernetes/apps/tools/gitea/app/objectbucketclaim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
name: gitea-bucket-v2
name: gitea-bucket-v1
namespace: tools
spec:
bucketName: gitea-bucket
bucketName: gitea-bucket-v1
storageClassName: ceph-bucket

0 comments on commit e917716

Please sign in to comment.