Open Azuki-bar opened 1 year ago
@renchap please look at this problem, helm chart is broken now, fix is trivial and couple of PRs are already here. Looks like an easy hanging fruit.
Short summary for context of this problem: while helm ignores duplicate annotations kustomize (that can deploy helm charts too) doesn't https://github.com/kubernetes-sigs/kustomize/issues/3480 because of limitation in go-yaml https://github.com/go-yaml/yaml/issues/751 And kustomize is used by gitops tool fluxcd https://github.com/fluxcd/flux2/issues/1522 https://github.com/fluxcd/helm-controller/issues/286 https://github.com/fluxcd/helm-controller/issues/283
The easiest fis is to remove duplicate keys from rendered resources
I tried to deploy using helm and could not, so I identified the cause. The cause was a duplicate annotation key.
deployment-sidekiq.yaml
file has duplicate annotation keychecksum/config-secrets
. k8s requires a unique annotation key, so installing mastodon chart failed.I will show you how to reproduce it in the next section. I tried with 3934da1d2185b5526798e7dd946a4ded5a0b2c4e.
reproduct
I think #38 may be a hint.