19cc7a778c
- Deleted old gRPC service definitions in `game_grpc.pb.go` and `public.go`. - Added new API server implementations for objectstory, player, and shop services. - Introduced configuration files for new APIs in `etc/*.yaml`. - Created main entry points for each service in `objectstory.go`, `player.go`, and `shop.go`. - Removed unused user update handler and user API files. - Added utility functions for context management and HTTP header parsing. - Introduced PostgreSQL backup configuration in `backup/postgreSql.yaml`.
23 lines
502 B
YAML
23 lines
502 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
namespace: juwan
|
|
name: cluster-example
|
|
spec:
|
|
instances: 3
|
|
backup:
|
|
barmanObjectStore:
|
|
destinationPath: s3://juwan-dev-pg-backups-zj/pg-data/
|
|
endpointURL: https://cn-nb1.rains3.com
|
|
s3Credentials:
|
|
accessKeyId:
|
|
name: rc-creds
|
|
key: ACCESS_KEY_ID
|
|
secretAccessKey:
|
|
name: rc-creds
|
|
key: SECRET_ACCESS_KEY
|
|
wal:
|
|
compression: gzip
|
|
storage:
|
|
size: 1Gi
|