Description
It would be nice to add to the helm-charts the option of disabling the network policy that they create by default.
Describe the solution you'd like
Add to all helm-charts an option to control the network-policy creation via a seteable value like:
Values.yaml:
[...]
global:
networkPolicy:
enabled: false
[...]
and add that to the networkPolicies created by the helm-charts like:
{{ if .Values.global.networkPolicy.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-access-to-intents-operator-webhook
namespace: {{ .Release.Namespace }}
[...]
It can be defaulted to ´true´, but it would be nice to have the ability to have them disabled for some scenarios .
Description
It would be nice to add to the helm-charts the option of disabling the network policy that they create by default.
Describe the solution you'd like
Add to all helm-charts an option to control the network-policy creation via a seteable value like:
and add that to the networkPolicies created by the helm-charts like:
It can be defaulted to ´true´, but it would be nice to have the ability to have them disabled for some scenarios .