Skip to content

Commit

Permalink
Add backup.activeDeadlineSeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
jvpasinatto committed Dec 12, 2024
1 parent a948e77 commit cc552a3
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 4 deletions.
1 change: 1 addition & 0 deletions charts/pxc-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ The chart can be customized using the following configurable parameters:
| `backup.image.repository` | Backup Container image | `percona/percona-xtradb-cluster-operator` |
| `backup.image.tag` | Backup Container tag | `1.15.1-pxc8.0-backup-pxb8.0.35` |
| `backup.backoffLimit` | The number of retries to make a backup | `10` |
| `backup.activeDeadlineSeconds` | Maximum duration in seconds for a bacup job to run. The job will be terminated if it exceeds this time | `` |
| `backup.imagePullSecrets` | Backup Container pull secret | `[]` |
| `backup.imagePullPolicy` | The policy used to update images | `` |
| `backup.pitr.enabled` | Enable point in time recovery | `false` |
Expand Down
3 changes: 3 additions & 0 deletions charts/pxc-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,9 @@ spec:
{{- if $backup.backoffLimit }}
backoffLimit: {{ $backup.backoffLimit }}
{{- end }}
{{- if $backup.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ $backup.activeDeadlineSeconds }}
{{- end }}
{{- if $backup.serviceAccountName }}
serviceAccountName: {{ $backup.serviceAccountName }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/pxc-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ backup:
repository: percona/percona-xtradb-cluster-operator
tag: 1.15.1-pxc8.0-backup-pxb8.0.35
# backoffLimit: 6
# activeDeadlineSeconds: 3600
# serviceAccountName: percona-xtradb-cluster-operator
# imagePullPolicy: Always
imagePullSecrets: []
Expand Down
Loading

0 comments on commit cc552a3

Please sign in to comment.