diff --git a/common/templates/_networkpolicy.tpl b/common/templates/_networkpolicy.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..76de7eb206d29311f0b774aee4a01312534f054c
--- /dev/null
+++ b/common/templates/_networkpolicy.tpl
@@ -0,0 +1,28 @@
+{{- define "common.networkpolicy" -}}
+apiVersion: networking.k8s.io/v1
+kind: NetworkPolicy
+metadata:
+  name: {{ .Values.name | default "network-policy" | quote }}
+  {{- with .Values.annotations }}
+  annotations:
+    {{- toYaml . | nindent 4 }}
+  {{- end }}
+  labels:
+    {{- include "common.variables.labels" . | nindent 4 }}
+spec:
+  {{- with .Values.podSelector }}
+  podSelector:
+    {{- toYaml . | nindent 4 }}
+  {{- end }}
+  policyTypes:
+    {{- .Values.policyTypes | default (list) | toYaml | nindent 4 }}
+  {{- with .Values.ingress }}
+  ingress:
+    {{- toYaml . | nindent 4 }}
+  {{- end }}
+  {{- with .Values.egress }}
+  egress:
+    {{- toYaml . | nindent 4 }}
+  {{- end }}
+---
+{{- end }}