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 metadata: namespace: discordbot-2b name: cluster spec: postgres: version: '16' instances: 2 pods: persistentVolume: size: '2Gi' storageClass: ebs-ssd managedSql: scripts: - sgScript: cluster-scripts