Skip to content

Commit

Permalink
move crunchydb instance Helm values to environemnt files
Browse files Browse the repository at this point in the history
  • Loading branch information
TimCsaky committed Oct 22, 2024
1 parent fcb711d commit 6674e99
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
36 changes: 18 additions & 18 deletions .github/environments/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ postgres:
# --------crunchydb config: ------
# --------------------------------

# --- resource allocation ----
instances:
- name: db # do not change this name after initial install, pvc (data) and stateful sets will be deleted
replicas: 3
# dataVolumeClaimSpec:
# accessModes:
# - "ReadWriteOnce"
# storageClassName: "netapp-block-standard"
# resources:
# requests:
# storage: 1Gi
# resources:
# requests:
# cpu: 50m
# memory: 128Mi
# limits:
# cpu: 100m
# memory: 256Mi
# # --- resource allocation ----
# instances:
# - name: db # do not change this name after initial install, pvc (data) and stateful sets will be deleted
# replicas: 2
# dataVolumeClaimSpec:
# accessModes:
# - "ReadWriteOnce"
# resources:
# requests:
# storage: 0.5Gi
# storageClassName: "netapp-block-standard"
# resources:
# requests:
# cpu: 50m
# memory: 128Mi
# limits:
# cpu: 100m
# memory: 256Mi

# -------- backups ---------
pgBackRestConfig:
Expand Down
28 changes: 14 additions & 14 deletions .github/environments/values.pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ postgres:
instances:
- name: db # do not change this name after initial install, pvc (data) and stateful sets will be deleted
replicas: 1
# dataVolumeClaimSpec:
# accessModes:
# - "ReadWriteOnce"
# storageClassName: "netapp-block-standard"
# resources:
# requests:
# storage: 1Gi
# resources:
# requests:
# cpu: 1m
# memory: 128Mi
# limits:
# cpu: 50m
# memory: 256Mi
dataVolumeClaimSpec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: 0.5Gi
storageClassName: "netapp-block-standard"
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 100m
memory: 256Mi

# -------- backups ---------
pgBackRestConfig: {}
28 changes: 14 additions & 14 deletions .github/environments/values.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ postgres:
instances:
- name: db # do not change this name after initial install, pvc (data) and stateful sets will be deleted
replicas: 3
# dataVolumeClaimSpec:
# accessModes:
# - "ReadWriteOnce"
# storageClassName: "netapp-block-standard"
# resources:
# requests:
# storage: 5Gi
# resources:
# requests:
# cpu: 1m
# memory: 64Mi
# limits:
# cpu: 100m
# memory: 128Mi
dataVolumeClaimSpec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: 0.5Gi
storageClassName: "netapp-block-standard"
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 100m
memory: 256Mi

# -------- backups ---------
pgBackRestConfig:
Expand Down

0 comments on commit 6674e99

Please sign in to comment.