values.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. networkPolicy:
  2. http:
  3. enabled: true
  4. explicitNamespacesSelector:
  5. # Accept from namespaces with all those different rules (from whitelisted Pods)
  6. matchLabels:
  7. role: frontend-http
  8. matchExpressions:
  9. - {key: role, operator: In, values: [frontend-http]}
  10. additionalRules:
  11. - podSelector:
  12. matchLabels:
  13. role: frontend-http
  14. - podSelector:
  15. matchExpressions:
  16. - key: role
  17. operator: In
  18. values:
  19. - frontend-http
  20. transport:
  21. enabled: true
  22. allowExternal: true
  23. explicitNamespacesSelector:
  24. matchLabels:
  25. role: frontend-transport
  26. matchExpressions:
  27. - {key: role, operator: In, values: [frontend-transport]}
  28. additionalRules:
  29. - podSelector:
  30. matchLabels:
  31. role: frontend-transport
  32. - podSelector:
  33. matchExpressions:
  34. - key: role
  35. operator: In
  36. values:
  37. - frontend-transport