Skip to content

[bitnami/owncloud] the name of the existingSecret is ignored in the deployment template #6719

Description

@cyrilcros

Which chart:
Owncloud v10.2.13

Describe the bug

The existingSecret is not respected for OWNCLOUD_SMTP_PASSWORD and OWNCLOUD_PASSWORD, the charts looks instead for the secret bitnami-owncloud.

name: {{ include "common.names.fullname" . }}

To Reproduce
Steps to reproduce the behavior:

  1. Use the existingSecret parameter and do not have a bitnami-owncloud secret in your namespace
  2. There is a CreateContainerConfigError

Expected behavior
The deployment template gets the password secrets from .Values.existingSecret when it exists.

To correct
The deployment.yaml should use around lines 130/140 a conditional: if existingSecret exists then grab values from it, otherwise use the bitnami-owncloud secret

Version of Helm and Kubernetes:

  • Output of kubectl version: 1.21.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions