apps(discordbot-2b): Add missing stackgres config

main
trivernis 12 months ago
parent f6ae2b8565
commit 00a7d1bc60
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,4 +1,17 @@
apiVersion: stackgres.io/v1 apiVersion: stackgres.io/v1
kind: SGScript
metadata:
namespace: discordbot-2b
name: cluster-scripts
spec:
scripts:
- name: init
scriptFrom:
secretKeyRef:
name: 2b-secret
key: init.sql
---
apiVersion: stackgres.io/v1
kind: SGCluster kind: SGCluster
metadata: metadata:
namespace: discordbot-2b namespace: discordbot-2b
@ -7,7 +20,10 @@ spec:
postgres: postgres:
version: '16' version: '16'
instances: 2 instances: 2
sgInstanceProfile: 'size-small'
pods: pods:
persistentVolume: persistentVolume:
size: '10Gi' size: '2Gi'
storageClass: ebs-ssd
managedSql:
scripts:
- sgScript: cluster-scripts

Loading…
Cancel
Save