Skip to content

Double template in postgres backup #869

@etoshutka

Description

@etoshutka

https://github.com/cozystack/cozystack/blob/main/packages/apps/postgres/templates/backup-cronjob.yaml#L16

Please check this.

   Message:               Helm install failed for release tenant-root/postgres with chart postgres@0.10.0: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors:
  line 20: mapping key "template" already defined at line 17

I'm trying to create a database(PG), but there's a problem with backups.
I tried using the cozystack dashboard and in go code but i get the same error.

Without backup all works good

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions