Skip to content

Commit 627650d

Browse files
committed
COMS Version 0.9 release
update npm packages adjust deployment configuration
1 parent ec2212d commit 627650d

File tree

13 files changed

+826
-444
lines changed

13 files changed

+826
-444
lines changed

.github/environments/values.dev.yaml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ features:
55
oidcAuth: true
66

77
autoscaling:
8-
enabled: true
9-
maxReplicas: 4
8+
enabled: false
9+
pdb:
10+
enabled: false
1011

1112
config:
1213
enabled: true
@@ -37,20 +38,20 @@ postgres:
3738
global:
3839
# log-level-console: debug
3940
# --- pvc
40-
repo1-retention-full: "2"
41+
repo1-retention-full: "1"
4142
repo1-retention-diff: "3"
4243
repos:
4344
- name: repo1
4445
schedules:
45-
full: "0 7 * * *" # full backup every day at 7am
46-
differential: "0 */2 * * *" # differential every 2 hours
46+
full: "0 0 1 * *" # full backup at midnight every month
47+
differential: "0 1 * * *" # differential every day at 1am
4748
volume:
4849
volumeClaimSpec:
4950
accessModes:
5051
- "ReadWriteOnce"
5152
resources:
5253
requests:
53-
storage: 2Gi
54+
storage: 5Gi
5455
storageClassName: "netapp-file-backup"
5556
manual:
5657
repoName: repo1
@@ -61,34 +62,22 @@ postgres:
6162
requests:
6263
cpu: 20m
6364
memory: 128Mi
64-
limits:
65-
cpu: 50m
66-
memory: 256Mi
6765
sidecars:
6866
pgbackrest:
6967
resources:
7068
requests:
7169
cpu: 5m
7270
memory: 16Mi
73-
limits:
74-
cpu: 20m
75-
memory: 64Mi
7671
pgbackrestConfig:
7772
resources:
7873
requests:
7974
cpu: 5m
8075
memory: 32Mi
81-
limits:
82-
cpu: 20m
83-
memory: 64Mi
8476
jobs:
8577
resources:
8678
requests:
8779
cpu: 10m
8880
memory: 64Mi
89-
limits:
90-
cpu: 50m
91-
memory: 128Mi
9281

9382
# ----- do a databse backup restore
9483
# dataSource:

.github/environments/values.prod.yaml

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ features:
66

77
autoscaling:
88
enabled: true
9-
maxReplicas: 4
9+
pdb:
10+
enabled: true
1011

1112
config:
1213
enabled: true
@@ -44,20 +45,17 @@ postgres:
4445
storageClassName: "netapp-block-standard"
4546
resources:
4647
requests:
47-
cpu: 50m
48-
memory: 128Mi
48+
cpu: 256m
49+
memory: 512Mi
4950
limits:
50-
cpu: 100m
51-
memory: 256Mi
51+
cpu: 512m
52+
memory: 1024Mi
5253
sidecars:
5354
replicaCertCopy:
5455
resources:
5556
requests:
56-
cpu: 1m
57-
memory: 32Mi
58-
limits:
59-
cpu: 50m
60-
memory: 64Mi
57+
cpu: 25m
58+
memory: 50Mi
6159

6260
# -------- backups ---------
6361
pgBackRestConfig:
@@ -68,36 +66,24 @@ postgres:
6866
repoHost:
6967
resources:
7068
requests:
71-
cpu: 20m
72-
memory: 128Mi
73-
limits:
74-
cpu: 50m
69+
cpu: 100m
7570
memory: 256Mi
7671
sidecars:
7772
pgbackrest:
7873
resources:
7974
requests:
80-
cpu: 5m
81-
memory: 16Mi
82-
limits:
83-
cpu: 20m
84-
memory: 64Mi
75+
cpu: 50m
76+
memory: 50Mi
8577
pgbackrestConfig:
8678
resources:
8779
requests:
88-
cpu: 5m
89-
memory: 32Mi
90-
limits:
91-
cpu: 20m
92-
memory: 64Mi
80+
cpu: 50m
81+
memory: 128Mi
9382
jobs:
9483
resources:
9584
requests:
96-
cpu: 10m
97-
memory: 64Mi
98-
limits:
99-
cpu: 50m
100-
memory: 128Mi
85+
cpu: 100m
86+
memory: 256Mi
10187
configuration:
10288
# secret for saving backups to S3
10389
- secret:
@@ -106,7 +92,7 @@ postgres:
10692
# log-level-console: debug
10793
# --- pvc
10894
repo1-retention-full: "1"
109-
repo1-retention-diff: "5"
95+
repo1-retention-diff: "2"
11096
# --- s3
11197
repo2-path: /backups/common-object-management-service/postgres/prod
11298
repo2-retention-full: "1"

.github/environments/values.test.yaml

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ features:
66

77
autoscaling:
88
enabled: true
9-
maxReplicas: 4
9+
pdb:
10+
enabled: true
1011

1112
config:
1213
enabled: true
@@ -45,20 +46,17 @@ postgres:
4546
storageClassName: "netapp-block-standard"
4647
resources:
4748
requests:
48-
cpu: 50m
49-
memory: 128Mi
49+
cpu: 256m
50+
memory: 512Mi
5051
limits:
51-
cpu: 100m
52-
memory: 256Mi
52+
cpu: 512m
53+
memory: 1024Mi
5354
sidecars:
5455
replicaCertCopy:
5556
resources:
5657
requests:
57-
cpu: 1m
58-
memory: 32Mi
59-
limits:
60-
cpu: 50m
61-
memory: 64Mi
58+
cpu: 25m
59+
memory: 50Mi
6260

6361
# -------- backups ---------
6462
pgBackRestConfig:
@@ -69,36 +67,24 @@ postgres:
6967
repoHost:
7068
resources:
7169
requests:
72-
cpu: 20m
70+
cpu: 100m
7371
memory: 128Mi
74-
limits:
75-
cpu: 50m
76-
memory: 256Mi
7772
sidecars:
7873
pgbackrest:
7974
resources:
8075
requests:
81-
cpu: 5m
82-
memory: 16Mi
83-
limits:
84-
cpu: 20m
85-
memory: 64Mi
76+
cpu: 50m
77+
memory: 50Mi
8678
pgbackrestConfig:
8779
resources:
8880
requests:
89-
cpu: 5m
90-
memory: 32Mi
91-
limits:
92-
cpu: 20m
93-
memory: 64Mi
81+
cpu: 50m
82+
memory: 128Mi
9483
jobs:
9584
resources:
9685
requests:
97-
cpu: 10m
86+
cpu: 20m
9887
memory: 64Mi
99-
limits:
100-
cpu: 50m
101-
memory: 128Mi
10288
configuration:
10389
# secret for saving backups to S3
10490
- secret:

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ At this time, only the latest version of Common Object Management Service is sup
1414

1515
| Version | Supported |
1616
| ------- | ------------------ |
17-
| 0.8.0 | :white_check_mark: |
18-
| < 0.8.x | :x: |
17+
| 0.9.0 | :white_check_mark: |
18+
| < 0.9.x | :x: |
1919

2020
## Reporting a Bug
2121

0 commit comments

Comments
 (0)