Skip to content

Commit

Permalink
update task names (#709)
Browse files Browse the repository at this point in the history
Signed-off-by: sayedppqq <[email protected]>
  • Loading branch information
sayedppqq authored Nov 4, 2024
1 parent 6d900f1 commit a322735
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
4 changes: 2 additions & 2 deletions docs/guides/mongodb/backup/kubestash/auto-backup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here, we define a template for `BackupConfiguration`. Notice the `backends` and `sessions` fields of `backupConfigurationTemplate` section. We have used some variables in form of `${VARIABLE_NAME}`. KubeStash will automatically resolve those variables from the database annotations information to make `BackupConfiguration` according to that databases need.
Expand Down Expand Up @@ -269,7 +269,7 @@ spec:
- addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
failurePolicy: Fail
name: frequent
repositories:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
params:
args: "--db=testdb"
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
containerRuntimeSettings:
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
jobTemplate:
spec:
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
jobTemplate:
spec:
securityContext:
Expand Down
14 changes: 7 additions & 7 deletions docs/guides/mongodb/backup/kubestash/customization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
params:
args: "--db=testdb"
```
Expand Down Expand Up @@ -108,7 +108,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
jobTemplate:
spec:
securityContext:
Expand Down Expand Up @@ -156,7 +156,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
containerRuntimeSettings:
resources:
requests:
Expand Down Expand Up @@ -196,7 +196,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
params:
args: "--db=testdb"
```
Expand Down Expand Up @@ -235,7 +235,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
```

>Please, do not specify multiple snapshots here. Each snapshot represents a complete backup of your database. Multiple snapshots are only usable during file/directory restore.
Expand Down Expand Up @@ -265,7 +265,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
jobTemplate:
spec:
securityContext:
Expand Down Expand Up @@ -298,7 +298,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
containerRuntimeSettings:
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here,
Expand Down Expand Up @@ -508,7 +508,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
```

Here,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here,
Expand Down Expand Up @@ -523,7 +523,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
```

Here,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here,
Expand Down Expand Up @@ -501,7 +501,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
```

Here,
Expand Down

0 comments on commit a322735

Please sign in to comment.