fix(cnpg): s3 rgw & netpols

Signed-off-by: JJGadgets <git@jjgadgets.tech>
This commit is contained in:
JJGadgets
2023-05-10 08:58:59 +08:00
parent c8a79f709a
commit 516b6a0ba3
3 changed files with 9 additions and 7 deletions

View File

@@ -26,16 +26,16 @@ spec:
wal:
compression: bzip2
maxParallel: 8
destinationPath: s3://pg-default-v1/
destinationPath: s3://pg-default/
endpointURL: http://rook-ceph-rgw-${CLUSTER_NAME_LOWER}.rook-ceph.svc:6953
serverName: pg-default-v1
s3Credentials:
accessKeyId:
name: pg-default-s3
key: AccessKey
key: AWS_ACCESS_KEY_ID
secretAccessKey:
name: pg-default-s3
key: SecretKey
key: AWS_SECRET_ACCESS_KEY
# # RECOVERY
# bootstrap:

View File

@@ -51,3 +51,5 @@ spec:
toPorts:
- ports:
- port: "6953"
- toEntities:
- kube-apiserver

View File

@@ -1,9 +1,9 @@
---
apiVersion: ceph.rook.io/v1
kind: CephObjectStoreUser
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
name: pg-default-s3
namespace: pg
spec:
store: biohazard
displayName: "pg-default"
bucketName: "pg-default"
storageClassName: "rgw-${CLUSTER_NAME_LOWER}"