UNCLASSIFIED

Commit a2b32982 authored by runyontr's avatar runyontr
Browse files

Merge branch 'add-network-policy' into 'main'

Add allow comms port from inside cluster

See merge request !23
parents 80713ab2 bfcdc0f8
Pipeline #279290 passed with stages
in 2 minutes and 54 seconds
apiVersion: v2 apiVersion: v2
name: twistlock name: twistlock
version: 0.0.4-bb.1 version: 0.0.4-bb.2
appVersion: 21.04.412 appVersion: 21.04.412
{{- if .Values.networkPolicies.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: ingress-allow-cluster
namespace: "{{ .Release.Namespace }}"
spec:
ingress:
- from:
- namespaceSelector: {} # all namespaces for now
ports:
- port: 8084 # communications port
podSelector: {} # all pods
policyTypes:
- Ingress
{{- end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment