-
Notifications
You must be signed in to change notification settings - Fork 12
Add support to disable networkPolicy creation on the helm-chart #302
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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 .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request