Skip to content

Bug Report — Wrong MONGO_URL and duplicate env vars on default install #47

@dmxkov

Description

@dmxkov

Chart version: wekan-7.97.0

On a fresh installation using default values, the generated Wekan Deployment includes an invalid MongoDB host in MONGO_URL:

- name: MONGO_URL
  value: mongodb://wekan-mongodb-0.wekan-mongodb:27017/wekan

This hostname (wekan-mongodb-0.wekan-mongodb) does not resolve, because the MongoDB subchart (e.g., groundhog2k/mongodb) creates:

wekan-mongodb            ClusterIP
wekan-mongodb-internal   Headless

so Wekan crashes with MongoNetworkError: getaddrinfo ENOTFOUND wekan-mongodb-0.wekan-mongodb.

Additionally, if env: is not explicitly set to an empty list, the chart renders two MONGO_URL entries (one from the helper and one from defaults), leading to a Helm validation error or nondeterministic environment ordering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions