Skip to content

Commit 8c8bbda

Browse files
author
CasLubbers
authored
fix: errors in otomi-db chart (#1627)
1 parent 34a6608 commit 8c8bbda

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

charts/otomi-db/templates/cluster.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@ spec:
7070
{{- if eq .Values.backup.type "s3" }}
7171
backup:
7272
retentionPolicy: {{ .Values.backup.retentionPolicy }}
73-
barmanObjectStore:
74-
destinationPath: s3://{{ .Values.backup.s3.bucket }}
75-
endpointURL: {{ .Values.backup.endpointURL }}
76-
s3Credentials:
77-
accessKeyId:
78-
name: s3-creds
79-
key: S3_STORAGE_ACCOUNT
80-
secretAccessKey:
81-
name: s3-creds
82-
key: S3_STORAGE_KEY
73+
barmanObjectStore:
74+
destinationPath: s3://{{ .Values.backup.s3.bucket }}
75+
endpointURL: {{ .Values.backup.s3.endpointURL }}
76+
s3Credentials:
77+
accessKeyId:
78+
name: s3-creds
79+
key: S3_STORAGE_ACCOUNT
80+
secretAccessKey:
81+
name: s3-creds
82+
key: S3_STORAGE_KEY
8383
{{- end }}
8484
{{- if eq .Values.backup.type "gcs" }}
8585
backup:

tests/fixtures/env/apps/cnpg.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ apps:
33
resources:
44
limits:
55
cpu: 1000m
6-
memory: 1000Mi
6+
memory: 512Mi
77
requests:
88
cpu: 100m
99
memory: 200Mi
1010
storage:
11-
azure:
12-
accountName: name
13-
containerName: database
14-
type: azure
11+
s3:
12+
accessKeyId: 2C2F1864-3ADB-4D06-8F77-C82CAB6F0415
13+
bucket: databases/
14+
s3Url: https://nl-ams-1.linodeobjects.com
15+
type: s3
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apps:
22
cnpg:
33
storage:
4-
azure:
5-
accountKey: anAccountKey
4+
s3:
5+
secretAccessKey: superdupersecretacceskey

tests/fixtures/env/settings.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ otomi:
7676
platformBackups:
7777
database:
7878
harbor:
79-
enabled: false
79+
enabled: true
8080
retentionPolicy: 7d
8181
schedule: 0 0 0 * * *
8282
persistentVolumes:

0 commit comments

Comments
 (0)