Skip to content

Commit

Permalink
Add exclusion for health index in Elasticsearch (#530)
Browse files Browse the repository at this point in the history
Signed-off-by: raihankhan <raihan@appscode.com>
  • Loading branch information
raihankhan authored Aug 30, 2022
1 parent 393bd86 commit 2763ae7
Show file tree
Hide file tree
Showing 94 changed files with 392 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ spec:
name: elasticsearch-backup-7.14.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.14.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
version: 1.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ spec:
name: elasticsearch-backup-7.14.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.14.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
version: 1.2.2
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ spec:
name: elasticsearch-backup-7.14.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.14.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
version: 1.3.2
2 changes: 1 addition & 1 deletion catalog/raw/elasticsearch/elasticsearch-5.6.16-kubedb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
name: elasticsearch-backup-5.6.4
params:
- name: args
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)$
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)(?!kubedb-system)$
restoreTask:
name: elasticsearch-restore-5.6.4
version: 5.6.16
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ spec:
name: elasticsearch-backup-6.8.0
params:
- name: args
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)$
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)(?!kubedb-system)$
restoreTask:
name: elasticsearch-restore-6.8.0
params:
- name: args
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)(?!kubedb-system)$
version: 6.8.1
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-6.8.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-6.8.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
upgradeConstraints:
Expand Down
10 changes: 8 additions & 2 deletions catalog/raw/elasticsearch/elasticsearch-7.0.1-searchguard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ spec:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!searchguard).+
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
params:
- name: args
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.5.0
Expand Down Expand Up @@ -51,9 +54,12 @@ spec:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)$
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)(?!kubedb-system)$
restoreTask:
name: elasticsearch-restore-7.2.0
params:
- name: args
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)(?!kubedb-system)$
upgradeConstraints:
allowlist:
- < 7.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.6.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
upgradeConstraints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ spec:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!searchguard).+
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
params:
- name: args
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.6.0
Expand Down Expand Up @@ -51,7 +54,7 @@ spec:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)$
value: --match=^(?!searchguard)([a-zA-Z0-9_-]+)(?!kubedb-system)$
restoreTask:
name: elasticsearch-restore-7.2.0
upgradeConstraints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
upgradeConstraints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
upgradeConstraints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ spec:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!searchguard).+
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.15.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.15.0
Expand Down
6 changes: 6 additions & 0 deletions catalog/raw/elasticsearch/elasticsearch-7.12.0-kubedb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.15.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.15.0
Expand Down
6 changes: 6 additions & 0 deletions catalog/raw/elasticsearch/elasticsearch-7.13.2-kubedb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.15.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.18.0
Expand Down
6 changes: 6 additions & 0 deletions catalog/raw/elasticsearch/elasticsearch-7.14.0-kubedb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.18.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ spec:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!searchguard).+
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!searchguard)(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.18.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.14.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.14.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.18.0
Expand Down
6 changes: 6 additions & 0 deletions catalog/raw/elasticsearch/elasticsearch-7.16.2-kubedb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.14.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.14.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.18.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.14.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.14.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
version: 7.17.3
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.6.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
name: elasticsearch-backup-7.2.0
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.2.0
upgradeConstraints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ spec:
addon:
backupTask:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
params:
- name: args
value: --match=^(?![.])(?!kubedb-system).+
upgradeConstraints:
allowlist:
- < 7.6.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
name: elasticsearch-backup-7.3.2
params:
- name: args
value: --match=^(?![.])(?!security-auditlog).+
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+
restoreTask:
name: elasticsearch-restore-7.3.2
upgradeConstraints:
Expand Down
Loading

0 comments on commit 2763ae7

Please sign in to comment.