Skip to content

Commit 91f9e46

Browse files
authored
Merge pull request #196 from xenit-eu/DSNYHD-80-allow-specification-solr-backup
[DSNYHD-80] allow specification solr backup
2 parents c7bbfbe + bb2c7eb commit 91f9e46

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
chronology things are added/fixed/changed and - where possible - links to the PRs involved.
77

88
### Changes
9+
10+
[v0.8.20]
11+
* Added support for custom Solr backup Docker images.
12+
913
[v0.8.18]
1014
* Set resources for (ingress) NGINX pod
1115

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,6 +1551,22 @@ Default: http://solr-service:30300/solr/alfresco/replication?command=backup&repo
15511551

15521552
* Description: if `solr.autoBackup.enabled` is true then a cron job will be created that will curl this url
15531553

1554+
#### `solr.autoBackup.image.registry`
1555+
* Required: false
1556+
* Default: `docker.io`
1557+
* Description: The registry where the Docker image for the automatically Solr backup can be found in.
1558+
1559+
#### `solr.autoBackup.image.repository`
1560+
* Required: false
1561+
* Default: `curlimages/curl`
1562+
* Description: The repository of the Docker image for the automatically Solr backup that will be used.
1563+
1564+
#### `solr.autoBackup.image.digest`
1565+
* Required: false
1566+
* Default: `sha256:4026b29997dc7c823b51c164b71e2b51e0fd95cce4601f78202c513d97da2922`
1567+
* Description: The digest of the Docker image for the automatically Solr backup that will be used.
1568+
Note: this is a digest. Using tags is not supported here.
1569+
15541570
#### `solr.readinessProbe.enabled`
15551571

15561572
* Required: false

xenit-alfresco/templates/solr/solr-backup/solr-backup-cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
spec:
2020
containers:
2121
- name: curlimage
22-
image: curlimages/curl
22+
image: {{ .Values.solr.autoBackup.image.registry }}/{{ .Values.solr.autoBackup.image.repository }}@{{ .Values.solr.autoBackup.image.digest }}
2323
imagePullPolicy: IfNotPresent
2424
command:
2525
- sh

xenit-alfresco/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ solr:
199199
enabled: false
200200
cron: "0 * * * *"
201201
backupUrl: "http://solr-service:30300/solr/alfresco/replication?command=backup&repository=s3&location=s3:///&numberToKeep=3&wt=json"
202+
image:
203+
registry: 'docker.io'
204+
repository: 'curlimages/curl'
205+
digest: 'sha256:4026b29997dc7c823b51c164b71e2b51e0fd95cce4601f78202c513d97da2922'
202206
readinessProbe:
203207
enabled: true
204208
failureThreshold: 3

0 commit comments

Comments
 (0)