apps(discordbot-2b): Move stackgres script to separate file

main
trivernis 10 months ago
parent 00a7d1bc60
commit 29f800d936
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -6,5 +6,6 @@ metadata:
resources:
- app/namespace.yaml
- app/sealedsecret.yaml
- app/stackgres-scripts.yaml
- app/stackgres.yaml
- app/deploy.yaml

@ -0,0 +1,12 @@
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

@ -1,17 +1,4 @@
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

Loading…
Cancel
Save