Error during OneUptime Helm chart install: incompatible types in _secrets.tpl #412

Open
opened 2026-04-05 16:19:37 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pjhun2 on 7/25/2025

Describe the bug
When trying to install OneUptime using Helm, a template rendering error occurs related to the common.secrets.passwords.manage helper. It appears to be due to a type mismatch in a conditional check using eq.

To Reproduce
Steps to reproduce the behavior:

Add Helm repo:
helm repo add oneuptime https://helm-chart.oneuptime.com
helm repo update

Run installation:
helm install my-oneuptime oneuptime/oneuptime --version 7.0.4762

See error:
Error: template: oneuptime/charts/postgresql/templates/secrets.yaml:23:16: executing "oneuptime/charts/postgresql/templates/secrets.yaml" at <include "common.secrets.passwords.manage" (dict "secret" (include "postgresql.v1.secretName" .) "key" (coalesce .Values.global.postgresql.auth.secretKeys.userPasswordKey .Values.auth.secretKeys.userPasswordKey) "providedValues" (list "global.postgresql.auth.password" "auth.password") "context" $)>: error calling include: template: oneuptime/charts/clickhouse/charts/common/templates/_secrets.tpl:124:16: executing "common.secrets.passwords.manage" at <eq .failOnNew false>: error calling eq: incompatible types for comparison
Expected behavior
The Helm chart should render templates properly and install OneUptime successfully.

Screenshots
N/A

Desktop (please complete the following information):

OS: macOS 12.7.5

Terminal: iTerm2

Helm Version: v3.14.0

Kubernetes Version: v1.31

Smartphone (please complete the following information):
N/A

Deployment Type
Self-hosted (deployed on personal Kubernetes cluster using Helm)

Additional context
The error appears to be related to a strict type comparison in the common.secrets.passwords.manage helper template. It seems .failOnNew is expected to be a boolean but may be undefined or a different type, causing the eq function to fail.

Please fix the type check or provide default values to ensure compatibility during installation.

*Originally created by @pjhun2 on 7/25/2025* Describe the bug When trying to install OneUptime using Helm, a template rendering error occurs related to the common.secrets.passwords.manage helper. It appears to be due to a type mismatch in a conditional check using eq. To Reproduce Steps to reproduce the behavior: Add Helm repo: helm repo add oneuptime https://helm-chart.oneuptime.com helm repo update Run installation: helm install my-oneuptime oneuptime/oneuptime --version 7.0.4762 See error: Error: template: oneuptime/charts/postgresql/templates/secrets.yaml:23:16: executing "oneuptime/charts/postgresql/templates/secrets.yaml" at <include "common.secrets.passwords.manage" (dict "secret" (include "postgresql.v1.secretName" .) "key" (coalesce .Values.global.postgresql.auth.secretKeys.userPasswordKey .Values.auth.secretKeys.userPasswordKey) "providedValues" (list "global.postgresql.auth.password" "auth.password") "context" $)>: error calling include: template: oneuptime/charts/clickhouse/charts/common/templates/_secrets.tpl:124:16: executing "common.secrets.passwords.manage" at <eq .failOnNew false>: error calling eq: incompatible types for comparison Expected behavior The Helm chart should render templates properly and install OneUptime successfully. Screenshots N/A Desktop (please complete the following information): OS: macOS 12.7.5 Terminal: iTerm2 Helm Version: v3.14.0 Kubernetes Version: v1.31 Smartphone (please complete the following information): N/A Deployment Type Self-hosted (deployed on personal Kubernetes cluster using Helm) Additional context The error appears to be related to a strict type comparison in the common.secrets.passwords.manage helper template. It seems .failOnNew is expected to be a boolean but may be undefined or a different type, causing the eq function to fail. Please fix the type check or provide default values to ensure compatibility during installation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#412