Files
auricom-home-cluster/kubernetes/cluster-0/apps/development
feisar-bot deefb387f4 ⬆️ Update image gitea/gitea to 1.17.4
| datasource | package     | from   | to     |
| ---------- | ----------- | ------ | ------ |
| docker     | gitea/gitea | 1.17.3 | 1.17.4 |
2022-12-22 07:50:32 +00:00
..
2022-12-21 03:02:39 +01:00
2022-12-22 07:50:32 +00:00
2022-12-02 00:45:58 +01:00
2022-12-02 00:45:58 +01:00
2022-11-20 16:37:40 +01:00

Development

Gitea

S3 Configuration

  1. Create ~/.mc/config.json

    {
        "version": "10",
        "aliases": {
            "minio": {
                "url": "https://s3.<domain>",
                "accessKey": "<access-key>",
                "secretKey": "<secret-key>",
                "api": "S3v4",
                "path": "auto"
            }
        }
    }
    
  2. Create the gitea user and password

    mc admin user add minio gitea <super-secret-password>
    
  3. Create the gitea bucket

    mc mb minio/gitea
    
  4. Create gitea-user-policy.json

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Action": [
                    "s3:ListBucket",
                    "s3:PutObject",
                    "s3:GetObject",
                    "s3:DeleteObject"
                ],
                "Effect": "Allow",
                "Resource": ["arn:aws:s3:::gitea/*", "arn:aws:s3:::gitea"],
                "Sid": ""
            }
        ]
    }
    
  5. Apply the bucket policies

    mc admin policy add minio gitea-private gitea-user-policy.json
    
  6. Associate private policy with the user

    mc admin policy set minio gitea-private user=gitea