diff --git a/barbican/values.yaml b/barbican/values.yaml index f98b245bed..4b7c67d920 100644 --- a/barbican/values.yaml +++ b/barbican/values.yaml @@ -197,21 +197,9 @@ network: network_policy: barbican: ingress: - - from: - - podSelector: - matchLabels: - application: barbican - - podSelector: - matchLabels: - application: ingress - - podSelector: - matchLabels: - application: horizon - ports: - - protocol: TCP - port: 80 - - protocol: TCP - port: 9311 + - {} + egress: + - {} bootstrap: enabled: false diff --git a/barbican/values_overrides/netpol.yaml b/barbican/values_overrides/netpol.yaml new file mode 100644 index 0000000000..6f887552a6 --- /dev/null +++ b/barbican/values_overrides/netpol.yaml @@ -0,0 +1,29 @@ +manifests: + network_policy: true + +network_policy: + barbican: + ingress: + - from: + - podSelector: + matchLabels: + application: barbican + - podSelector: + matchLabels: + application: ingress + - podSelector: + matchLabels: + application: horizon + - podSelector: + matchLabels: + application: heat + - podSelector: + matchLabels: + application: magnum + ports: + - protocol: TCP + port: 80 + - protocol: TCP + port: 9311 + egress: + - {}