Skip to content

Commit

Permalink
statefulset: reverted statefulset changes for quay postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhra Deshpande committed Oct 16, 2024
1 parent dae241c commit 83038f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion kustomize/components/pgupgrade/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ resources:
- ./quay-pg-old.deployment.yaml
patchesStrategicMerge:
- ./quay.deployment.patch.yaml
- ./quay-pg.statefulset.patch.yaml
- ./quay-pg.deployment.patch.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: apps/v1
kind: StatefulSet
kind: Deployment
metadata:
name: quay-database
spec:
Expand Down
2 changes: 1 addition & 1 deletion kustomize/components/postgres/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Component
resources:
- ./postgres.serviceaccount.yaml
- ./postgres.persistentvolumeclaim.yaml
- ./postgres.statefulset.yaml
- ./postgres.deployment.yaml
- ./postgres.service.yaml
- ./postgres-conf-sample.configmap.yaml
secretGenerator:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
apiVersion: apps/v1
kind: StatefulSet
kind: Deployment
metadata:
name: quay-database
labels:
quay-component: postgres
annotations:
quay-component: postgres
spec:
serviceName: quay-database
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
quay-component: postgres
Expand Down Expand Up @@ -75,4 +76,3 @@ spec:
requests:
cpu: 500m
memory: 2Gi
volumeClaimTemplates: []

0 comments on commit 83038f4

Please sign in to comment.