Skip to content

Commit 4a67b81

Browse files
authored
[Backport release-1.2] fix(mariadb): remove duplicate template key in backup CronJob (#2652)
## Summary Minimal backport from #2279 to `release-1.2` — only the duplicate-`template:` key removal in `packages/apps/mariadb/templates/backup-cronjob.yaml`, without the breaking service-naming / forced-replication changes from #2279 (those are not appropriate for a patch release). Fixes the `yaml: unmarshal errors: line 17: mapping key "template" already defined at line 14` error when deploying MariaDB with `backup.enabled: true` on v1.2.x. Related: #2293 ## Test plan - [ ] `helm template` of the mariadb chart with `backup.enabled: true` renders without YAML duplicate-key errors - [ ] CronJob deploys successfully on a v1.2.x cluster
2 parents de4959a + af91ad5 commit 4a67b81

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎packages/apps/mariadb/templates/backup-cronjob.yaml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ spec:
1313
jobTemplate:
1414
spec:
1515
backoffLimit: 2
16-
template:
17-
spec:
18-
restartPolicy: OnFailure
1916
template:
2017
metadata:
2118
annotations:

0 commit comments

Comments
 (0)