Skip to content

Commit

Permalink
Fix default interim dir for elastiseeach
Browse files Browse the repository at this point in the history
Signed-off-by: hmsayem <[email protected]>
  • Loading branch information
hmsayem committed Nov 6, 2023
1 parent 2227371 commit 8e75c57
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 78 deletions.
4 changes: 2 additions & 2 deletions catalog/raw/elasticsearch/elasticsearch-addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ spec:
required: false
default: "--match=^(?![.])(?!apm-agent-configuration)(?!kubedb-system).+"
- name: interimDataDir
usage: Specifes the directory where data will be stored temporarily before uploading to the backend.
usage: Specifes the directory where data will be stored temporarily before dumping to the database.
required: false
default: /kubestash-interim/tmp
default: /kubestash-interim/data
- name: enableCache
usage: Enable or disable caching. Disabling caching may impact backup performance.
required: false
Expand Down
144 changes: 72 additions & 72 deletions catalog/raw/opensearch/opensearch-addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,76 +4,76 @@ metadata:
name: opensearch-addon
spec:
backupTasks:
- name: LogicalBackup
function: opensearch-backup
driver: Restic
executor: Job
singleton: true
parameters:
- name: args
usage: Arguments to be passed to the dump command.
required: false
default: "--match=^(?![.])(?!security-auditlog)(?!kubedb-system).+"
- name: interimDataDir
usage: Directory where data will be stored temporarily before uploading to the backend.
required: false
default: /kubestash-interim/data
- name: enableCache
usage: Enable or disable caching. Disabling caching may impact backup performance.
required: false
default: "true"
- name: scratchDir
usage: Directory for holding temporary files and restic cache.
required: false
default: /kubestash-tmp
volumeTemplate:
- name: kubestash-interim-volume
usage: Holds backed up data temporarily before uploading to the backend.
source:
emptyDir: {}
- name: kubestash-tmp-volume
usage: Holds temporary files and restic cache.
source:
emptyDir: {}
volumeMounts:
- name: kubestash-interim-volume
mountPath: /kubestash-interim
- name: kubestash-tmp-volume
mountPath: /kubestash-tmp
- name: LogicalBackup
function: opensearch-backup
driver: Restic
executor: Job
singleton: true
parameters:
- name: args
usage: Arguments to be passed to the dump command.
required: false
default: "--match=^(?![.])(?!security-auditlog)(?!kubedb-system).+"
- name: interimDataDir
usage: Directory where data will be stored temporarily before uploading to the backend.
required: false
default: /kubestash-interim/data
- name: enableCache
usage: Enable or disable caching. Disabling caching may impact backup performance.
required: false
default: "true"
- name: scratchDir
usage: Directory for holding temporary files and restic cache.
required: false
default: /kubestash-tmp
volumeTemplate:
- name: kubestash-interim-volume
usage: Holds backed up data temporarily before uploading to the backend.
source:
emptyDir: {}
- name: kubestash-tmp-volume
usage: Holds temporary files and restic cache.
source:
emptyDir: {}
volumeMounts:
- name: kubestash-interim-volume
mountPath: /kubestash-interim
- name: kubestash-tmp-volume
mountPath: /kubestash-tmp
restoreTasks:
- name: LogicalBackupRestore
function: opensearch-restore
driver: Restic
executor: Job
singleton: true
parameters:
- name: args
usage: Arguments to be passed to the dump command.
required: false
default: "--match=^(?![.])(?!security-auditlog)(?!kubedb-system).+"
- name: interimDataDir
usage: Specifes the directory where data will be stored temporarily before uploading to the backend.
required: false
default: /kubestash-interim/tmp
- name: enableCache
usage: Enable or disable caching. Disabling caching may impact backup performance.
required: false
default: "true"
- name: scratchDir
usage: Directory for holding temporary files and restic cache.
required: false
default: /kubestash-tmp
volumeTemplate:
- name: kubestash-interim-volume
usage: Holds backed up data temporarily before dumping to the database.
source:
emptyDir: {}
- name: kubestash-tmp-volume
usage: Holds temporary files and restic cache.
source:
emptyDir: {}
volumeMounts:
- name: kubestash-interim-volume
mountPath: /kubestash-interim
- name: kubestash-tmp-volume
mountPath: /kubestash-tmp
- name: LogicalBackupRestore
function: opensearch-restore
driver: Restic
executor: Job
singleton: true
parameters:
- name: args
usage: Arguments to be passed to the dump command.
required: false
default: "--match=^(?![.])(?!security-auditlog)(?!kubedb-system).+"
- name: interimDataDir
usage: Specifes the directory where data will be stored temporarily before dumping to the database.
required: false
default: /kubestash-interim/data
- name: enableCache
usage: Enable or disable caching. Disabling caching may impact backup performance.
required: false
default: "true"
- name: scratchDir
usage: Directory for holding temporary files and restic cache.
required: false
default: /kubestash-tmp
volumeTemplate:
- name: kubestash-interim-volume
usage: Holds backed up data temporarily before dumping to the database.
source:
emptyDir: {}
- name: kubestash-tmp-volume
usage: Holds temporary files and restic cache.
source:
emptyDir: {}
volumeMounts:
- name: kubestash-interim-volume
mountPath: /kubestash-interim
- name: kubestash-tmp-volume
mountPath: /kubestash-tmp
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ spec:
name: args
required: false
usage: Arguments to be passed to the dump command.
- default: /kubestash-interim/tmp
- default: /kubestash-interim/data
name: interimDataDir
required: false
usage: Specifes the directory where data will be stored temporarily before uploading to the backend.
usage: Specifes the directory where data will be stored temporarily before dumping to the database.
- default: "true"
name: enableCache
required: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ spec:
name: args
required: false
usage: Arguments to be passed to the dump command.
- default: /kubestash-interim/tmp
- default: /kubestash-interim/data
name: interimDataDir
required: false
usage: Specifes the directory where data will be stored temporarily before uploading to the backend.
usage: Specifes the directory where data will be stored temporarily before dumping to the database.
- default: "true"
name: enableCache
required: false
Expand Down

0 comments on commit 8e75c57

Please sign in to comment.