cloudnative-pg / cloudnative-pg/charts
hostNetwork missing in barman plugin deployment template
Open
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
Assessment
This issue has not been assessed yet.