Skip to content

Commit 1237063

Browse files
Update S3 settings and resource limits in values.yaml
Updated S3 configuration to enable encryption and set default values for NODE_ROLE and PERSISTENCE. Adjusted resource limits for postgres_backup and argocd_backup.
1 parent d7f81de commit 1237063

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

charts/devtron-backups/values.yaml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ global:
55
S3:
66
# give the endpoint in case of non AWS storages with s3 protocol
77
enabled: false
8-
9-
# If S3_ACCESS_KEY and S3_SECRET_KEY are set, they'll be used; otherwise, the node's IAM role will be used by default.
108
S3_BUCKET_NAME: ""
119
S3_ACCESS_KEY: ""
1210
S3_SECRET_KEY: ""
@@ -15,10 +13,17 @@ global:
1513
CA_BUNDLE: ""
1614
# CA_BUNDLE: "-----BEGIN CERTIFICATE-----\nMIIDcDfghjklcvbnm,tryupE+mz30g=\n-----END CERTIFICATE-----"
1715
# set true if node has access of buckets
16+
#defaults to true, set false and specify S3_ACCESS_KEY & S3_SECRET_KEY if node does not have bucket access
17+
NODE_ROLE: "true"
18+
PERSISTENCE:
19+
enabled: true
20+
existingClaim: "" # Required if existingClaim is not used
21+
size: "" # Required if existingClaim is not used
22+
storageClass: ""
1823
# passphrase used to encrypt/decrypt the file (encryption is done by gpg)
1924
encryption:
20-
enabled: false
21-
passphrase: ""
25+
enabled: true
26+
passphrase: "devtron-backup"
2227
# image: quay.io/devtron/k8s-utils:ubuntu-aws-cli #default amd
2328
# image: quay.io/devtron/k8s-utils:0b9f5ba5-395-11405 #arm
2429
AZURE:
@@ -27,6 +32,11 @@ global:
2732
AZURE_ACCOUNT_KEY: ""
2833
AZURE_BLOB_CONTAINER_FOR_POSTGRES: ""
2934
AZURE_BLOB_CONTAINER_FOR_ARGOCD: ""
35+
PERSISTENCE:
36+
enabled: false
37+
existingClaim: ""
38+
# size: 30Gi # Required if existingClaim is not used
39+
storageClass: "" # Required if existingClaim is not used
3040
encryption:
3141
enabled: false # Recommended
3242
passphrase: "" # Required if encryption is enabled
@@ -66,21 +76,19 @@ global:
6676

6777
timezone: "" #Set the timezone for scheduling the cronJob. # default UTC
6878

69-
extraConfig: {}
70-
#Pass any additional custom fields under jobTemplate.spec in the Kubernetes CronJob spec.
7179
argocdversion: v2
7280

7381
postgres_backup:
7482
# Reference to secret which as postgresql password in PG_PASSWORD key
7583
secretName: "devtron-secret"
7684
enabled: true
77-
resources:
85+
resources:
7886
requests:
7987
cpu: 100m
8088
memory: 100Mi
81-
# limits:
82-
# cpu: 100m
83-
# memory: 100Mi
89+
limits:
90+
cpu: 100m
91+
memory: 100Mi
8492
labels: {}
8593
# key: "example-value"
8694
annotations: {}
@@ -92,13 +100,13 @@ postgres_backup:
92100
argocd_backup:
93101
serviceAccountName: "argocd-backup"
94102
enabled: false
95-
resources:
103+
resources:
96104
requests:
97105
cpu: 100m
98106
memory: 100Mi
99-
# limits:
100-
# cpu: 100m
101-
# memory: 100Mi
107+
limits:
108+
cpu: 100m
109+
memory: 100Mi
102110
labels: {}
103111
# key: "example-value"
104112
annotations: {}
@@ -110,3 +118,4 @@ argocd_backup:
110118
# argocdImage: argoproj/argocd:v1.8.1 #(image for argo-V1)
111119
# args: argocd-util export --namespace devtroncd > /argocd/backup.yaml; #(argo-V1)
112120

121+

0 commit comments

Comments
 (0)