diff --git a/infra/k8s/overlays/dev/patches/postgres-patch.yaml b/infra/k8s/overlays/dev/patches/postgres-patch.yaml new file mode 100644 index 0000000..f65fb29 --- /dev/null +++ b/infra/k8s/overlays/dev/patches/postgres-patch.yaml @@ -0,0 +1,11 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: workclub-postgres +spec: + template: + spec: + volumes: + - name: postgres-data + emptyDir: {} + volumeClaimTemplates: [] # This removes the VCT from the base diff --git a/infra/k8s/overlays/dev/secrets.yaml b/infra/k8s/overlays/dev/secrets.yaml new file mode 100644 index 0000000..870f629 --- /dev/null +++ b/infra/k8s/overlays/dev/secrets.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Secret +metadata: + name: workclub-secrets +type: Opaque +stringData: + database-connection-string: "Host=workclub-postgres;Database=workclub;Username=app;Password=devpassword" + postgres-password: "devpassword" + keycloak-db-password: "keycloakpass" + keycloak-admin-password: "adminpassword"