Fixes a bug where in case if webhook.enabled is false, the volume and volumeMount in the pod spec is still rendered.
Checklist
For Helm Chart changes
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] PR contains the label area:chart
[x] PR contains the chart label, e.g. chart:provider-postgresql
[x] Variables are documented in the values.yaml using the format required by Helm-Docs.
[x] Chart Version bumped if immediate release after merging is planned
[x] I have run make chart-docs
[x] Link this PR to related code release or other issues.
Summary
webhook.enabled
is false, the volume and volumeMount in the pod spec is still rendered.Checklist
For Helm Chart changes
bug
,enhancement
,documentation
,change
,breaking
,dependency
as they show up in the changelogarea:chart
chart:provider-postgresql
make chart-docs