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

duplicated entry in query-exporter/templates/deployment.yaml #11

Open
taronien opened this issue Apr 24, 2023 · 4 comments
Open

duplicated entry in query-exporter/templates/deployment.yaml #11

taronien opened this issue Apr 24, 2023 · 4 comments

Comments

@taronien
Copy link

Hello,
I'm installing query-exporter using Kustomize and I have an error :

$ kustomize build query-exporter/prod --enable-helm
Error: map[string]interface {}(nil): yaml: unmarshal errors:
  line 91: mapping key "securityContext" already defined at line 35

Looking at query-exporter/templates/deployment.yaml I can see that

      securityContext:
        {{- toYaml .Values.podSecurityContext | nindent 8 }}

is duplicated. When I use the chart without Kustomize, it's not a problem but with Kustomize, it blocks the deployment.

Can you please remove one of the duplicate ?
Thanks

@gaeljw
Copy link

gaeljw commented Apr 25, 2023

Just noticed there's an open PR for that: #8 any chance this could be merged and released in a near future?

When using Helm through Kustomize this is a blocker for using the chart.

@bentonjimmy
Copy link

@ingvarch @bcarranza are you able to merge this PR? #8

@ingvarch
Copy link
Contributor

Merged

@bentonjimmy
Copy link

@ingvarch looks like the chart release failed. Is that something you can fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants