Skip to content

Commit

Permalink
Merge pull request #293 from bcgov/chore/release
Browse files Browse the repository at this point in the history
COMS Version 0.9 release
  • Loading branch information
TimCsaky authored Feb 4, 2025
2 parents ec2212d + 627650d commit f18c26f
Show file tree
Hide file tree
Showing 13 changed files with 826 additions and 444 deletions.
25 changes: 7 additions & 18 deletions .github/environments/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ features:
oidcAuth: true

autoscaling:
enabled: true
maxReplicas: 4
enabled: false
pdb:
enabled: false

config:
enabled: true
Expand Down Expand Up @@ -37,20 +38,20 @@ postgres:
global:
# log-level-console: debug
# --- pvc
repo1-retention-full: "2"
repo1-retention-full: "1"
repo1-retention-diff: "3"
repos:
- name: repo1
schedules:
full: "0 7 * * *" # full backup every day at 7am
differential: "0 */2 * * *" # differential every 2 hours
full: "0 0 1 * *" # full backup at midnight every month
differential: "0 1 * * *" # differential every day at 1am
volume:
volumeClaimSpec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: 2Gi
storage: 5Gi
storageClassName: "netapp-file-backup"
manual:
repoName: repo1
Expand All @@ -61,34 +62,22 @@ postgres:
requests:
cpu: 20m
memory: 128Mi
limits:
cpu: 50m
memory: 256Mi
sidecars:
pgbackrest:
resources:
requests:
cpu: 5m
memory: 16Mi
limits:
cpu: 20m
memory: 64Mi
pgbackrestConfig:
resources:
requests:
cpu: 5m
memory: 32Mi
limits:
cpu: 20m
memory: 64Mi
jobs:
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 50m
memory: 128Mi

# ----- do a databse backup restore
# dataSource:
Expand Down
46 changes: 16 additions & 30 deletions .github/environments/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ features:

autoscaling:
enabled: true
maxReplicas: 4
pdb:
enabled: true

config:
enabled: true
Expand Down Expand Up @@ -44,20 +45,17 @@ postgres:
storageClassName: "netapp-block-standard"
resources:
requests:
cpu: 50m
memory: 128Mi
cpu: 256m
memory: 512Mi
limits:
cpu: 100m
memory: 256Mi
cpu: 512m
memory: 1024Mi
sidecars:
replicaCertCopy:
resources:
requests:
cpu: 1m
memory: 32Mi
limits:
cpu: 50m
memory: 64Mi
cpu: 25m
memory: 50Mi

# -------- backups ---------
pgBackRestConfig:
Expand All @@ -68,36 +66,24 @@ postgres:
repoHost:
resources:
requests:
cpu: 20m
memory: 128Mi
limits:
cpu: 50m
cpu: 100m
memory: 256Mi
sidecars:
pgbackrest:
resources:
requests:
cpu: 5m
memory: 16Mi
limits:
cpu: 20m
memory: 64Mi
cpu: 50m
memory: 50Mi
pgbackrestConfig:
resources:
requests:
cpu: 5m
memory: 32Mi
limits:
cpu: 20m
memory: 64Mi
cpu: 50m
memory: 128Mi
jobs:
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 50m
memory: 128Mi
cpu: 100m
memory: 256Mi
configuration:
# secret for saving backups to S3
- secret:
Expand All @@ -106,7 +92,7 @@ postgres:
# log-level-console: debug
# --- pvc
repo1-retention-full: "1"
repo1-retention-diff: "5"
repo1-retention-diff: "2"
# --- s3
repo2-path: /backups/common-object-management-service/postgres/prod
repo2-retention-full: "1"
Expand Down
42 changes: 14 additions & 28 deletions .github/environments/values.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ features:

autoscaling:
enabled: true
maxReplicas: 4
pdb:
enabled: true

config:
enabled: true
Expand Down Expand Up @@ -45,20 +46,17 @@ postgres:
storageClassName: "netapp-block-standard"
resources:
requests:
cpu: 50m
memory: 128Mi
cpu: 256m
memory: 512Mi
limits:
cpu: 100m
memory: 256Mi
cpu: 512m
memory: 1024Mi
sidecars:
replicaCertCopy:
resources:
requests:
cpu: 1m
memory: 32Mi
limits:
cpu: 50m
memory: 64Mi
cpu: 25m
memory: 50Mi

# -------- backups ---------
pgBackRestConfig:
Expand All @@ -69,36 +67,24 @@ postgres:
repoHost:
resources:
requests:
cpu: 20m
cpu: 100m
memory: 128Mi
limits:
cpu: 50m
memory: 256Mi
sidecars:
pgbackrest:
resources:
requests:
cpu: 5m
memory: 16Mi
limits:
cpu: 20m
memory: 64Mi
cpu: 50m
memory: 50Mi
pgbackrestConfig:
resources:
requests:
cpu: 5m
memory: 32Mi
limits:
cpu: 20m
memory: 64Mi
cpu: 50m
memory: 128Mi
jobs:
resources:
requests:
cpu: 10m
cpu: 20m
memory: 64Mi
limits:
cpu: 50m
memory: 128Mi
configuration:
# secret for saving backups to S3
- secret:
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ At this time, only the latest version of Common Object Management Service is sup

| Version | Supported |
| ------- | ------------------ |
| 0.8.0 | :white_check_mark: |
| < 0.8.x | :x: |
| 0.9.0 | :white_check_mark: |
| < 0.9.x | :x: |

## Reporting a Bug

Expand Down
Loading

0 comments on commit f18c26f

Please sign in to comment.