github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/charts/geth-non-root/templates/geth-networkpolicy.yaml (about) 1 {{- if .Values.networkPolicies.enabled }} 2 apiVersion: networking.k8s.io/v1 3 kind: NetworkPolicy 4 metadata: 5 name: {{ $.Release.Name }}-geth 6 spec: 7 podSelector: 8 matchLabels: 9 app: geth 10 policyTypes: 11 - Ingress 12 ingress: 13 - from: 14 # Allow http and websocket connections from the node pods. 15 - podSelector: 16 matchLabels: 17 app: {{ $.Release.Name }} 18 # Allow http and websocket connections from the runner pods. 19 - podSelector: 20 matchLabels: 21 app: runner 22 ports: 23 - protocol: TCP 24 port: 8544 25 - protocol: TCP 26 port: 8546 27 {{- end }}