piraeusdatastore / helm-charts

Collection of useful charts for Piraeus and similar projects
Apache License 2.0
31 stars 18 forks source link

Unable to set webhook pod's hostNetwork for Amazon EKS #42

Closed druchoo closed 9 months ago

druchoo commented 9 months ago

When using a custom CNI (such as Weave or Calico) on Amazon EKS, the webhook cannot be reached.

Internal error occurred: failed calling webhook "snapshot-validation-webhook.snapshot.storage.k8s.io": failed to call webhook: Post "https://snapshot-validation-webhook.kube-system.svc:443/volumesnapshot?timeout=2s": Address is not allowed

Setting hostNetwork: true, dnsPolicy: ClusterFirstWithHostNet for the webhook pod addresses this issue. However, the Chart doesn't allow setting those parameters.

PR #41 submitted for review to update Chart.