feat(NetworkPolicy): configure from values.yaml

!4
This commit is contained in:
2023-09-29 19:09:50 +09:30
parent 03affbee80
commit 5c62055d2f
2 changed files with 38 additions and 0 deletions

View File

@ -357,6 +357,23 @@ nfc_monitoring:
label_value: "1"
network_policy:
enabled: true
# Network Policies to apply. These policies are automagically build using the values below.
#
# Do:
# - Define 'Ingress'
# - Define 'Egress'
# - Ensure that the name matches the item name from values.yaml. i.e. nfc_monitoring.{item_name}
# for prometheus the item name is 'prometheus'. This value is used to select items pertaining to
# that item from values.yaml. for example the labels and namespace.
# Dont:
# - Define 'podSelector' as this is alreaady included using the selector labels
policies:
loki_instance:
image:
name: grafana/loki