Skip to content

Commit

Permalink
feat: redeploy zk track
Browse files Browse the repository at this point in the history
  • Loading branch information
mischavandenburg committed Oct 30, 2024
1 parent cae1464 commit b221aca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/production/zettelkasten-tracker/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ kind: ConfigMap
metadata:
name: zettelkasten-tracker-configmap
data:
DB_HOST: zettelkasten-tracker-db-production-v2-rw.zettelkasten-tracker.svc.cluster.local
DB_HOST: zettelkasten-tracker-db-production-v3-rw.zettelkasten-tracker.svc.cluster.local
DB_NAME: zettelkasten-tracker
4 changes: 2 additions & 2 deletions apps/production/zettelkasten-tracker/database.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: postgresql.k8s.enterprisedb.io/v1
kind: Cluster
metadata:
name: zettelkasten-tracker-db-production-v2
name: zettelkasten-tracker-db-production-v3
namespace: zettelkasten-tracker
spec:
description: Postgres cluster for the zettelkasten-tracker application
Expand Down Expand Up @@ -31,7 +31,7 @@ spec:
- name: clusterBackup
barmanObjectStore:
destinationPath: https://hldatabaseproduction.blob.core.windows.net/zettelkasten-tracker
serverName: zettelkasten-tracker-db-production-v1
serverName: zettelkasten-tracker-db-production-v2
azureCredentials:
storageAccount:
name: azure-creds
Expand Down
4 changes: 2 additions & 2 deletions apps/production/zettelkasten-tracker/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ namespace: zettelkasten-tracker
resources:
- configmap.yaml
- ../../base/zettelkasten-tracker/
# - database.yaml
# - scheduled-backup.yaml
- database.yaml
- scheduled-backup.yaml
- podmonitor.yaml
- ingress.yaml
# - cloudflare.yaml
Expand Down
2 changes: 1 addition & 1 deletion apps/production/zettelkasten-tracker/scheduled-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
schedule: "0 0 3 * * *"
backupOwnerReference: cluster
cluster:
name: zettelkasten-tracker-db-production-v2
name: zettelkasten-tracker-db-production-v3

0 comments on commit b221aca

Please sign in to comment.