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 Keys in cosigned template #163

Closed
david-freistrom opened this issue May 4, 2022 · 0 comments · Fixed by #175
Closed

Duplicated Keys in cosigned template #163

david-freistrom opened this issue May 4, 2022 · 0 comments · Fixed by #175
Labels
bug Something isn't working

Comments

@david-freistrom
Copy link

david-freistrom commented May 4, 2022

Description

You defined duplicated keys in deployment_policy_webhook.yaml for the cosigned helm chart which results in an error while using fluxcd HelmRelease.

If you just use Helm, helm will ignore duplicated keys but fluxcd yaml parser is sensitive and exit with

Helm install failed: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors: line 43: mapping key "serviceAccountName" already defined at line 31 line 113: mapping key "terminationGracePeriodSeconds" already defined at line 32

fluxcd/flux2#1522

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
1 participant