Files
auricom-home-cluster/cluster/apps/databases
feisar-bot 981d140281 ⬆️ Update chart cloudnative-pg to 0.15.0
| datasource | package        | from   | to     |
| ---------- | -------------- | ------ | ------ |
| helm       | cloudnative-pg | 0.14.3 | 0.15.0 |
2022-09-17 16:02:27 +00:00
..
♻️ data
2022-09-17 14:39:21 +02:00
♻️ data
2022-09-17 14:39:21 +02:00
2022-09-17 16:02:27 +00:00
2022-09-16 18:28:50 +00:00
♻️ data
2022-09-17 14:39:21 +02:00
🚀 postgres
2022-09-14 14:09:09 +02:00

Databases

Postgres

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 outline user and password

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

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

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

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

    mc admin policy set minio postgresql-private user=postgresql