Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] existingSecret keys inconsistency #33

Closed
masgustavos opened this issue Jun 23, 2022 · 1 comment · Fixed by #34
Closed

[bug] existingSecret keys inconsistency #33

masgustavos opened this issue Jun 23, 2022 · 1 comment · Fixed by #34
Labels
bug Something isn't working

Comments

@masgustavos
Copy link

Describe the bug

The README file states that the existingSecret must contain the keys described "below", which are in camel case. However, the chart extract secret values with snake case keys.

Version of Helm and Kubernetes:

Helm Version:

$ helm version
version.BuildInfo{Version:"v3.9.0", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.18.2"}

Kubernetes Version:

$ kubectl version
Client Version: v1.24.0
Kustomize Version: v4.5.4
Server Version: v1.21.12-eks-a64ea69

Which version of the chart: 7.4.2

What happened: Got an error with secret value fetching, since my keys were in camel case and the chart expects snake case

What you expected to happen: I don't think the choice of case matters, as long as it is consistent. If camel case is used under the secrets property, camel case should be expected in the existingSecret as well.

How to reproduce it (as minimally and precisely as possible): Deploy the chart with a existingSecret that has the same keys under the secret property.

Anything else we need to know: Not really, thanks for the chart and making our lives easier. This is nitpicking, and from the container logs the solution was obvious!

@FZambia
Copy link
Member

FZambia commented Jun 25, 2022

@masgustavos hello! Thanks for reporting, could you take a look at #34 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants