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.
In plugin-barman-cloud chart the
hostNetworkparameter 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:in deployment pod template spec, same as in cloudnative-pg helm chart.