Skip to content

Inconsistent behavior of singleCA.puppetdb.overrideHostname in compilers sts template #242

@Wiston999

Description

@Wiston999

Describe the Bug

When deploying puppet compilers using singleCA.enabled: true as an statefulset, singleCA.puppetdb.overrideHostname is required to be set in order to get a proper PUPPETDB_SERVER_URLS environment variable value, otherwise an invalid value is rendered (PUPPETDB_SERVER_URLS: https://:8081).
This behavior is different from masters deployment and compilers deployed as a deployment, where the default helm function is used (https://{{ default ( include "puppetdb.fullname" . ) .Values.singleCA.puppetdb.overrideHostname }}:8081).

Expected Behavior

The same way of rendering PUPPETDB_SERVER_URLS environment variable value should be used everywhere.

Environment

  • Chart version: 9.5.2

Additional Context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions