initial commit

This commit is contained in:
allard
2025-11-23 18:58:51 +01:00
commit 376a944abc
1553 changed files with 314731 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
FROM postgres
COPY drop.sql /tmp
CMD /usr/bin/psql postgres://$DB_USER:$DB_PASSWORD@$DB_SERVERNAME:$DB_PORTNUMBER -f /tmp/drop.sql

View File

@@ -0,0 +1,2 @@
DROP EXTENSION "uuid-ossp";
DROP DATABASE example;

View File

@@ -0,0 +1,17 @@
apiVersion: batch/v1
kind: Job
metadata:
name: cc-schema-unload
labels:
app: cc-schema-unload
spec:
template:
spec:
restartPolicy: Never
containers:
- name: cc-schema-unload
image: ykoyfman/drop-schema
imagePullPolicy: Always
envFrom:
- secretRef:
name: bank-db-secret