Skip to content

Commit

Permalink
#3268- Crunchy DB PVC size change (#3643)
Browse files Browse the repository at this point in the history
- Crunchy PVC DB size changed to 5Gi as initial size.
- -f values are removed in the makefile, as it was going always to the
default values.yml and it was not needed. I found while testing so
changed it now.

---------

Co-authored-by: guru-aot <[email protected]>
  • Loading branch information
guru-aot and guru-aot authored Aug 16, 2024
1 parent 33894ea commit 50ec7de
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions devops/helm/crunchy-postgres/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ helm-dep:
.PHONY: install
install: helm-dep
install:
@helm install $(call arguments) --set restore.enabled=false -f values.yaml
@helm install $(call arguments) --set restore.enabled=false;

.PHONY: upgrade
upgrade: helm-dep
Expand All @@ -27,9 +27,9 @@ upgrade: helm-dep
echo "Error: RESTORE_TARGET is required when RESTORE_ENABLED is true."; \
exit 1; \
fi; \
helm upgrade --install $(call arguments) --set restore.enabled=${RESTORE_ENABLED} --set restore.options.target="${RESTORE_TARGET}" -f values.yaml; \
helm upgrade --install $(call arguments) --set restore.enabled=${RESTORE_ENABLED} --set restore.options.target="${RESTORE_TARGET}"; \
else \
helm upgrade --install $(call arguments) --set restore.enabled=${RESTORE_ENABLED} -f values.yaml; \
helm upgrade --install $(call arguments) --set restore.enabled=${RESTORE_ENABLED}; \
fi

.PHONY: uninstall
Expand Down
4 changes: 2 additions & 2 deletions devops/helm/crunchy-postgres/value-0c27fb-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ instances:
name: ha # high availability
replicas: 3
dataVolumeClaimSpec:
storage: 21Gi
storage: 5Gi
storageClassName: netapp-block-standard
requests:
cpu: 250m
Expand Down Expand Up @@ -57,7 +57,7 @@ pgBackRest:
incremental: 0 0,4,12,16,20 * * *
volume:
accessModes: "ReadWriteOnce"
storage: 21Gi
storage: 5Gi
storageClassName: netapp-file-backup
repoHost:
requests:
Expand Down
4 changes: 2 additions & 2 deletions devops/helm/crunchy-postgres/values-0c27fb-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ instances:
name: ha # high availability
replicas: 3
dataVolumeClaimSpec:
storage: 10Gi
storage: 5Gi
storageClassName: netapp-block-standard
requests:
cpu: 250m
Expand Down Expand Up @@ -57,7 +57,7 @@ pgBackRest:
incremental: 0 0,4,12,16,20 * * *
volume:
accessModes: "ReadWriteOnce"
storage: 10Gi
storage: 5Gi
storageClassName: netapp-file-backup
repoHost:
requests:
Expand Down
4 changes: 2 additions & 2 deletions devops/helm/crunchy-postgres/values-0c27fb-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ instances:
name: ha # high availability
replicas: 3
dataVolumeClaimSpec:
storage: 10Gi
storage: 5Gi
storageClassName: netapp-block-standard
requests:
cpu: 250m
Expand Down Expand Up @@ -57,7 +57,7 @@ pgBackRest:
incremental: 0 0,4,12,16,20 * * *
volume:
accessModes: "ReadWriteOnce"
storage: 10Gi
storage: 5Gi
storageClassName: netapp-file-backup
repoHost:
requests:
Expand Down
4 changes: 2 additions & 2 deletions devops/helm/crunchy-postgres/values-a6ef19-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ instances:
name: ha # high availability
replicas: 3
dataVolumeClaimSpec:
storage: 10Gi
storage: 5Gi
storageClassName: netapp-block-standard
requests:
cpu: 250m
Expand Down Expand Up @@ -57,7 +57,7 @@ pgBackRest:
incremental: 0 0,4,12,16,20 * * *
volume:
accessModes: "ReadWriteOnce"
storage: 10Gi
storage: 5Gi
storageClassName: netapp-file-backup
repoHost:
requests:
Expand Down
4 changes: 2 additions & 2 deletions devops/helm/crunchy-postgres/values-a6ef19-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ instances:
name: ha # high availability
replicas: 3
dataVolumeClaimSpec:
storage: 21Gi
storage: 5Gi
storageClassName: netapp-block-standard
requests:
cpu: 250m
Expand Down Expand Up @@ -57,7 +57,7 @@ pgBackRest:
incremental: 0 0,4,12,16,20 * * *
volume:
accessModes: "ReadWriteOnce"
storage: 21Gi
storage: 5Gi
storageClassName: netapp-file-backup
repoHost:
requests:
Expand Down
4 changes: 2 additions & 2 deletions devops/helm/crunchy-postgres/values-a6ef19-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ instances:
name: ha # high availability
replicas: 3
dataVolumeClaimSpec:
storage: 10Gi
storage: 5Gi
storageClassName: netapp-block-standard
requests:
cpu: 250m
Expand Down Expand Up @@ -57,7 +57,7 @@ pgBackRest:
incremental: 0 0,4,12,16,20 * * *
volume:
accessModes: "ReadWriteOnce"
storage: 10Gi
storage: 5Gi
storageClassName: netapp-file-backup
repoHost:
requests:
Expand Down

0 comments on commit 50ec7de

Please sign in to comment.