Skip to content

hostNetwork missing in barman plugin deployment template #875

@sylwekj97

Description

@sylwekj97

In plugin-barman-cloud chart the hostNetwork parameter from values has no reference in deployment template. As we use custom CNI in our kubernetes cluster we had to deploy cnpg-operator in hostNetwork for webhooks to work. Now we can't communicate operator with plugin and postgres clusters creation is failing. I believe there should be:

{{- if .Values.hostNetwork }}
hostNetwork: {{ .Values.hostNetwork }}
{{- end }}

in deployment pod template spec, same as in cloudnative-pg helm chart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions