diff --git a/zipline/kustomization.yaml b/zipline/kustomization.yaml index c3ecbcb..96ce327 100644 --- a/zipline/kustomization.yaml +++ b/zipline/kustomization.yaml @@ -16,6 +16,8 @@ labels: resources: - "resources/namespace.yaml" + - "resources/db/db.yaml" + - "resources/db/user.yaml" - "resources/deployment.yaml" - "resources/service.yaml" - "resources/http_route.yaml" diff --git a/zipline/resources/db/db.yaml b/zipline/resources/db/db.yaml new file mode 100644 index 0000000..07768ed --- /dev/null +++ b/zipline/resources/db/db.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: db.movetokube.com/v1alpha1 +kind: Postgres +metadata: + name: zipline +spec: + database: zipline + dropOnDelete: false \ No newline at end of file diff --git a/zipline/resources/db/user.yaml b/zipline/resources/db/user.yaml new file mode 100644 index 0000000..e69de29