Created
January 12, 2026 15:50
-
-
Save fuse/78d05f88c6eb2006204e4da26dddc07b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: solr-backup-debug | |
| labels: | |
| app: solr-backup-debug | |
| spec: | |
| restartPolicy: Never | |
| containers: | |
| - name: solr-backup | |
| image: devorbitus/ubuntu-bash-jq-curl:latest | |
| imagePullPolicy: IfNotPresent | |
| command: ["/bin/sh", "-c", "sleep infinity"] | |
| env: | |
| - name: BACKUP_SOLR_BASEURL | |
| value: "http://sg-solr:8983" | |
| - name: BACKUP_SOLR_USER | |
| value: "admin" | |
| - name: BACKUP_SOLR_PASSWORD | |
| value: "CHANGE_ME" | |
| - name: BACKUP_S3_FOLDER | |
| value: "backup" | |
| - name: BACKUP_FULL_FREQUENCY | |
| value: "monthly" | |
| - name: BACKUP_MAX_NUM | |
| value: "14" | |
| - name: BACKUP_ASYNC | |
| value: "1000" | |
| volumeMounts: | |
| - name: script | |
| mountPath: /root/backup.sh | |
| subPath: backup.sh | |
| volumes: | |
| - name: script | |
| configMap: | |
| name: sg-constellio-solr-backup-script | |
| defaultMode: 0755 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment