Skip to content

ConfigMap customization in Helm chart #1

@wdavidw

Description

@wdavidw

I am integrating GLAuth with ArgoCD. I am facing the problem where I don't have access to customize the configuration. For example to define my own baseDN value.

The configuration file is read and injected into the glauth-config ConfigMap with the .Files.Get template instruction.

Considering that the GLAuth is a subchart of my ArgoCD chart, the {{ .Files.Get .Values.backend.file }} has no access to the files from the parent chart.

There are two possible solutions to this problem:

  • Provide an alternative to file injection with .Values.backend.file by injecting a string, eg .Values.backend.content in cm.yaml
  • Provide the ability to read an alternative ConfigMap in deployment.yaml#L59

Would you be interested that I investigate further and propose a PR?

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