cloudnative-pg / cloudnative-pg/charts

hostNetwork missing in barman plugin deployment template

Open
#875 1 comment 0 reactions 0 assignees View on GitHub
bug chart( plugin-barman-cloud )
Dominant language
Go Template
Stars
621
Forks
265
Avg merge
7d 12h
Merged PRs (30d)
7

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.