q-shift / qshift-templates

Backstage templates for the Qshift demo
Apache License 2.0
1 stars 3 forks source link

template.yaml, YAMLParseError: Map keys must be unique #44

Closed cmoulliard closed 3 months ago

cmoulliard commented 3 months ago

Issue

When the template is deployed on RHDH iusing helm chart version 1.1, we got this error

2024-03-26T15:14:37.960Z catalog warn YAML error at url:https://github.com/q-shift/qshift-templates/tree/main/qshift/templates/quarkus-application/template.yaml, YAMLParseError: Map keys must be unique at line 44, column 11:
- User
default: user:guest
^

as default: user:guest is defined twice

        owner:
          title: Owner
          type: string
          default: user:guest <== HERE
          ui:field: EntityPicker
          ui:options:
            catalogFilter:
              kind:
                - Group
                - User
          default: user:guest <== AND HERE