Skip to content

Helm can't enable geneve protocol: line 132: mapping key "tunnel-protocol" already defined at line 131 #33456

@CompPhy

Description

@CompPhy

We are attempting to change our helm config to use Geneve instead of VXLAN, so what we can use DSR in our cluster. Unfortunately, native routing mode is not an option in our case.

When attempting to deploy the helm chart with tunnelProtocol: geneve we get the error:

line 132: mapping key "tunnel-protocol" already defined at line 131

I believe this is due to the fact that the line referenced below is creating the tunnel-protocol: vxlan line.

Then when it gets further down and tries to insert the geneve line, this is seen as a duplicate entry.

tunnel-protocol: {{ .Values.tunnelProtocol | quote }}

I think the "default" in helm just needs to be a little smarter here to allow for properly enabling Geneve.

We are specifically running helm chart version 1.15.6, but it looks like this issue exists in the main branch and probably also affects 1.16.x release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentCilium agent related.area/helmImpacts helm charts and user deployment experiencegood-first-issueGood starting point for new developers, which requires minimal understanding of Cilium.help-wantedPlease volunteer for this by adding yourself as an assignee!kind/bugThis is a bug in the Cilium logic.

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions